项目域名sql
This commit is contained in:
parent
e7ab43038a
commit
9dbdbc0a95
12
sql/20210315-sheng-project-server.sql
Normal file
12
sql/20210315-sheng-project-server.sql
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
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='项目服务器域名表';
|
Loading…
Reference in New Issue
Block a user