From e962141141ea3a0be7b4a6a0eb373e776e71ee38 Mon Sep 17 00:00:00 2001 From: chenweijian <820961417@qq.com> Date: Thu, 13 Apr 2023 14:51:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8B=8B=E7=AB=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mysql/group.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql/group.sql b/mysql/group.sql index 571ab0c..5555cb0 100644 --- a/mysql/group.sql +++ b/mysql/group.sql @@ -3,4 +3,4 @@ CREATE INDEX expire_at USING BTREE ON hilo.group_medal (expire_at); ALTER TABLE hilo.res_medal ADD attr_type TINYINT UNSIGNED DEFAULT 1 NOT NULL COMMENT '勋章类型1.个人2.房间'; update res_medal set attr_type = 2 where name like '%房间%'; - +update res_medal set attr_type = 2 where id in (select res_medal_id from group_medal); \ No newline at end of file -- 2.22.0