mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-20 11:48:16 +00:00
Adds downgrade command
This commit is contained in:
parent
c30e66d91d
commit
e65e920a1e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user