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