diff --git a/models/migrations/v172.go b/models/migrations/v172.go index 51f83bcc912..125522a4b8e 100644 --- a/models/migrations/v172.go +++ b/models/migrations/v172.go @@ -12,9 +12,9 @@ import ( func addSessionTable(x *xorm.Engine) error { type Session struct { - Key string `xorm:"pk CHAR(16)"` - Data []byte `xorm:"BLOB"` - CreatedUnix timeutil.TimeStamp + Key string `xorm:"pk CHAR(16)"` + Data []byte `xorm:"BLOB"` + Expiry timeutil.TimeStamp } return x.Sync2(new(Session)) }