From efb10d38a24ae70fc982ec528f42624bf247dce5 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Sun, 1 Dec 2024 20:18:45 -0800 Subject: [PATCH] Fix migrations from merge --- ....py => 1060_alter_customfieldinstance_value_select.py} | 2 +- .../tests/test_migration_custom_field_selects.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) rename src/documents/migrations/{1059_alter_customfieldinstance_value_select.py => 1060_alter_customfieldinstance_value_select.py} (97%) diff --git a/src/documents/migrations/1059_alter_customfieldinstance_value_select.py b/src/documents/migrations/1060_alter_customfieldinstance_value_select.py similarity index 97% rename from src/documents/migrations/1059_alter_customfieldinstance_value_select.py rename to src/documents/migrations/1060_alter_customfieldinstance_value_select.py index 00ab11f65..21f3f8b41 100644 --- a/src/documents/migrations/1059_alter_customfieldinstance_value_select.py +++ b/src/documents/migrations/1060_alter_customfieldinstance_value_select.py @@ -63,7 +63,7 @@ def reverse_migrate_customfield_selects(apps, schema_editor): class Migration(migrations.Migration): dependencies = [ - ("documents", "1058_workflowtrigger_schedule_date_custom_field_and_more"), + ("documents", "1059_workflowactionemail_workflowactionwebhook_and_more"), ] operations = [ diff --git a/src/documents/tests/test_migration_custom_field_selects.py b/src/documents/tests/test_migration_custom_field_selects.py index b172bf7e8..59004bf21 100644 --- a/src/documents/tests/test_migration_custom_field_selects.py +++ b/src/documents/tests/test_migration_custom_field_selects.py @@ -4,8 +4,8 @@ from documents.tests.utils import TestMigrations class TestMigrateCustomFieldSelects(TestMigrations): - migrate_from = "1058_workflowtrigger_schedule_date_custom_field_and_more" - migrate_to = "1059_alter_customfieldinstance_value_select" + migrate_from = "1059_workflowactionemail_workflowactionwebhook_and_more" + migrate_to = "1060_alter_customfieldinstance_value_select" def setUpBeforeMigration(self, apps): CustomField = apps.get_model("documents.CustomField") @@ -43,8 +43,8 @@ class TestMigrateCustomFieldSelects(TestMigrations): class TestMigrationCustomFieldSelectsReverse(TestMigrations): - migrate_from = "1059_alter_customfieldinstance_value_select" - migrate_to = "1058_workflowtrigger_schedule_date_custom_field_and_more" + migrate_from = "1060_alter_customfieldinstance_value_select" + migrate_to = "1059_workflowactionemail_workflowactionwebhook_and_more" def setUpBeforeMigration(self, apps): CustomField = apps.get_model("documents.CustomField")