From 4d2547d494f1d9e4d268c11a01af1be3eaa07459 Mon Sep 17 00:00:00 2001 From: Matt Westcott Date: Thu, 29 Jul 2021 10:45:01 +0100 Subject: [PATCH] Avoid migration dependency on Wagtail 2.12 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. --- wagtail_transfer/migrations/0003_permissions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wagtail_transfer/migrations/0003_permissions.py b/wagtail_transfer/migrations/0003_permissions.py index 60953ca..75937b7 100644 --- a/wagtail_transfer/migrations/0003_permissions.py +++ b/wagtail_transfer/migrations/0003_permissions.py @@ -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"), ]