Use upgrade rather than create_schema for wather database
watcher has moved to version control. upgrade should be used rather than create_schema Closes-Bug: #1722167 Change-Id: I914471215ff88b6bdde48e2953cd1ced440de4b4
This commit is contained in:
parent
2ef0bd51a9
commit
4407e31540
@ -3,6 +3,6 @@
|
||||
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
|
||||
# of the KOLLA_BOOTSTRAP variable being set, including empty.
|
||||
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
|
||||
watcher-db-manage --config-file /etc/watcher/watcher.conf create_schema
|
||||
watcher-db-manage --config-file /etc/watcher/watcher.conf upgrade
|
||||
exit 0
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user