# Generated by Django 5.2 on 2025-06-29 13:09

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


class Migration(migrations.Migration):
    dependencies = [
        ("core", "0034_category_priority_alter_brand_priority"),
    ]

    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="Slug",
            ),
        ),
        migrations.AlterField(
            model_name="category",
            name="slug",
            field=core.utils.db.TweakedAutoSlugField(
                allow_unicode=True,
                blank=True,
                editable=False,
                max_length=88,
                null=True,
                overwrite=True,
                populate_from=("parent__name", "name"),
                unique=True,
                verbose_name="Slug",
            ),
        ),
        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,
                verbose_name="Slug",
            ),
        ),
    ]
