diff --git a/service/cardholder/dto-record.go b/service/cardholder/dto-record.go index 0562653..d94fa9f 100644 --- a/service/cardholder/dto-record.go +++ b/service/cardholder/dto-record.go @@ -11,8 +11,8 @@ import ( type RecordBase struct { Id int64 `gorm:"primaryKey;comment:日志ID"` Uid int64 `gorm:"comment:玩家唯一ID"` - SequenceId int `gorm:"type:varchar(255);comment:用户序列组ID"` - Cohort int `gorm:"type:varchar(255);comment:用户分组ID"` + SequenceId int `gorm:"comment:用户序列组ID"` + Cohort int `gorm:"comment:用户分组ID"` ActivityId int64 `gorm:"comment:当前活动ID"` Round int `gorm:"comment:当前轮次"` CreateTime int64 `gorm:"comment:创建时间戳"` -- libgit2 0.21.0