diff options
author | Fu Jinhua <fu.jinhua@zte.com.cn> | 2019-04-08 01:29:37 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-08 01:29:37 +0000 |
commit | 8f09fb9cf1574253117957bf3f780ce21bf17a67 (patch) | |
tree | 1660348edf376f65cd4d0c567e951e07bd38b496 | |
parent | 8209c63d711ff4d3c705ec563d526d6444025897 (diff) | |
parent | c281d481fa1ea8cc56f3ed213b58880a2010b185 (diff) |
Merge "fix the bug of database migrate"
-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 } |