20 lines
697 B
PL/PgSQL
20 lines
697 B
PL/PgSQL
begin;
|
|
|
|
update t_user set level=1 where level>1;
|
|
update t_user set exp=0 where exp>0;
|
|
|
|
CREATE TABLE `t_user_pass` (
|
|
`idx` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '自增id',
|
|
`account_id` varchar(60) NOT NULL COMMENT '账户id',
|
|
`season_id` int(11) NOT NULL DEFAULT '0' COMMENT '通行证赛季',
|
|
`data` mediumblob COMMENT 'data',
|
|
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
|
|
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
|
|
PRIMARY KEY (`idx`),
|
|
UNIQUE KEY `account_season_id` (`account_id`, `season_id`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
|
|
|
insert into version (version) values(2023061401);
|
|
|
|
commit;
|