begin;

alter table t_rank_battle add column `mode` int(11) NOT NULL DEFAULT '0' COMMENT '1:4v4 2：pvp ';
alter table t_rank_battle add column `class` int(11) NOT NULL DEFAULT '0' COMMENT '1:总榜 2：日榜 3：周榜';
alter table t_rank_battle add column `writetime` int(11) NOT NULL DEFAULT '0' COMMENT '记录时间';
alter table t_rank_battle add UNIQUE KEY `account_mode_class_type_writetime` (`account_id`,`mode`,`class`,`type`,`writetime`);
alter table t_rank_battle drop index account_id_type;


alter table t_user_use_emoji add column `used` mediumblob COMMENT '使用的表情';
alter table t_user_use_emoji drop column value;

insert into version (version) values(2024012901);

commit;
