Merge branch 'master' of github.com:sartography/cr-connect-workflow

This commit is contained in:
Dan Funk 2020-04-22 10:45:30 -04:00
commit 4ab51fe8f2
1 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,11 @@ for entry in ./instance/* ; do
cat $entry
done
if [ "$DOWNGRADE_DB" = "true" ]; then
echo 'Downgrading...'
pipenv run flask db downgrade
fi
pipenv run flask db upgrade
if [ "$RESET_DB" = "true" ]; then