diff options
author | yangyan <yangyanyj@chinamobile.com> | 2019-04-04 17:32:48 +0800 |
---|---|---|
committer | Yan Yang <yangyanyj@chinamobile.com> | 2019-04-05 15:15:12 +0000 |
commit | c281d481fa1ea8cc56f3ed213b58880a2010b185 (patch) | |
tree | 0e1e21f0b3c353a8b3c4a8eb539c62e7f042b243 /lcm/docker | |
parent | 10815c65561e07b6d3dae0aeb04f43904116401c (diff) |
fix the bug of database migrate
Change-Id: Iaa9e654a8b1c761b0855b6beb88e207c8bc1a72b
Issue-ID: VFC-1339
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'lcm/docker')
-rwxr-xr-x | lcm/docker/instance_init.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lcm/docker/instance_init.sh b/lcm/docker/instance_init.sh index 49c8633c..ceaf0b20 100755 --- a/lcm/docker/instance_init.sh +++ b/lcm/docker/instance_init.sh @@ -19,6 +19,7 @@ function create_database { function migrate_database { cd /service/vfc/gvnfm/vnflcm/lcm python manage.py makemigrations database + python manage.py migrate --fake python manage.py migrate } |