Modify sql table creation to avoid 'data too long' error

This commit is contained in:
Maxim Snezhkov 2018-12-18 08:51:45 +07:00
parent 35aba0dfc3
commit 2cb2802973

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,