Fix pvcapid config in migrations script

This commit is contained in:
Joshua Boniface 2020-03-15 17:33:27 -04:00
parent ca65cb66b8
commit 2df8f5d407
1 changed files with 1 additions and 0 deletions

View File

@ -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