Skip to content

Commit

Permalink
Clean 0024_rewrite_order_line_relations.py migration
Browse files Browse the repository at this point in the history
  • Loading branch information
IKarbowiak committed Apr 27, 2022
1 parent 52afe8e commit 7e5e3dc
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions saleor/warehouse/migrations/0024_rewrite_order_line_relations.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ class Migration(migrations.Migration):
on_delete=django.db.models.deletion.CASCADE, to="order.orderline"
),
),
# migrations.AlterUniqueTogether(
# name='allocation',
# unique_together={('order_line_token', 'stock')},
# ),
migrations.RemoveField(
model_name="allocation",
name="order_line",
Expand All @@ -33,10 +29,6 @@ class Migration(migrations.Migration):
old_name="order_line_token",
new_name="order_line",
),
# migrations.AlterUniqueTogether(
# name='allocation',
# unique_together={('order_line', 'stock')},
# ),
migrations.AlterField(
model_name="allocation",
name="order_line",
Expand All @@ -54,10 +46,6 @@ class Migration(migrations.Migration):
on_delete=django.db.models.deletion.CASCADE, to="order.orderline"
),
),
# migrations.AlterUniqueTogether(
# name='preorderallocation',
# unique_together={('order_line_token', 'product_variant_channel_listing')},
# ),
migrations.RemoveField(
model_name="preorderallocation",
name="order_line",
Expand All @@ -67,10 +55,6 @@ class Migration(migrations.Migration):
old_name="order_line_token",
new_name="order_line",
),
# migrations.AlterUniqueTogether(
# name='preorderallocation',
# unique_together={('order_line', 'product_variant_channel_listing')},
# ),
migrations.AlterField(
model_name="preorderallocation",
name="order_line",
Expand Down

0 comments on commit 7e5e3dc

Please sign in to comment.