Enable alembic as the main tool for migrations
Enable alembic for all migrations and limit the max number of sqlalchemy-migration migration. All new migrations must now be in Alembic!
This commit is contained in:
committed by
Christopher Allan Webber
parent
8da8c0ac2d
commit
2b68834c44
@@ -130,8 +130,7 @@ def run_dbupdate(app_config, global_config):
|
||||
|
||||
# TODO: Make this happen regardless of python 2 or 3 once ensured
|
||||
# to be "safe"!
|
||||
if six.PY3:
|
||||
run_alembic_migrations(db, app_config, global_config)
|
||||
run_alembic_migrations(db, app_config, global_config)
|
||||
|
||||
|
||||
def run_all_migrations(db, app_config, global_config):
|
||||
|
||||
Reference in New Issue
Block a user