From cde2ce240fa8445b7098007c1e48d2d11044d60d Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Sat, 14 Dec 2024 14:22:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7=E8=AE=B0=E5=BD=95=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/model/user_upgrade_level.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model/user_upgrade_level.go b/src/model/user_upgrade_level.go index 54f8504..7c0b9cd 100644 --- a/src/model/user_upgrade_level.go +++ b/src/model/user_upgrade_level.go @@ -5,7 +5,7 @@ import ( ) type UserUpgradeLevel struct { - Id int `json:"id" xorm:"not null pk default 0 INT(11)"` + Id int `json:"id" xorm:"not null pk autoincr INT(11)"` Uid int `json:"uid" xorm:"default 0 INT(11)"` Level int `json:"level" xorm:"default 0 INT(11)"` CreateTime time.Time `json:"create_time" xorm:"DATETIME"`