Don't use migrate in setup-database routine.

This commit is contained in:
Patrick Jentsch 2019-09-13 09:35:20 +02:00
parent 6333c88d36
commit 3913663c56

View File

@ -7,7 +7,6 @@ else
if [[ $1 == "--setup-database" ]] if [[ $1 == "--setup-database" ]]
then then
venv/bin/python -m flask db init venv/bin/python -m flask db init
venv/bin/python -m flask db migrate -m "initial migration"
venv/bin/python -m flask db upgrade venv/bin/python -m flask db upgrade
venv/bin/python -m flask insert-initial-database-entries venv/bin/python -m flask insert-initial-database-entries
fi fi