mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
Remove auto database migration
Make info tab cooler Change Image groups icon to a box again :3
This commit is contained in:
parent
341d5b0ee8
commit
b8846895de
4 changed files with 19 additions and 19 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue