Move to manage.py migrate in horizon
manage.py syncdb is deprecated since django 1.7 Change-Id: I2b419b183e839485b7c5080112a73bab3f869ce6 Closes-Bug: #1639259
This commit is contained in:
parent
da832be870
commit
b09825d39d
@ -7,7 +7,7 @@ if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
|
||||
if [[ -f "/var/lib/kolla/venv/bin/python" ]]; then
|
||||
MANAGE_PY="/var/lib/kolla/venv/bin/python /var/lib/kolla/venv/bin/manage.py"
|
||||
fi
|
||||
$MANAGE_PY syncdb --noinput
|
||||
$MANAGE_PY migrate --noinput
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user