diff --git a/sql/20210315-sheng-project-server.sql b/sql/20210315-sheng-project-server.sql new file mode 100644 index 000000000..776d20a26 --- /dev/null +++ b/sql/20210315-sheng-project-server.sql @@ -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='项目服务器域名表'; \ No newline at end of file