Skip to content

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

Rename productclass made during migration

Krzysztof Wolskiec2456eac36a
diff --git a/saleor/product/migrations/0020_attribute_data_to_class.py b/saleor/product/migrations/0020_attribute_data_to_class.py
index b7b61de600..402bdd255a 100644
--- a/saleor/product/migrations/0020_attribute_data_to_class.py
+++ b/saleor/product/migrations/0020_attribute_data_to_class.py
@@ -16,7 +16,7 @@ def move_data(apps, schema_editor):
product_class = product_class.first()
if product_class is None:
product_class = ProductClass.objects.create(
- name='Migrated Product Class',
+ name='Unnamed product type',
has_variants=True)
product_class.variant_attributes = attributes
product_class.save()