Fix pvcapid config in migrations script
This commit is contained in:
parent
ca65cb66b8
commit
2df8f5d407
|
@ -5,6 +5,7 @@
|
||||||
VERSION="$( head -1 debian/changelog | awk -F'[()-]' '{ print $2 }' )"
|
VERSION="$( head -1 debian/changelog | awk -F'[()-]' '{ print $2 }' )"
|
||||||
|
|
||||||
pushd api-daemon
|
pushd api-daemon
|
||||||
|
export PVC_CONFIG_FILE="./pvcapid.sample.yaml"
|
||||||
./pvcapid-manage.py db migrate -m "PVC version ${VERSION}"
|
./pvcapid-manage.py db migrate -m "PVC version ${VERSION}"
|
||||||
./pvcapid-manage.py db upgrade
|
./pvcapid-manage.py db upgrade
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Reference in New Issue