From d2b52c6fe64c552050d07369e654cee73063114a Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 16 Feb 2020 19:50:18 -0500 Subject: [PATCH] Avoid auto-commit in migration generation --- gen-api-migrations | 3 --- 1 file changed, 3 deletions(-) diff --git a/gen-api-migrations b/gen-api-migrations index cbb0a3cf..110d5996 100755 --- a/gen-api-migrations +++ b/gen-api-migrations @@ -7,7 +7,4 @@ VERSION="$( head -1 debian/changelog | awk -F'[()-]' '{ print $2 }' )" pushd api-daemon ./pvcapid-manage.py db migrate -m "PVC version ${VERSION}" ./pvcapid-manage.py db upgrade -git reset -git add migrations -git commit -v "[gen-api-migrations] New database migration" popd