Skip to content

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

Migrations

Pacu23f179dcf677d
diff --git a/saleor/product/migrations/0072_auto_20180925_1048.py b/saleor/product/migrations/0072_auto_20180925_1048.py
new file mode 100644
index 0000000000..1baba37328
--- /dev/null
+++ b/saleor/product/migrations/0072_auto_20180925_1048.py
@@ -0,0 +1,47 @@
+# Generated by Django 2.0.8 on 2018-09-25 15:48
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('product', '0071_attributechoicevalue_value'),
+ ]
+
+ operations = [
+ migrations.RenameModel(
+ old_name='ProductAttribute',
+ new_name='Attribute',
+ ),
+ migrations.RenameModel(
+ old_name='AttributeChoiceValueTranslation',
+ new_name='AttributeValueTranslation',
+ ),
+ migrations.RenameModel(
+ old_name='AttributeChoiceValue',
+ new_name='AttributeValue',
+ ),
+ migrations.RenameModel(
+ old_name='ProductAttributeTranslation',
+ new_name='AttributeTranslation',
+ ),
+ migrations.RenameField(
+ model_name='attributetranslation',
+ old_name='product_attribute',
+ new_name='attribute',
+ ),
+ migrations.RenameField(
+ model_name='attributevaluetranslation',
+ old_name='attribute_choice_value',
+ new_name='attribute_value',
+ ),
+ migrations.AlterUniqueTogether(
+ name='attributetranslation',
+ unique_together={('language_code', 'attribute')},
+ ),
+ migrations.AlterUniqueTogether(
+ name='attributevaluetranslation',
+ unique_together={('language_code', 'attribute_value')},
+ ),
+ ]