mirror of
https://github.com/inventree/InvenTree.git
synced 2026-09-01 01:31:28 +00:00
Fix migration files
This commit is contained in:
@@ -7,7 +7,7 @@ class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("build", "0059_build_tags"),
|
||||
("common", "0050_remove_notesimage_model_id_and_more")
|
||||
("common", "0051_remove_notesimage_model_id_and_more")
|
||||
]
|
||||
|
||||
operations = [
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ from django.db import migrations, models
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("common", "0047_parametertemplate_unique"),
|
||||
("common", "0048_notificationmessage_link"),
|
||||
("contenttypes", "0002_remove_content_type_name"),
|
||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||
]
|
||||
+4
-3
@@ -122,11 +122,12 @@ class Migration(migrations.Migration):
|
||||
|
||||
# Ensure that each app which supports 'notes' is up-to-date first
|
||||
dependencies = [
|
||||
("common", "0049_note"),
|
||||
# Other internal apps which have models that support notes
|
||||
("build", "0059_build_tags"),
|
||||
("common", "0048_note"),
|
||||
("company", "0080_company_tags"),
|
||||
("order", "0120_purchaseorder_tags_returnorder_tags_salesorder_tags_and_more"),
|
||||
("part", "0151_part_consumable"),
|
||||
("order", "0121_add_line_item_discount"),
|
||||
("part", "0152_alter_partpricing_currency"),
|
||||
("stock", "0125_remove_mptt_fields")
|
||||
]
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ from django.db import migrations, models
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("common", "0049_auto_20260525_0956"),
|
||||
("common", "0050_auto_20260525_0956"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
@@ -308,7 +308,7 @@ class TestNoteMigrations(MigratorTestCase):
|
||||
('part', '0150_part_maximum_stock'),
|
||||
('stock', '0123_remove_stockitem_review_needed'),
|
||||
]
|
||||
migrate_to = ('common', '0050_remove_notesimage_model_id_and_more')
|
||||
migrate_to = ('common', '0051_remove_notesimage_model_id_and_more')
|
||||
|
||||
def generate_image(self, name: str):
|
||||
"""Generate a dummy image file for upload."""
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("company", "0080_company_tags"),
|
||||
("common", "0050_remove_notesimage_model_id_and_more")
|
||||
("common", "0051_remove_notesimage_model_id_and_more")
|
||||
]
|
||||
|
||||
operations = [
|
||||
|
||||
+2
-2
@@ -6,8 +6,8 @@ from django.db import migrations
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("order", "0120_purchaseorder_tags_returnorder_tags_salesorder_tags_and_more"),
|
||||
("common", "0050_remove_notesimage_model_id_and_more")
|
||||
("order", "0121_add_line_item_discount"),
|
||||
("common", "0051_remove_notesimage_model_id_and_more")
|
||||
]
|
||||
|
||||
operations = [
|
||||
@@ -7,7 +7,7 @@ class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("part", "0152_alter_partpricing_currency"),
|
||||
("common", "0050_remove_notesimage_model_id_and_more")
|
||||
("common", "0051_remove_notesimage_model_id_and_more")
|
||||
]
|
||||
|
||||
operations = [
|
||||
|
||||
@@ -7,7 +7,7 @@ class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("stock", "0125_remove_mptt_fields"),
|
||||
("common", "0050_remove_notesimage_model_id_and_more")
|
||||
("common", "0051_remove_notesimage_model_id_and_more")
|
||||
]
|
||||
|
||||
operations = [
|
||||
|
||||
Reference in New Issue
Block a user