Code Review
/
vfc
/
gvnfm
/
vnflcm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
10815c6
)
fix the bug of database migrate
22/84222/2
author
yangyan
<yangyanyj@chinamobile.com>
Thu, 4 Apr 2019 09:32:48 +0000
(17:32 +0800)
committer
Yan Yang
<yangyanyj@chinamobile.com>
Fri, 5 Apr 2019 15:15:12 +0000
(15:15 +0000)
Change-Id: Iaa9e654a8b1c761b0855b6beb88e207c8bc1a72b
Issue-ID: VFC-1339
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
lcm/docker/instance_init.sh
patch
|
blob
|
history
diff --git
a/lcm/docker/instance_init.sh
b/lcm/docker/instance_init.sh
index
49c8633
..
ceaf0b2
100755
(executable)
--- 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
}