Fix config file for database migrations

This commit is contained in:
Joshua Boniface 2023-12-09 22:51:08 -05:00
parent 946d3eaf43
commit 8f0ae3e2dd
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ VERSION="$( head -1 debian/changelog | awk -F'[()-]' '{ print $2 }' )"
pushd $( git rev-parse --show-toplevel ) &>/dev/null
pushd api-daemon &>/dev/null
export PVC_CONFIG_FILE="./pvcapid.sample.yaml"
export PVC_CONFIG_FILE="../pvc.sample.conf"
./pvcapid-manage_flask.py db migrate -m "PVC version ${VERSION}"
./pvcapid-manage_flask.py db upgrade
popd &>/dev/null