2021-06-23 18:25:43 +08:00
|
|
|
ALTER TABLE `user_simulation_stats`
|
|
|
|
DROP COLUMN `map_prd_id`,
|
|
|
|
MODIFY COLUMN `role` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户角色' AFTER `prd_type`,
|
|
|
|
MODIFY COLUMN `end_time` datetime NOT NULL DEFAULT now() ON UPDATE CURRENT_TIMESTAMP COMMENT '结束时间' AFTER `role`,
|
|
|
|
MODIFY COLUMN `duration` int(11) NOT NULL COMMENT '有效时长' AFTER `end_time`,
|
|
|
|
ADD COLUMN `start_time` datetime NOT NULL DEFAULT now() ON UPDATE CURRENT_TIMESTAMP COMMENT '开始时间' AFTER `role`;
|
2021-06-23 18:27:27 +08:00
|
|
|
|
|
|
|
SET FOREIGN_KEY_CHECKS=0;
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
-- Table structure for sys_third_account_config
|
|
|
|
-- ----------------------------
|
|
|
|
DROP TABLE IF EXISTS `sys_third_account_config`;
|
|
|
|
CREATE TABLE `sys_third_account_config` (
|
|
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
|
|
|
`account` varchar(32) NOT NULL COMMENT '第三方账户账号',
|
|
|
|
`interface_config` text COMMENT '接口信息配置',
|
|
|
|
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '创建时间',
|
|
|
|
`update_time` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
|
|
|
PRIMARY KEY (`id`)
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
|