diff options
author | yangyan <yangyanyj@chinamobile.com> | 2019-04-04 17:33:59 +0800 |
---|---|---|
committer | yangyan <yangyanyj@chinamobile.com> | 2019-04-04 17:34:08 +0800 |
commit | d346c27489a1c01848c92b8ea0308fd6e94649d2 (patch) | |
tree | d41dc3b855353cecb011d0c6cb9414791c10de69 /docker/instance_init.sh | |
parent | 8cf5ec4adee3868174f1a7c2735a7fca8992f498 (diff) |
fix the bug of database migrate
Change-Id: I90dc350955f6013ff390682d928a93ef13b2c6f8
Issue-ID: VFC-1339
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'docker/instance_init.sh')
-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 f789a972..a3ca889c 100755 --- a/docker/instance_init.sh +++ b/docker/instance_init.sh @@ -20,6 +20,7 @@ function create_database { function migrate_database { cd /service/vfc/nfvo/catalog python manage.py makemigrations database + python manage.py migrate --fake python manage.py migrate } |