# Generated by Django 5.2 on 2025-06-21 17:14

import django_extensions.db.fields
from django.db import migrations


class Migration(migrations.Migration):
    dependencies = [
        ("core", "0031_alter_product_slug"),
    ]

    operations = [
        migrations.AlterField(
            model_name="brand",
            name="slug",
            field=django_extensions.db.fields.AutoSlugField(
                allow_unicode=True,
                blank=True,
                editable=False,
                max_length=88,
                null=True,
                overwrite=True,
                populate_from=("name",),
                unique=True,
                verbose_name="brand slug",
            ),
        ),
        migrations.AlterField(
            model_name="category",
            name="slug",
            field=django_extensions.db.fields.AutoSlugField(
                allow_unicode=True,
                blank=True,
                editable=False,
                max_length=88,
                null=True,
                overwrite=True,
                populate_from=("uuid", "name"),
                unique=True,
            ),
        ),
        migrations.AlterField(
            model_name="product",
            name="slug",
            field=django_extensions.db.fields.AutoSlugField(
                allow_unicode=True,
                blank=True,
                editable=False,
                max_length=88,
                null=True,
                overwrite=True,
                populate_from=("name", "brand__slug", "category__slug", "uuid"),
                unique=True,
            ),
        ),
    ]
