Code Review
/
vfc
/
nfvo
/
catalog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
8cf5ec4
)
fix the bug of database migrate
23/84223/1
author
yangyan
<yangyanyj@chinamobile.com>
Thu, 4 Apr 2019 09:33:59 +0000
(17:33 +0800)
committer
yangyan
<yangyanyj@chinamobile.com>
Thu, 4 Apr 2019 09:34:08 +0000
(17:34 +0800)
Change-Id: I90dc350955f6013ff390682d928a93ef13b2c6f8
Issue-ID: VFC-1339
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
docker/instance_init.sh
patch
|
blob
|
history
diff --git
a/docker/instance_init.sh
b/docker/instance_init.sh
index
f789a97
..
a3ca889
100755
(executable)
--- a/
docker/instance_init.sh
+++ b/
docker/instance_init.sh
@@
-20,6
+20,7
@@
function create_database {
function migrate_database {
cd /service/vfc/nfvo/catalog
python manage.py makemigrations database
+ python manage.py migrate --fake
python manage.py migrate
}