Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix quantity allocated migration (#9183)

Tomasz Szymańskibe94a60495b7
diff --git a/saleor/warehouse/migrations/0020_stock_quantity_allocated.py b/saleor/warehouse/migrations/0016_stock_quantity_allocated.py
similarity index 90%
rename from saleor/warehouse/migrations/0020_stock_quantity_allocated.py
rename to saleor/warehouse/migrations/0016_stock_quantity_allocated.py
index f962e9845b..56845e5964 100644
--- a/saleor/warehouse/migrations/0020_stock_quantity_allocated.py
+++ b/saleor/warehouse/migrations/0016_stock_quantity_allocated.py
@@ -1,4 +1,4 @@
-# Generated by Django 3.2.6 on 2022-02-16 09:11
+# Generated by Django 3.2.6 on 2021-12-21 11:33
from django.db import migrations, models
from django.db.models import OuterRef, Subquery, Sum
@@ -24,7 +24,7 @@ def assign_quantity_allocated_to_stocks(apps, schema_editor):
class Migration(migrations.Migration):
dependencies = [
- ("warehouse", "0019_auto_20211019_1438"),
+ ("warehouse", "0015_alter_stock_quantity"),
]
operations = [
diff --git a/saleor/warehouse/migrations/0020_merge_20220217_1316.py b/saleor/warehouse/migrations/0020_merge_20220217_1316.py
new file mode 100644
index 0000000000..d9e0f7e509
--- /dev/null
+++ b/saleor/warehouse/migrations/0020_merge_20220217_1316.py
@@ -0,0 +1,13 @@
+# Generated by Django 3.2.12 on 2022-02-17 13:16
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ("warehouse", "0016_stock_quantity_allocated"),
+ ("warehouse", "0019_auto_20211019_1438"),
+ ]
+
+ operations = []