1
This commit is contained in:
parent
d4ab444303
commit
5906db750d
@ -71,6 +71,7 @@ CREATE TABLE `t_user` (
|
||||
`dice` int(11) NOT NULL DEFAULT '0' COMMENT '骰子数',
|
||||
`spec_dice` int(11) NOT NULL DEFAULT '0' COMMENT '特殊骰子数(道具)',
|
||||
`last_present_dice_time` int(11) NOT NULL DEFAULT '0' COMMENT '最后赠送骰子时间',
|
||||
`curr_grid` int(11) NOT NULL DEFAULT '0' COMMENT '当前格子',
|
||||
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
|
||||
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
|
||||
UNIQUE KEY `uk_account_id` (`account_id`),
|
||||
|
@ -26,6 +26,7 @@ type User struct {
|
||||
Dice int32 `gorm:"column:dice"`
|
||||
SpecDice int32 `gorm:"column:spec_dice"`
|
||||
LastPresentDiceTime int32 `gorm:"column:last_present_dice_time"`
|
||||
CurrGrid int32 `gorm:"column:curr_grid"`
|
||||
CreateTime int32 `gorm:"column:createtime;<-:create"`
|
||||
ModifyTime int32 `gorm:"column:modifytime"`
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user