fix: use updated to check abandoned jobs

This commit is contained in:
Jason Song
2022-11-07 15:09:13 +08:00
parent 0b62e1da74
commit cab3fc072a
4 changed files with 12 additions and 12 deletions

View File

@ -81,7 +81,7 @@ func addBotTables(x *xorm.Engine) error {
Started timeutil.TimeStamp
Stopped timeutil.TimeStamp
Created timeutil.TimeStamp `xorm:"created"`
Updated timeutil.TimeStamp `xorm:"updated"`
Updated timeutil.TimeStamp `xorm:"updated index"`
}
type Repository struct {