# Generated by Django 5.1.2 on 2025-02-13 20:49

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('product', '0029_alter_attributevalue_unique_together_and_more'),
    ]

    operations = [
        migrations.RenameField(
            model_name='productvariant',
            old_name='attributes',
            new_name='product_attributes',
        ),
        migrations.AddField(
            model_name='attributevalue',
            name='attribute_type',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='product.attributetype'),
        ),
        migrations.AlterUniqueTogether(
            name='attributevalue',
            unique_together={('attribute_type', 'value')},
        ),
    ]
