mirror of
https://github.com/inventree/InvenTree.git
synced 2026-09-01 09:41:22 +00:00
Fix migrations
This commit is contained in:
@@ -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 = [
|
||||
|
||||
+1
-1
@@ -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),
|
||||
]
|
||||
+4
-4
@@ -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 = [
|
||||
+1
-1
@@ -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 = [
|
||||
@@ -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."""
|
||||
|
||||
+1
-1
@@ -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 = [
|
||||
|
||||
+1
-1
@@ -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 = [
|
||||
|
||||
+2
-2
@@ -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 = [
|
||||
+2
-2
@@ -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 = [
|
||||
Reference in New Issue
Block a user