This commit is contained in:
aozhiwei 2024-11-22 16:44:53 +08:00
parent c68a672e57
commit b587ff9842

View File

@ -8,8 +8,8 @@ import (
)
type Buff struct {
Idx int64 `gorm:"column:idx;AUTO_INCREMENT"`
AccountId string `gorm:"column:account_id;primaryKey"`
Idx int64 `gorm:"column:idx;AUTO_INCREMENT;primaryKey"`
AccountId string `gorm:"column:account_id"`
BuffId int32 `gorm:"column:buff_id"`
ExpiresTime int32 `gorm:"column:expires_time"`
CreateTime int32 `gorm:"column:createtime;<-:create"`