Merge pull request #28 from maximsnezhkov/fix-data-too-long-error

Modify sql table creation to avoid 'data too long' error
This commit is contained in:
Roman Vynar 2018-12-18 10:30:37 +02:00 committed by GitHub
commit 359305046c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ const (
schemaSQLite = `
CREATE TABLE events (
id INTEGER PRIMARY KEY AUTOINCREMENT,
action CHAR(4) NULL,
action CHAR(5) NULL,
repository VARCHAR(100) NULL,
tag VARCHAR(100) NULL,
ip VARCHAR(15) NULL,