Move routes to own folder

This commit is contained in:
Michał Gdula 2023-05-17 11:11:24 +01:00
parent 7b86a6b6bb
commit c1f8f67e64
9 changed files with 63 additions and 44 deletions

View file

@ -8,7 +8,7 @@ then
fi
# Check if there are any changes to the database
if ! $(flask --app website db check | grep -q "No changes in schema detected.");
if ! $(flask --app website db check) | grep -q "No changes in schema detected.";
then
echo "Database changes detected! Migrating..."
flask --app website db migrate