From 2df8f5d407eb27eef7991307e48670d3ad6e4198 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 15 Mar 2020 17:33:27 -0400 Subject: [PATCH] Fix pvcapid config in migrations script --- gen-api-migrations | 1 + 1 file changed, 1 insertion(+) 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