fix the bug of database migrate
[vfc/nfvo/lcm.git] / docker / instance_init.sh
index 7e5fcf3..c78696d 100755 (executable)
@@ -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
 }