summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMandeep Khinda <mandeep.khinda@amdocs.com>2018-03-27 18:55:00 +0000
committerMandeep Khinda <mandeep.khinda@amdocs.com>2018-03-27 18:57:26 +0000
commite4aeb6c4f0b9588756c16b5037543549cb899160 (patch)
treea6bc33bfb500fa5360b5fc2ca3044b2e283885d0
parent11b79e5093d8e7fa45b0ce4eceda0b56c27f13fa (diff)
fixing invalid database name
The db name changed from portal to portal_os but all the other SQL files use portal and nothing is using portal_os. all containers are blocked by this failure: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/PortalDDLMySql_2_1_Common.sql ERROR 1049 (42000) at line 16: Unknown database 'portal' Issue-ID: OOM-746 Change-Id: I2ef39a63fcd4d68b67d2e8979f60d9c8094fdab1 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
-rw-r--r--ecomp-portal-DB-common/PortalDDLMySql_2_1_Common.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/ecomp-portal-DB-common/PortalDDLMySql_2_1_Common.sql b/ecomp-portal-DB-common/PortalDDLMySql_2_1_Common.sql
index 5c9e9b58..cabca678 100644
--- a/ecomp-portal-DB-common/PortalDDLMySql_2_1_Common.sql
+++ b/ecomp-portal-DB-common/PortalDDLMySql_2_1_Common.sql
@@ -11,7 +11,7 @@
-- -----------------------------------------------------------------------------------------------------------------
set foreign_key_checks=1;
-create database portal_os;
+create database portal;
use portal;
@@ -1755,4 +1755,4 @@ add constraint sys_c0014618 foreign key (user_id) references fn_user(user_id);
alter table fn_menu_favorites
add constraint sys_c0014619 foreign key (menu_id) references fn_menu_functional(menu_id);
-commit; \ No newline at end of file
+commit;