Update manage script
This commit is contained in:
parent
b66cfb07d8
commit
91858fbd20
|
@ -7,7 +7,7 @@ VERSION="$( head -1 debian/changelog | awk -F'[()-]' '{ print $2 }' )"
|
||||||
pushd $( git rev-parse --show-toplevel ) &>/dev/null
|
pushd $( git rev-parse --show-toplevel ) &>/dev/null
|
||||||
pushd api-daemon &>/dev/null
|
pushd api-daemon &>/dev/null
|
||||||
export PVC_CONFIG_FILE="./pvcapid.sample.yaml"
|
export PVC_CONFIG_FILE="./pvcapid.sample.yaml"
|
||||||
./pvcapid-manage.py db migrate -m "PVC version ${VERSION}"
|
./pvcapid-manage_flask.py db migrate -m "PVC version ${VERSION}"
|
||||||
./pvcapid-manage.py db upgrade
|
./pvcapid-manage_flask.py db upgrade
|
||||||
popd &>/dev/null
|
popd &>/dev/null
|
||||||
popd &>/dev/null
|
popd &>/dev/null
|
||||||
|
|
Loading…
Reference in New Issue