This commit is contained in:
hujiabin 2024-01-31 11:30:23 +08:00
parent c59f02d7c7
commit 64e579fa1d

View File

@ -1010,7 +1010,7 @@ DROP TABLE IF EXISTS `t_user_use_emoji`;
CREATE TABLE `t_user_use_emoji` ( CREATE TABLE `t_user_use_emoji` (
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id', `idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
`account_id` varchar(60) NOT NULL DEFAULT '' COMMENT '账号id', `account_id` varchar(60) NOT NULL DEFAULT '' COMMENT '账号id',
`value` varchar(255) NOT NULL DEFAULT '' COMMENT '选中表情itemID', `used` mediumblob COMMENT '使用的表情',
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', `createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间', `modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
PRIMARY KEY (`idx`) PRIMARY KEY (`idx`)
@ -1071,12 +1071,15 @@ CREATE TABLE `t_rank_battle` (
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id', `idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
`account_id` varchar(60) NOT NULL DEFAULT '' COMMENT '账号id', `account_id` varchar(60) NOT NULL DEFAULT '' COMMENT '账号id',
`channel` int(11) NOT NULL DEFAULT '0' COMMENT 'channel', `channel` int(11) NOT NULL DEFAULT '0' COMMENT 'channel',
`mode` int(11) NOT NULL DEFAULT '0' COMMENT '1:4v4 2pvp',
`class` int(11) NOT NULL DEFAULT '0' COMMENT '1:总榜 2日榜 3周榜',
`type` int(11) NOT NULL DEFAULT '0' COMMENT 'type 1:场次榜 2:吃鸡榜 3:mvp榜 4:前三名榜 5:击杀榜', `type` int(11) NOT NULL DEFAULT '0' COMMENT 'type 1:场次榜 2:吃鸡榜 3:mvp榜 4:前三名榜 5:击杀榜',
`value` bigint NOT NULL DEFAULT '0' COMMENT 'value', `value` bigint NOT NULL DEFAULT '0' COMMENT 'value',
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', `createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间', `modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
`writetime` int(11) NOT NULL DEFAULT '0' COMMENT '记录时间',
PRIMARY KEY (`idx`), PRIMARY KEY (`idx`),
UNIQUE KEY `account_id_type` (`account_id`, `type`), UNIQUE KEY `account_mode_class_type_writetime` (`account_id`,`mode`,`class`,`type`,`writetime`),
KEY `channel` (`channel`), KEY `channel` (`channel`),
KEY `type` (`type`), KEY `type` (`type`),
KEY `value` (`value`) KEY `value` (`value`)
@ -1748,7 +1751,7 @@ CREATE TABLE `t_hash_rate_battle_data` (
-- --
-- Table structure for table `t_hash_rate_battle_data` -- Table structure for table `t_global_data`
-- --
DROP TABLE IF EXISTS `t_global_data`; DROP TABLE IF EXISTS `t_global_data`;