summaryrefslogtreecommitdiffstats
path: root/docker/instance_init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/instance_init.sh')
-rwxr-xr-xdocker/instance_init.sh1
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
}