Commit e9621411 authored by chenweijian's avatar chenweijian

勋章

parent 63191657
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment