Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Revert unwated model change
Ania Warzecha61d1248d5c42
diff --git a/saleor/attribute/migrations/0031_extend_attributr_value_fields_length.py b/saleor/attribute/migrations/0031_extend_attributr_value_fields_length.pyindex 90450e97a0..13cb0f2edf 100644--- a/saleor/attribute/migrations/0031_extend_attributr_value_fields_length.py+++ b/saleor/attribute/migrations/0031_extend_attributr_value_fields_length.py@@ -9,16 +9,6 @@ class Migration(migrations.Migration):]operations = [- migrations.AlterField(- model_name="attribute",- name="name",- field=models.CharField(max_length=250),- ),- migrations.AlterField(- model_name="attribute",- name="slug",- field=models.SlugField(allow_unicode=True, max_length=255, unique=True),- ),migrations.AlterField(model_name="attributetranslation",name="name",diff --git a/saleor/attribute/models/base.py b/saleor/attribute/models/base.pyindex 3e7ab2794c..246fc6f01e 100644--- a/saleor/attribute/models/base.py+++ b/saleor/attribute/models/base.py@@ -112,8 +112,8 @@ AttributeManager = models.Manager.from_queryset(AttributeQuerySet)class Attribute(ModelWithMetadata, ModelWithExternalReference):- slug = models.SlugField(max_length=255, unique=True, allow_unicode=True)- name = models.CharField(max_length=250)+ slug = models.SlugField(max_length=250, unique=True, allow_unicode=True)+ name = models.CharField(max_length=255)type = models.CharField(max_length=50, choices=AttributeType.CHOICES)input_type = models.CharField(