diff --git a/gen-api-migrations b/gen-api-migrations index 110d5996..03f8cb89 100755 --- a/gen-api-migrations +++ b/gen-api-migrations @@ -5,6 +5,7 @@ VERSION="$( head -1 debian/changelog | awk -F'[()-]' '{ print $2 }' )" pushd api-daemon +export PVC_CONFIG_FILE="./pvcapid.sample.yaml" ./pvcapid-manage.py db migrate -m "PVC version ${VERSION}" ./pvcapid-manage.py db upgrade popd