From f7469c42433ce3c79299aefa82d122f5594ab4bc Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Tue, 10 Mar 2026 16:17:56 -0700 Subject: [PATCH] Removes 0003 and renames all remaining migrations --- ...py => 0003_remove_document_storage_type.py} | 2 +- .../migrations/0003_workflowaction_order.py | 18 ------------------ ..._filter_has_any_correspondents_and_more.py} | 2 +- ... => 0005_alter_document_checksum_unique.py} | 2 +- ...ngth.py => 0006_document_content_length.py} | 2 +- ...relinkbundle.py => 0007_sharelinkbundle.py} | 2 +- ...ion_passwords_alter_workflowaction_type.py} | 2 +- ...y => 0009_alter_document_content_length.py} | 2 +- ...py => 0010_optimize_integer_field_sizes.py} | 2 +- ...pe.py => 0011_alter_workflowaction_type.py} | 2 +- ...ument.py => 0012_document_root_document.py} | 2 +- ...y => 0013_alter_paperlesstask_task_name.py} | 2 +- ...014_savedview_visibility_to_ui_settings.py} | 0 ...=> 0015_document_version_index_and_more.py} | 2 +- 14 files changed, 12 insertions(+), 30 deletions(-) rename src/documents/migrations/{0004_remove_document_storage_type.py => 0003_remove_document_storage_type.py} (84%) delete mode 100644 src/documents/migrations/0003_workflowaction_order.py rename src/documents/migrations/{0005_workflowtrigger_filter_has_any_correspondents_and_more.py => 0004_workflowtrigger_filter_has_any_correspondents_and_more.py} (95%) rename src/documents/migrations/{0006_alter_document_checksum_unique.py => 0005_alter_document_checksum_unique.py} (89%) rename src/documents/migrations/{0007_document_content_length.py => 0006_document_content_length.py} (92%) rename src/documents/migrations/{0008_sharelinkbundle.py => 0007_sharelinkbundle.py} (99%) rename src/documents/migrations/{0009_workflowaction_passwords_alter_workflowaction_type.py => 0008_workflowaction_passwords_alter_workflowaction_type.py} (95%) rename src/documents/migrations/{0010_alter_document_content_length.py => 0009_alter_document_content_length.py} (92%) rename src/documents/migrations/{0011_optimize_integer_field_sizes.py => 0010_optimize_integer_field_sizes.py} (99%) rename src/documents/migrations/{0012_alter_workflowaction_type.py => 0011_alter_workflowaction_type.py} (92%) rename src/documents/migrations/{0013_document_root_document.py => 0012_document_root_document.py} (94%) rename src/documents/migrations/{0014_alter_paperlesstask_task_name.py => 0013_alter_paperlesstask_task_name.py} (94%) rename src/documents/migrations/{0015_savedview_visibility_to_ui_settings.py => 0014_savedview_visibility_to_ui_settings.py} (100%) rename src/documents/migrations/{0016_document_version_index_and_more.py => 0015_document_version_index_and_more.py} (94%) diff --git a/src/documents/migrations/0004_remove_document_storage_type.py b/src/documents/migrations/0003_remove_document_storage_type.py similarity index 84% rename from src/documents/migrations/0004_remove_document_storage_type.py rename to src/documents/migrations/0003_remove_document_storage_type.py index e138d5d78..2c5c70d7f 100644 --- a/src/documents/migrations/0004_remove_document_storage_type.py +++ b/src/documents/migrations/0003_remove_document_storage_type.py @@ -5,7 +5,7 @@ from django.db import migrations class Migration(migrations.Migration): dependencies = [ - ("documents", "0003_workflowaction_order"), + ("documents", "0002_squashed"), ] operations = [ diff --git a/src/documents/migrations/0003_workflowaction_order.py b/src/documents/migrations/0003_workflowaction_order.py deleted file mode 100644 index f4c8b88e1..000000000 --- a/src/documents/migrations/0003_workflowaction_order.py +++ /dev/null @@ -1,18 +0,0 @@ -# Generated by Django 5.2.9 on 2026-01-20 20:06 - -from django.db import migrations -from django.db import models - - -class Migration(migrations.Migration): - dependencies = [ - ("documents", "0002_squashed"), - ] - - operations = [ - migrations.AddField( - model_name="workflowaction", - name="order", - field=models.PositiveIntegerField(default=0, verbose_name="order"), - ), - ] diff --git a/src/documents/migrations/0005_workflowtrigger_filter_has_any_correspondents_and_more.py b/src/documents/migrations/0004_workflowtrigger_filter_has_any_correspondents_and_more.py similarity index 95% rename from src/documents/migrations/0005_workflowtrigger_filter_has_any_correspondents_and_more.py rename to src/documents/migrations/0004_workflowtrigger_filter_has_any_correspondents_and_more.py index db5ef5754..217328eb1 100644 --- a/src/documents/migrations/0005_workflowtrigger_filter_has_any_correspondents_and_more.py +++ b/src/documents/migrations/0004_workflowtrigger_filter_has_any_correspondents_and_more.py @@ -6,7 +6,7 @@ from django.db import models class Migration(migrations.Migration): dependencies = [ - ("documents", "0004_remove_document_storage_type"), + ("documents", "0003_remove_document_storage_type"), ] operations = [ diff --git a/src/documents/migrations/0006_alter_document_checksum_unique.py b/src/documents/migrations/0005_alter_document_checksum_unique.py similarity index 89% rename from src/documents/migrations/0006_alter_document_checksum_unique.py rename to src/documents/migrations/0005_alter_document_checksum_unique.py index f86799494..7a35cbb6d 100644 --- a/src/documents/migrations/0006_alter_document_checksum_unique.py +++ b/src/documents/migrations/0005_alter_document_checksum_unique.py @@ -6,7 +6,7 @@ from django.db import models class Migration(migrations.Migration): dependencies = [ - ("documents", "0005_workflowtrigger_filter_has_any_correspondents_and_more"), + ("documents", "0004_workflowtrigger_filter_has_any_correspondents_and_more"), ] operations = [ diff --git a/src/documents/migrations/0007_document_content_length.py b/src/documents/migrations/0006_document_content_length.py similarity index 92% rename from src/documents/migrations/0007_document_content_length.py rename to src/documents/migrations/0006_document_content_length.py index c294afca5..ccc8b86d3 100644 --- a/src/documents/migrations/0007_document_content_length.py +++ b/src/documents/migrations/0006_document_content_length.py @@ -7,7 +7,7 @@ from django.db import models class Migration(migrations.Migration): dependencies = [ - ("documents", "0006_alter_document_checksum_unique"), + ("documents", "0005_alter_document_checksum_unique"), ] operations = [ diff --git a/src/documents/migrations/0008_sharelinkbundle.py b/src/documents/migrations/0007_sharelinkbundle.py similarity index 99% rename from src/documents/migrations/0008_sharelinkbundle.py rename to src/documents/migrations/0007_sharelinkbundle.py index 35ef64c75..b7c3b7223 100644 --- a/src/documents/migrations/0008_sharelinkbundle.py +++ b/src/documents/migrations/0007_sharelinkbundle.py @@ -46,7 +46,7 @@ def revoke_share_link_bundle_permissions(apps, schema_editor): class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), - ("documents", "0007_document_content_length"), + ("documents", "0006_document_content_length"), ] operations = [ diff --git a/src/documents/migrations/0009_workflowaction_passwords_alter_workflowaction_type.py b/src/documents/migrations/0008_workflowaction_passwords_alter_workflowaction_type.py similarity index 95% rename from src/documents/migrations/0009_workflowaction_passwords_alter_workflowaction_type.py rename to src/documents/migrations/0008_workflowaction_passwords_alter_workflowaction_type.py index ae3fef79f..c2f241086 100644 --- a/src/documents/migrations/0009_workflowaction_passwords_alter_workflowaction_type.py +++ b/src/documents/migrations/0008_workflowaction_passwords_alter_workflowaction_type.py @@ -6,7 +6,7 @@ from django.db import models class Migration(migrations.Migration): dependencies = [ - ("documents", "0008_sharelinkbundle"), + ("documents", "0007_sharelinkbundle"), ] operations = [ diff --git a/src/documents/migrations/0010_alter_document_content_length.py b/src/documents/migrations/0009_alter_document_content_length.py similarity index 92% rename from src/documents/migrations/0010_alter_document_content_length.py rename to src/documents/migrations/0009_alter_document_content_length.py index 1e584cda9..4210426e4 100644 --- a/src/documents/migrations/0010_alter_document_content_length.py +++ b/src/documents/migrations/0009_alter_document_content_length.py @@ -7,7 +7,7 @@ from django.db import models class Migration(migrations.Migration): dependencies = [ - ("documents", "0009_workflowaction_passwords_alter_workflowaction_type"), + ("documents", "0008_workflowaction_passwords_alter_workflowaction_type"), ] operations = [ diff --git a/src/documents/migrations/0011_optimize_integer_field_sizes.py b/src/documents/migrations/0010_optimize_integer_field_sizes.py similarity index 99% rename from src/documents/migrations/0011_optimize_integer_field_sizes.py rename to src/documents/migrations/0010_optimize_integer_field_sizes.py index d656fe35e..15aadadc3 100644 --- a/src/documents/migrations/0011_optimize_integer_field_sizes.py +++ b/src/documents/migrations/0010_optimize_integer_field_sizes.py @@ -7,7 +7,7 @@ from django.db import models class Migration(migrations.Migration): dependencies = [ - ("documents", "0010_alter_document_content_length"), + ("documents", "0009_alter_document_content_length"), ] operations = [ diff --git a/src/documents/migrations/0012_alter_workflowaction_type.py b/src/documents/migrations/0011_alter_workflowaction_type.py similarity index 92% rename from src/documents/migrations/0012_alter_workflowaction_type.py rename to src/documents/migrations/0011_alter_workflowaction_type.py index 4d707937c..c31f4241c 100644 --- a/src/documents/migrations/0012_alter_workflowaction_type.py +++ b/src/documents/migrations/0011_alter_workflowaction_type.py @@ -6,7 +6,7 @@ from django.db import models class Migration(migrations.Migration): dependencies = [ - ("documents", "0011_optimize_integer_field_sizes"), + ("documents", "0010_optimize_integer_field_sizes"), ] operations = [ diff --git a/src/documents/migrations/0013_document_root_document.py b/src/documents/migrations/0012_document_root_document.py similarity index 94% rename from src/documents/migrations/0013_document_root_document.py rename to src/documents/migrations/0012_document_root_document.py index 589e125cb..c287be0dc 100644 --- a/src/documents/migrations/0013_document_root_document.py +++ b/src/documents/migrations/0012_document_root_document.py @@ -7,7 +7,7 @@ from django.db import models class Migration(migrations.Migration): dependencies = [ - ("documents", "0012_alter_workflowaction_type"), + ("documents", "0011_alter_workflowaction_type"), ] operations = [ diff --git a/src/documents/migrations/0014_alter_paperlesstask_task_name.py b/src/documents/migrations/0013_alter_paperlesstask_task_name.py similarity index 94% rename from src/documents/migrations/0014_alter_paperlesstask_task_name.py rename to src/documents/migrations/0013_alter_paperlesstask_task_name.py index 02709a4d7..46882d537 100644 --- a/src/documents/migrations/0014_alter_paperlesstask_task_name.py +++ b/src/documents/migrations/0013_alter_paperlesstask_task_name.py @@ -6,7 +6,7 @@ from django.db import models class Migration(migrations.Migration): dependencies = [ - ("documents", "0013_document_root_document"), + ("documents", "0012_document_root_document"), ] operations = [ diff --git a/src/documents/migrations/0015_savedview_visibility_to_ui_settings.py b/src/documents/migrations/0014_savedview_visibility_to_ui_settings.py similarity index 100% rename from src/documents/migrations/0015_savedview_visibility_to_ui_settings.py rename to src/documents/migrations/0014_savedview_visibility_to_ui_settings.py diff --git a/src/documents/migrations/0016_document_version_index_and_more.py b/src/documents/migrations/0015_document_version_index_and_more.py similarity index 94% rename from src/documents/migrations/0016_document_version_index_and_more.py rename to src/documents/migrations/0015_document_version_index_and_more.py index 9c85b05d3..5a817074c 100644 --- a/src/documents/migrations/0016_document_version_index_and_more.py +++ b/src/documents/migrations/0015_document_version_index_and_more.py @@ -7,7 +7,7 @@ from django.db import models class Migration(migrations.Migration): dependencies = [ - ("documents", "0015_savedview_visibility_to_ui_settings"), + ("documents", "0014_savedview_visibility_to_ui_settings"), migrations.swappable_dependency(settings.AUTH_USER_MODEL), ]