sql
This commit is contained in:
parent
8d275849a1
commit
d71206aa4b
@ -4,3 +4,18 @@ MODIFY COLUMN `role` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NUL
|
||||
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`;
|
||||
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user