12 lines
604 B
MySQL
12 lines
604 B
MySQL
|
DROP TABLE IF EXISTS `project_server`;
|
||
|
CREATE TABLE `project_server` (
|
||
|
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
||
|
`project` varchar(32) NOT NULL COMMENT '项目编码',
|
||
|
`domain_name` varchar(255) NOT NULL COMMENT '域名',
|
||
|
`create_user_id` bigint(20) NOT NULL,
|
||
|
`create_time` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP,
|
||
|
`update_user_id` bigint(20) DEFAULT NULL,
|
||
|
`update_time` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
|
||
|
PRIMARY KEY (`id`),
|
||
|
UNIQUE KEY `project_server_project_1` (`project`)
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='项目服务器域名表';
|