From 3f1d190a6c313feec6db74c408d15a8add89a3d8 Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Sun, 5 Jan 2025 02:25:59 +0800 Subject: [PATCH] update --- src/model/punishment_record.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/model/punishment_record.go b/src/model/punishment_record.go index 5e236c5..b857ec1 100644 --- a/src/model/punishment_record.go +++ b/src/model/punishment_record.go @@ -4,5 +4,6 @@ type PunishmentRecord struct { Id int64 `json:"id" xorm:"pk autoincr BIGINT(20)"` Uid int64 `json:"uid" xorm:"not null BIGINT(20)"` Amount string `json:"amount" xorm:"not null default 0.00000000 comment('能量值') DECIMAL(28,8)"` - Complete int `json:"complete" xorm:"not null comment('是否完成') INT(1)"` + Complete int `json:"complete" xorm:"not null default 0 comment('是否完成)') INT(1)"` + TagId int `json:"tag_id" xorm:"not null default 0 comment('标签id') INT(11)"` }