fix: use LONGBLOB

This commit is contained in:
Jason Song
2022-12-12 13:06:58 +08:00
parent 7a34d37aad
commit 86d6598a54
3 changed files with 16 additions and 2 deletions

View File

@ -50,7 +50,7 @@ type ActionTask struct {
LogInStorage bool // read log from database or from storage
LogLength int64 // lines count
LogSize int64 // blob size
LogIndexes *LogIndexes `xorm:"BLOB"` // line number to offset
LogIndexes *LogIndexes `xorm:"LONGBLOB"` // line number to offset
LogExpired bool // files that are too old will be deleted
Created timeutil.TimeStamp `xorm:"created"`