diff options
author | yangyan <yangyanyj@chinamobile.com> | 2019-04-08 12:28:04 +0800 |
---|---|---|
committer | yangyan <yangyanyj@chinamobile.com> | 2019-04-08 12:28:19 +0800 |
commit | 4e78e21f8c923123c6a5feff98933dceaa5b6959 (patch) | |
tree | 5e41085afaa7f554172024c4f5bc7244537b288c /docker | |
parent | 01977372b3d502adcd3a54962fd807942d3b6be5 (diff) |
fix the bug of migrate
Change-Id: Icfdfd3d04dd849fa5845b816a818fdfcf9e690f5
Issue-ID: VFC-1339
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/instance_init.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/instance_init.sh b/docker/instance_init.sh index c78696dd..1df3f779 100755 --- a/docker/instance_init.sh +++ b/docker/instance_init.sh @@ -31,5 +31,6 @@ GET_NSLCM_DB="show databases like 'vfcnfvolcm';" NSLCM_DB=`mysql -u$MYSQL_ROOT_USER -p$MYSQL_ROOT_PASSWORD -P$MYSQL_PORT -h$MYSQL_IP -e "GET_NSLCM_DB"` if [[ "$NSLCM_DB" == "" ]]; then create_database - migrate_database + fi +migrate_database |