Skip to content

Commit 135725d

Browse files
Your Namealphatownsman
authored andcommitted
fix(catalog): expose edition_normalize_publisher_imprint migration
Add a 'edition_normalize_publisher_imprint' case to the catalog management command's migrate dispatcher so the edition_normalize_publisher_imprint_20260428 helper can actually be invoked from the CLI: ./manage.py catalog migrate \ --name edition_normalize_publisher_imprint [--batch-size N] Mirrors the existing populate_credits / populate_credits_extra wiring.
1 parent a567331 commit 135725d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

catalog/management/commands/catalog.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,12 @@ def migrate(self, m, start=None, batch_size=1000):
200200
from catalog.common.migrations import populate_credits_extra_20260415
201201

202202
populate_credits_extra_20260415(batch_size=batch_size)
203+
case "edition_normalize_publisher_imprint":
204+
from catalog.common.migrations import (
205+
edition_normalize_publisher_imprint_20260428,
206+
)
207+
208+
edition_normalize_publisher_imprint_20260428(batch_size=batch_size)
203209
case _:
204210
self.stdout.write(self.style.ERROR("Unknown migration."))
205211

0 commit comments

Comments
 (0)