Skip to content

Commit

Permalink
Avoid migration dependency on Wagtail 2.12
Browse files Browse the repository at this point in the history
The 0003_permissions migration has a dependency on wagtailcore migration 0060, which was added in Wagtail 2.12, so this fails against older versions. It's not clear why this dependency is needed at all, but out of caution I'm changing it to 0040 (present in all 2.x releases) to ensure that at least the initial wagtailcore migrations have completed.
  • Loading branch information
gasman committed Jul 29, 2021
1 parent 20d9852 commit 4d2547d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wagtail_transfer/migrations/0003_permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Migration(migrations.Migration):
dependencies = [
("auth", "0011_update_proxy_permissions"),
("contenttypes", "0002_remove_content_type_name"),
("wagtailcore", "0060_fix_workflow_unique_constraint"),
("wagtailcore", "0040_page_draft_title"),
("wagtail_transfer", "0002_importedfile"),
]

Expand Down

0 comments on commit 4d2547d

Please sign in to comment.