diff --git a/src/backend/InvenTree/build/migrations/0060_remove_build_notes.py b/src/backend/InvenTree/build/migrations/0060_remove_build_notes.py index d2641d62bc..bd07063868 100644 --- a/src/backend/InvenTree/build/migrations/0060_remove_build_notes.py +++ b/src/backend/InvenTree/build/migrations/0060_remove_build_notes.py @@ -7,7 +7,7 @@ class Migration(migrations.Migration): dependencies = [ ("build", "0059_build_tags"), - ("common", "0049_remove_notesimage_model_id_and_more") + ("common", "0050_remove_notesimage_model_id_and_more") ] operations = [ diff --git a/src/backend/InvenTree/common/migrations/0047_note.py b/src/backend/InvenTree/common/migrations/0048_note.py similarity index 98% rename from src/backend/InvenTree/common/migrations/0047_note.py rename to src/backend/InvenTree/common/migrations/0048_note.py index f648a226d0..72219759f1 100644 --- a/src/backend/InvenTree/common/migrations/0047_note.py +++ b/src/backend/InvenTree/common/migrations/0048_note.py @@ -10,7 +10,7 @@ from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ - ("common", "0046_alter_emailmessage_global_id_and_more"), + ("common", "0047_parametertemplate_unique"), ("contenttypes", "0002_remove_content_type_name"), migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] diff --git a/src/backend/InvenTree/common/migrations/0048_auto_20260525_0956.py b/src/backend/InvenTree/common/migrations/0049_auto_20260525_0956.py similarity index 95% rename from src/backend/InvenTree/common/migrations/0048_auto_20260525_0956.py rename to src/backend/InvenTree/common/migrations/0049_auto_20260525_0956.py index 774a347455..04bcf23ed5 100644 --- a/src/backend/InvenTree/common/migrations/0048_auto_20260525_0956.py +++ b/src/backend/InvenTree/common/migrations/0049_auto_20260525_0956.py @@ -123,11 +123,11 @@ class Migration(migrations.Migration): # Ensure that each app which supports 'notes' is up-to-date first dependencies = [ ("build", "0059_build_tags"), - ("common", "0047_note"), - ("company", "0079_auto_20260212_1054"), - ("order", "0119_transferorderlineitem_line_int"), + ("common", "0048_note"), + ("company", "0080_company_tags"), + ("order", "0120_purchaseorder_tags_returnorder_tags_salesorder_tags_and_more"), ("part", "0151_part_consumable"), - ("stock", "0123_remove_stockitem_review_needed") + ("stock", "0125_remove_mptt_fields") ] operations = [ diff --git a/src/backend/InvenTree/common/migrations/0049_remove_notesimage_model_id_and_more.py b/src/backend/InvenTree/common/migrations/0050_remove_notesimage_model_id_and_more.py similarity index 93% rename from src/backend/InvenTree/common/migrations/0049_remove_notesimage_model_id_and_more.py rename to src/backend/InvenTree/common/migrations/0050_remove_notesimage_model_id_and_more.py index a992e8f19a..56d336395b 100644 --- a/src/backend/InvenTree/common/migrations/0049_remove_notesimage_model_id_and_more.py +++ b/src/backend/InvenTree/common/migrations/0050_remove_notesimage_model_id_and_more.py @@ -7,7 +7,7 @@ from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ - ("common", "0048_auto_20260525_0956"), + ("common", "0049_auto_20260525_0956"), ] operations = [ diff --git a/src/backend/InvenTree/common/test_migrations.py b/src/backend/InvenTree/common/test_migrations.py index 63abb16e4a..f6c89565dc 100644 --- a/src/backend/InvenTree/common/test_migrations.py +++ b/src/backend/InvenTree/common/test_migrations.py @@ -308,7 +308,7 @@ class TestNoteMigrations(MigratorTestCase): ('part', '0150_part_maximum_stock'), ('stock', '0123_remove_stockitem_review_needed'), ] - migrate_to = ('common', '0049_remove_notesimage_model_id_and_more') + migrate_to = ('common', '0050_remove_notesimage_model_id_and_more') def generate_image(self, name: str): """Generate a dummy image file for upload.""" diff --git a/src/backend/InvenTree/company/migrations/0081_remove_company_notes_remove_manufacturerpart_notes_and_more.py b/src/backend/InvenTree/company/migrations/0081_remove_company_notes_remove_manufacturerpart_notes_and_more.py index 2352b0193c..da17868f9e 100644 --- a/src/backend/InvenTree/company/migrations/0081_remove_company_notes_remove_manufacturerpart_notes_and_more.py +++ b/src/backend/InvenTree/company/migrations/0081_remove_company_notes_remove_manufacturerpart_notes_and_more.py @@ -7,7 +7,7 @@ class Migration(migrations.Migration): dependencies = [ ("company", "0080_company_tags"), - ("common", "0049_remove_notesimage_model_id_and_more") + ("common", "0050_remove_notesimage_model_id_and_more") ] operations = [ diff --git a/src/backend/InvenTree/order/migrations/0121_remove_purchaseorder_notes_remove_returnorder_notes_and_more.py b/src/backend/InvenTree/order/migrations/0121_remove_purchaseorder_notes_remove_returnorder_notes_and_more.py index c53fed92cf..d80a3370e8 100644 --- a/src/backend/InvenTree/order/migrations/0121_remove_purchaseorder_notes_remove_returnorder_notes_and_more.py +++ b/src/backend/InvenTree/order/migrations/0121_remove_purchaseorder_notes_remove_returnorder_notes_and_more.py @@ -7,7 +7,7 @@ class Migration(migrations.Migration): dependencies = [ ("order", "0120_purchaseorder_tags_returnorder_tags_salesorder_tags_and_more"), - ("common", "0049_remove_notesimage_model_id_and_more") + ("common", "0050_remove_notesimage_model_id_and_more") ] operations = [ diff --git a/src/backend/InvenTree/part/migrations/0152_remove_part_notes.py b/src/backend/InvenTree/part/migrations/0153_remove_part_notes.py similarity index 70% rename from src/backend/InvenTree/part/migrations/0152_remove_part_notes.py rename to src/backend/InvenTree/part/migrations/0153_remove_part_notes.py index 069f8d8065..e28660869d 100644 --- a/src/backend/InvenTree/part/migrations/0152_remove_part_notes.py +++ b/src/backend/InvenTree/part/migrations/0153_remove_part_notes.py @@ -6,8 +6,8 @@ from django.db import migrations class Migration(migrations.Migration): dependencies = [ - ("part", "0151_part_consumable"), - ("common", "0049_remove_notesimage_model_id_and_more") + ("part", "0152_alter_partpricing_currency"), + ("common", "0050_remove_notesimage_model_id_and_more") ] operations = [ diff --git a/src/backend/InvenTree/stock/migrations/0124_remove_stockitem_notes.py b/src/backend/InvenTree/stock/migrations/0126_remove_stockitem_notes.py similarity index 70% rename from src/backend/InvenTree/stock/migrations/0124_remove_stockitem_notes.py rename to src/backend/InvenTree/stock/migrations/0126_remove_stockitem_notes.py index 188a17b857..171a7742f3 100644 --- a/src/backend/InvenTree/stock/migrations/0124_remove_stockitem_notes.py +++ b/src/backend/InvenTree/stock/migrations/0126_remove_stockitem_notes.py @@ -6,8 +6,8 @@ from django.db import migrations class Migration(migrations.Migration): dependencies = [ - ("stock", "0123_remove_stockitem_review_needed"), - ("common", "0049_remove_notesimage_model_id_and_more") + ("stock", "0125_remove_mptt_fields"), + ("common", "0050_remove_notesimage_model_id_and_more") ] operations = [