Avoid auto-commit in migration generation

This commit is contained in:
Joshua Boniface 2020-02-16 19:50:18 -05:00
parent 8125aea4f3
commit d2b52c6fe6
1 changed files with 0 additions and 3 deletions

View File

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