diff --git a/scripts/sql/assembly/h2/apolloconfigdb.sql b/scripts/sql/assembly/h2/apolloconfigdb.sql index c6ea3cde6d4..67cd159df83 100644 --- a/scripts/sql/assembly/h2/apolloconfigdb.sql +++ b/scripts/sql/assembly/h2/apolloconfigdb.sql @@ -484,7 +484,7 @@ CREATE TABLE `C_0_AuditLogDataInfluence` ( -- Config -- ------------------------------------------------------------ -INSERT INTO `ServerConfig` (`Key`, `Cluster`, `Value`, `Comment`) +INSERT INTO `C_0_ServerConfig` (`Key`, `Cluster`, `Value`, `Comment`) VALUES ('eureka.service.url', 'default', 'http://localhost:8080/eureka/', 'Eureka服务Url,多个service以英文逗号分隔'), ('namespace.lock.switch', 'default', 'false', '一次发布只能有一个人修改开关'), diff --git a/scripts/sql/assembly/h2/apolloportaldb.sql b/scripts/sql/assembly/h2/apolloportaldb.sql index 8879dd4f792..eccfbf0c544 100644 --- a/scripts/sql/assembly/h2/apolloportaldb.sql +++ b/scripts/sql/assembly/h2/apolloportaldb.sql @@ -418,7 +418,7 @@ CREATE TABLE `P_0_AuditLogDataInfluence` ( -- Config -- ------------------------------------------------------------ -INSERT INTO `ServerConfig` (`Key`, `Value`, `Comment`) +INSERT INTO `P_0_ServerConfig` (`Key`, `Value`, `Comment`) VALUES ('apollo.portal.envs', 'dev', '可支持的环境列表'), ('organizations', '[{\"orgId\":\"TEST1\",\"orgName\":\"样例部门1\"},{\"orgId\":\"TEST2\",\"orgName\":\"样例部门2\"}]', '部门列表'), @@ -430,11 +430,11 @@ VALUES ('apollo.portal.meta.servers', '{}', '各环境Meta Service列表'); -INSERT INTO `Users` (`Username`, `Password`, `UserDisplayName`, `Email`, `Enabled`) +INSERT INTO `P_0_Users` (`Username`, `Password`, `UserDisplayName`, `Email`, `Enabled`) VALUES ('apollo', '$2a$10$7r20uS.BQ9uBpf3Baj3uQOZvMVvB1RN3PYoKE94gtz2.WAOuiiwXS', 'apollo', 'apollo@acme.com', 1); -INSERT INTO `Authorities` (`Username`, `Authority`) VALUES ('apollo', 'ROLE_user'); +INSERT INTO `P_0_Authorities` (`Username`, `Authority`) VALUES ('apollo', 'ROLE_user'); /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; diff --git a/scripts/sql/assembly/mysql/apolloconfigdb.sql b/scripts/sql/assembly/mysql/apolloconfigdb.sql index a8c4f1e8cf7..524b68369c0 100644 --- a/scripts/sql/assembly/mysql/apolloconfigdb.sql +++ b/scripts/sql/assembly/mysql/apolloconfigdb.sql @@ -484,7 +484,7 @@ CREATE TABLE `C_0_AuditLogDataInfluence` ( -- Config -- ------------------------------------------------------------ -INSERT INTO `ServerConfig` (`Key`, `Cluster`, `Value`, `Comment`) +INSERT INTO `C_0_ServerConfig` (`Key`, `Cluster`, `Value`, `Comment`) VALUES ('eureka.service.url', 'default', 'http://localhost:8080/eureka/', 'Eureka服务Url,多个service以英文逗号分隔'), ('namespace.lock.switch', 'default', 'false', '一次发布只能有一个人修改开关'), diff --git a/scripts/sql/assembly/mysql/apolloportaldb.sql b/scripts/sql/assembly/mysql/apolloportaldb.sql index b00a34368c2..9eceb578d60 100644 --- a/scripts/sql/assembly/mysql/apolloportaldb.sql +++ b/scripts/sql/assembly/mysql/apolloportaldb.sql @@ -418,7 +418,7 @@ CREATE TABLE `P_0_AuditLogDataInfluence` ( -- Config -- ------------------------------------------------------------ -INSERT INTO `ServerConfig` (`Key`, `Value`, `Comment`) +INSERT INTO `P_0_ServerConfig` (`Key`, `Value`, `Comment`) VALUES ('apollo.portal.envs', 'dev', '可支持的环境列表'), ('organizations', '[{\"orgId\":\"TEST1\",\"orgName\":\"样例部门1\"},{\"orgId\":\"TEST2\",\"orgName\":\"样例部门2\"}]', '部门列表'), @@ -430,11 +430,11 @@ VALUES ('apollo.portal.meta.servers', '{}', '各环境Meta Service列表'); -INSERT INTO `Users` (`Username`, `Password`, `UserDisplayName`, `Email`, `Enabled`) +INSERT INTO `P_0_Users` (`Username`, `Password`, `UserDisplayName`, `Email`, `Enabled`) VALUES ('apollo', '$2a$10$7r20uS.BQ9uBpf3Baj3uQOZvMVvB1RN3PYoKE94gtz2.WAOuiiwXS', 'apollo', 'apollo@acme.com', 1); -INSERT INTO `Authorities` (`Username`, `Authority`) VALUES ('apollo', 'ROLE_user'); +INSERT INTO `P_0_Authorities` (`Username`, `Authority`) VALUES ('apollo', 'ROLE_user'); /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;