From c281d481fa1ea8cc56f3ed213b58880a2010b185 Mon Sep 17 00:00:00 2001 From: yangyan Date: Thu, 4 Apr 2019 17:32:48 +0800 Subject: fix the bug of database migrate Change-Id: Iaa9e654a8b1c761b0855b6beb88e207c8bc1a72b Issue-ID: VFC-1339 Signed-off-by: yangyan --- lcm/docker/instance_init.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'lcm') 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 } -- cgit 1.2.3-korg