diff --git a/InvenTree/company/migrations/0032_manufacturerpart.py b/InvenTree/company/migrations/0033_manufacturerpart.py similarity index 96% rename from InvenTree/company/migrations/0032_manufacturerpart.py rename to InvenTree/company/migrations/0033_manufacturerpart.py index 0f7450b32a..3189bb9a20 100644 --- a/InvenTree/company/migrations/0032_manufacturerpart.py +++ b/InvenTree/company/migrations/0033_manufacturerpart.py @@ -6,7 +6,7 @@ import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ - ('company', '0031_auto_20210103_2215'), + ('company', '0032_auto_20210403_1837'), ] operations = [ diff --git a/InvenTree/company/migrations/0033_supplierpart_update.py b/InvenTree/company/migrations/0034_supplierpart_update.py similarity index 97% rename from InvenTree/company/migrations/0033_supplierpart_update.py rename to InvenTree/company/migrations/0034_supplierpart_update.py index de98ff72cb..3e0d3a8328 100644 --- a/InvenTree/company/migrations/0033_supplierpart_update.py +++ b/InvenTree/company/migrations/0034_supplierpart_update.py @@ -71,7 +71,8 @@ def supplierpart_make_manufacturer_parts(apps, schema_editor): class Migration(migrations.Migration): dependencies = [ - ('company', '0032_manufacturerpart'), + ('company', '0032_auto_20210403_1837'), + ('company', '0033_manufacturerpart'), ] operations = [ diff --git a/InvenTree/company/test_migrations.py b/InvenTree/company/test_migrations.py index 6b01192092..bf837d821a 100644 --- a/InvenTree/company/test_migrations.py +++ b/InvenTree/company/test_migrations.py @@ -109,11 +109,11 @@ class TestManufacturerField(MigratorTestCase): class TestManufacturerPart(MigratorTestCase): """ - Tests for migration 0032 and 0033 which added ManufacturerPart model + Tests for migration 0033 and 0034 which added and transitioned to the ManufacturerPart model """ - migrate_from = ('company', '0031_auto_20210103_2215') - migrate_to = ('company', '0033_supplierpart_update') + migrate_from = ('company', '0032_auto_20210403_1837') + migrate_to = ('company', '0034_supplierpart_update') def prepare(self): """