aboutsummaryrefslogtreecommitdiffstats
path: root/docker/instance_init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/instance_init.sh')
-rwxr-xr-xdocker/instance_init.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/instance_init.sh b/docker/instance_init.sh
index 7dde8c72..3fb9a8e0 100755
--- a/docker/instance_init.sh
+++ b/docker/instance_init.sh
@@ -28,6 +28,6 @@ GET_CATALOG_DB="show databases like 'nfvocatalog';"
CATALOG_DB=`mysql -u$MYSQL_ROOT_USER -p$MYSQL_ROOT_PASSWORD -P$MYSQL_PORT -h$MYSQL_IP -e "GET_CATALOG_DB"`
if [[ "$CATALOG_DB" == "" ]]; then
create_database
-
+ migrate_database
fi
-migrate_database
+