18 lines
760 B
PL/PgSQL
18 lines
760 B
PL/PgSQL
begin;
|
|
|
|
CREATE TABLE `t_server_task_battle_count` (
|
|
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
|
|
`account_id` varchar(60) CHARACTER SET utf8 NOT NULL COMMENT 'account_id',
|
|
`period` int(11) NOT NULL DEFAULT '0' COMMENT '周期',
|
|
`loot_index` int(11) NOT NULL DEFAULT '0' COMMENT '掉落包索引',
|
|
`state` int(11) NOT NULL DEFAULT '0' COMMENT '1:总计数 2:循环计数',
|
|
`val` bigint(20) NOT NULL DEFAULT '0' COMMENT 'val',
|
|
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
|
|
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
|
|
PRIMARY KEY (`idx`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=10000 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
|
|
|
insert into version (version) values(2024052101);
|
|
|
|
commit;
|