From 6fb4bdd20634d606750350c6fb0369f0e27597c7 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Wed, 1 Jul 2026 13:57:02 +0000 Subject: [PATCH] Fix migrations --- .../InvenTree/build/migrations/0060_remove_build_notes.py | 2 +- .../InvenTree/common/migrations/{0044_note.py => 0046_note.py} | 2 +- .../{0045_auto_20260525_0956.py => 0047_auto_20260525_0956.py} | 2 +- ..._and_more.py => 0048_remove_notesimage_model_id_and_more.py} | 2 +- ...move_company_notes_remove_manufacturerpart_notes_and_more.py | 2 +- ...ove_purchaseorder_notes_remove_returnorder_notes_and_more.py | 2 +- src/backend/InvenTree/part/migrations/0151_remove_part_notes.py | 2 +- .../InvenTree/stock/migrations/0124_remove_stockitem_notes.py | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) rename src/backend/InvenTree/common/migrations/{0044_note.py => 0046_note.py} (99%) rename src/backend/InvenTree/common/migrations/{0045_auto_20260525_0956.py => 0047_auto_20260525_0956.py} (99%) rename src/backend/InvenTree/common/migrations/{0046_remove_notesimage_model_id_and_more.py => 0048_remove_notesimage_model_id_and_more.py} (93%) 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 f7f7fb1ee9..04359ff807 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", "0046_remove_notesimage_model_id_and_more") + ("common", "0048_remove_notesimage_model_id_and_more") ] operations = [ diff --git a/src/backend/InvenTree/common/migrations/0044_note.py b/src/backend/InvenTree/common/migrations/0046_note.py similarity index 99% rename from src/backend/InvenTree/common/migrations/0044_note.py rename to src/backend/InvenTree/common/migrations/0046_note.py index 28a9c45c82..4807214143 100644 --- a/src/backend/InvenTree/common/migrations/0044_note.py +++ b/src/backend/InvenTree/common/migrations/0046_note.py @@ -10,7 +10,7 @@ from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ - ("common", "0043_auto_20260518_1206"), + ("common", "0045_projectcode_active"), ("contenttypes", "0002_remove_content_type_name"), migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] diff --git a/src/backend/InvenTree/common/migrations/0045_auto_20260525_0956.py b/src/backend/InvenTree/common/migrations/0047_auto_20260525_0956.py similarity index 99% rename from src/backend/InvenTree/common/migrations/0045_auto_20260525_0956.py rename to src/backend/InvenTree/common/migrations/0047_auto_20260525_0956.py index 896e3106b6..3c0e487fdb 100644 --- a/src/backend/InvenTree/common/migrations/0045_auto_20260525_0956.py +++ b/src/backend/InvenTree/common/migrations/0047_auto_20260525_0956.py @@ -123,7 +123,7 @@ class Migration(migrations.Migration): # Ensure that each app which supports 'notes' is up-to-date first dependencies = [ ("build", "0059_build_tags"), - ("common", "0044_note"), + ("common", "0046_note"), ("company", "0079_auto_20260212_1054"), ("order", "0119_transferorderlineitem_line_int"), ("part", "0150_part_maximum_stock"), diff --git a/src/backend/InvenTree/common/migrations/0046_remove_notesimage_model_id_and_more.py b/src/backend/InvenTree/common/migrations/0048_remove_notesimage_model_id_and_more.py similarity index 93% rename from src/backend/InvenTree/common/migrations/0046_remove_notesimage_model_id_and_more.py rename to src/backend/InvenTree/common/migrations/0048_remove_notesimage_model_id_and_more.py index b02403472e..832d3dd4f2 100644 --- a/src/backend/InvenTree/common/migrations/0046_remove_notesimage_model_id_and_more.py +++ b/src/backend/InvenTree/common/migrations/0048_remove_notesimage_model_id_and_more.py @@ -7,7 +7,7 @@ from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ - ("common", "0045_auto_20260525_0956"), + ("common", "0047_auto_20260525_0956"), ] operations = [ 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 68e3dcd36f..110cf885d9 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", "0046_remove_notesimage_model_id_and_more") + ("common", "0048_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 1384b1a6ac..2dbecb02fd 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", "0046_remove_notesimage_model_id_and_more") + ("common", "0048_remove_notesimage_model_id_and_more") ] operations = [ diff --git a/src/backend/InvenTree/part/migrations/0151_remove_part_notes.py b/src/backend/InvenTree/part/migrations/0151_remove_part_notes.py index 267642afc2..a17a236830 100644 --- a/src/backend/InvenTree/part/migrations/0151_remove_part_notes.py +++ b/src/backend/InvenTree/part/migrations/0151_remove_part_notes.py @@ -7,7 +7,7 @@ class Migration(migrations.Migration): dependencies = [ ("part", "0150_part_maximum_stock"), - ("common", "0046_remove_notesimage_model_id_and_more") + ("common", "0048_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/0124_remove_stockitem_notes.py index cdabdc3d00..f48ffc3808 100644 --- a/src/backend/InvenTree/stock/migrations/0124_remove_stockitem_notes.py +++ b/src/backend/InvenTree/stock/migrations/0124_remove_stockitem_notes.py @@ -7,7 +7,7 @@ class Migration(migrations.Migration): dependencies = [ ("stock", "0123_remove_stockitem_review_needed"), - ("common", "0046_remove_notesimage_model_id_and_more") + ("common", "0048_remove_notesimage_model_id_and_more") ] operations = [