From e4aeb6c4f0b9588756c16b5037543549cb899160 Mon Sep 17 00:00:00 2001
From: Mandeep Khinda <mandeep.khinda@amdocs.com>
Date: Tue, 27 Mar 2018 18:55:00 +0000
Subject: 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>
---
 ecomp-portal-DB-common/PortalDDLMySql_2_1_Common.sql | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'ecomp-portal-DB-common/PortalDDLMySql_2_1_Common.sql')

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;
-- 
cgit 1.2.3-korg

