diff --git a/src/model/playlet_total.go b/src/model/playlet_total.go index ff12c66..b0e8e1a 100644 --- a/src/model/playlet_total.go +++ b/src/model/playlet_total.go @@ -5,9 +5,10 @@ import ( ) type PlayletTotal struct { - Id int `json:"id" xorm:"not null pk autoincr INT(11)"` - Uid int `json:"uid" xorm:"INT(11)"` - Date int `json:"date" xorm:"default 0 INT(11)"` - Time time.Time `json:"time" xorm:"DATETIME"` - Total int `json:"total" xorm:"default 0 INT(11)"` + Id int `json:"id" xorm:"not null pk autoincr INT(11)"` + Uid int `json:"uid" xorm:"INT(11)"` + Date int `json:"date" xorm:"default 0 INT(11)"` + Time time.Time `json:"time" xorm:"DATETIME"` + Total int `json:"total" xorm:"default 0 INT(11)"` + ShortId string `json:"short_id" xorm:"default '0' VARCHAR(255)"` }