From a1fb1d86a2aedabc271a957a9d01d40ce81f70f3 Mon Sep 17 00:00:00 2001 From: Mark Longair Date: Mon, 27 May 2024 01:00:06 +0100 Subject: [PATCH] Add missing migration dependencies These missing dependencies mean that running `./manage.py migrate` from scratch fails, since the migrations are referring to models introduced in migrations that haven't been run yet. --- .../migrations/0008_rawpeople_aws_textract_parsed_data.py | 1 + .../0007_awstextractparsedsopn_sopn_camelotparsedsopn_sopn.py | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/ynr/apps/bulk_adding/migrations/0008_rawpeople_aws_textract_parsed_data.py b/ynr/apps/bulk_adding/migrations/0008_rawpeople_aws_textract_parsed_data.py index 45d802106..0340a018e 100644 --- a/ynr/apps/bulk_adding/migrations/0008_rawpeople_aws_textract_parsed_data.py +++ b/ynr/apps/bulk_adding/migrations/0008_rawpeople_aws_textract_parsed_data.py @@ -7,6 +7,7 @@ class Migration(migrations.Migration): dependencies = [ ("bulk_adding", "0007_alter_rawpeople_data"), + ("sopn_parsing", "0002_awstextractparsedsopn"), ] operations = [ diff --git a/ynr/apps/sopn_parsing/migrations/0007_awstextractparsedsopn_sopn_camelotparsedsopn_sopn.py b/ynr/apps/sopn_parsing/migrations/0007_awstextractparsedsopn_sopn_camelotparsedsopn_sopn.py index 89f845bda..c4824fb6a 100644 --- a/ynr/apps/sopn_parsing/migrations/0007_awstextractparsedsopn_sopn_camelotparsedsopn_sopn.py +++ b/ynr/apps/sopn_parsing/migrations/0007_awstextractparsedsopn_sopn_camelotparsedsopn_sopn.py @@ -10,6 +10,10 @@ class Migration(migrations.Migration): "sopn_parsing", "0006_rename_sopn_awstextractparsedsopn_official_document_and_more", ), + ( + "official_documents", + "0033_ballotsopnhistory_ballotsopn" + ), ] operations = [