begin; CREATE TABLE `t_hash_rate_task` ( `idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id', `account_id` varchar(60) NOT NULL DEFAULT '' COMMENT '账号id(channel + "_" + gameid + "_" + openid)', `task_id` int(11) NOT NULL COMMENT '配置表HashRateTask', `season` int(11) NOT NULL DEFAULT '0' COMMENT 'taskId 为10003可用', `record_total` int(64) NOT NULL DEFAULT '0' COMMENT '记录总数据', `claim_day` int(64) NOT NULL DEFAULT '0' COMMENT '当天领取数据', `claim_total` int(64) NOT NULL DEFAULT '0' COMMENT '领取总数据', `createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', `modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间', PRIMARY KEY (`idx`), UNIQUE KEY `account_task_id` (`account_id`, `task_id`) ) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; insert into version (version) values(2023092001); commit;