1
This commit is contained in:
parent
c68a672e57
commit
b587ff9842
@ -8,8 +8,8 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type Buff struct {
|
type Buff struct {
|
||||||
Idx int64 `gorm:"column:idx;AUTO_INCREMENT"`
|
Idx int64 `gorm:"column:idx;AUTO_INCREMENT;primaryKey"`
|
||||||
AccountId string `gorm:"column:account_id;primaryKey"`
|
AccountId string `gorm:"column:account_id"`
|
||||||
BuffId int32 `gorm:"column:buff_id"`
|
BuffId int32 `gorm:"column:buff_id"`
|
||||||
ExpiresTime int32 `gorm:"column:expires_time"`
|
ExpiresTime int32 `gorm:"column:expires_time"`
|
||||||
CreateTime int32 `gorm:"column:createtime;<-:create"`
|
CreateTime int32 `gorm:"column:createtime;<-:create"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user