Allow user to disable all migrations entirely
parent
6c0af38e27
commit
aa76f87828
|
@ -17,6 +17,9 @@ def run_migrations():
|
|||
else:
|
||||
skipped_migrations = data["api"].get("skippedMigrations", [])
|
||||
|
||||
if "DISABLE_ALL" in skipped_migrations:
|
||||
return
|
||||
|
||||
for migration in migrations:
|
||||
if migration.get_migration_name() not in skipped_migrations:
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue