We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
get_migration_managers
1 parent 266706a commit 5486111Copy full SHA for 5486111
piccolo/apps/migrations/commands/base.py
@@ -87,13 +87,12 @@ def get_migration_managers(
87
for _, migration_module in migration_modules.items():
88
response = run_sync(migration_module.forwards())
89
if isinstance(response, MigrationManager):
90
- if max_migration_id:
91
- if response.migration_id == max_migration_id:
92
- break
93
- else:
94
- migration_managers.append(response)
95
96
+ migration_managers.append(response)
+ if (
+ max_migration_id
+ and response.migration_id == max_migration_id
+ ):
+ break
97
98
if offset > 0:
99
raise Exception(
0 commit comments