Remove auto database migration

Make info tab cooler
Change Image groups icon to a box again :3
This commit is contained in:
Michał Gdula 2023-04-19 22:58:31 +00:00
parent 341d5b0ee8
commit b8846895de
4 changed files with 19 additions and 19 deletions

View file

@ -69,10 +69,10 @@ def create_app(): # pylint: disable=R0914
migrate_init(directory=MIGRATIONS_DIR)
# Check if migrations are up to date
with app.app_context():
print("Checking for schema changes...")
migrate_migrate(directory=MIGRATIONS_DIR)
migrate_upgrade(directory=MIGRATIONS_DIR)
# with app.app_context():
# print("Checking for schema changes...")
# migrate_migrate(directory=MIGRATIONS_DIR)
# migrate_upgrade(directory=MIGRATIONS_DIR)
# LOGIN MANAGER
# can also set session_protection to "strong"