fixing invalid database name 45/39245/1
authorMandeep Khinda <mandeep.khinda@amdocs.com>
Tue, 27 Mar 2018 18:55:00 +0000 (18:55 +0000)
committerMandeep Khinda <mandeep.khinda@amdocs.com>
Tue, 27 Mar 2018 18:57:26 +0000 (18:57 +0000)
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>
ecomp-portal-DB-common/PortalDDLMySql_2_1_Common.sql

index 5c9e9b5..cabca67 100644 (file)
@@ -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;