diff options
author | yangyan <yangyanyj@chinamobile.com> | 2019-04-04 17:30:30 +0800 |
---|---|---|
committer | yangyan <yangyanyj@chinamobile.com> | 2019-04-04 17:30:37 +0800 |
commit | 01977372b3d502adcd3a54962fd807942d3b6be5 (patch) | |
tree | bab0d37af565680b608bb3bdbd01f82bba65a244 /docker | |
parent | 4f0c84fa2021efffa396c4e538417df156921620 (diff) |
fix the bug of database migrate
Change-Id: I7c461f14a601a898bf0c563edc06fc460daa616e
Issue-ID: VFC-1339
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/instance_init.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/instance_init.sh b/docker/instance_init.sh index 7e5fcf31..c78696dd 100755 --- a/docker/instance_init.sh +++ b/docker/instance_init.sh @@ -22,6 +22,7 @@ function create_database { function migrate_database { cd /service/vfc/nfvo/lcm python manage.py makemigrations database + python manage.py migrate --fake python manage.py migrate } |