# Generated by Django 5.1.2 on 2025-07-28 11:44

from django.conf import settings
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('home', '0018_remove_showcaseslider_image_and_more'),
        ('product', '0049_alter_productmodel_slug'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.AddIndex(
            model_name='commentmodel',
            index=models.Index(fields=['product'], name='comment_product_idx'),
        ),
        migrations.AddIndex(
            model_name='commentmodel',
            index=models.Index(fields=['review_status'], name='comment_review_status_idx'),
        ),
        migrations.AddIndex(
            model_name='commentmodel',
            index=models.Index(fields=['product', 'review_status'], name='comment_product_status_idx'),
        ),
        migrations.AddIndex(
            model_name='commentmodel',
            index=models.Index(fields=['user'], name='comment_user_idx'),
        ),
        migrations.AddIndex(
            model_name='commentmodel',
            index=models.Index(fields=['timestamp'], name='comment_timestamp_idx'),
        ),
        migrations.AddIndex(
            model_name='detailmodel',
            index=models.Index(fields=['detail_model'], name='detail_model_idx'),
        ),
        migrations.AddIndex(
            model_name='detailmodel',
            index=models.Index(fields=['title'], name='detail_title_idx'),
        ),
        migrations.AddIndex(
            model_name='dollormodel',
            index=models.Index(fields=['unique_filed'], name='dollor_unique_field_idx'),
        ),
        migrations.AddIndex(
            model_name='maincategorymodel',
            index=models.Index(fields=['slug'], name='main_category_slug_idx'),
        ),
        migrations.AddIndex(
            model_name='productdetailcategory',
            index=models.Index(fields=['title'], name='detail_category_title_idx'),
        ),
        migrations.AddIndex(
            model_name='productdetailmodel',
            index=models.Index(fields=['detail_category'], name='product_detail_category_idx'),
        ),
        migrations.AddIndex(
            model_name='productmodel',
            index=models.Index(fields=['slug'], name='product_slug_idx'),
        ),
        migrations.AddIndex(
            model_name='productmodel',
            index=models.Index(fields=['category'], name='product_category_idx'),
        ),
        migrations.AddIndex(
            model_name='productmodel',
            index=models.Index(fields=['name'], name='product_name_idx'),
        ),
        migrations.AddIndex(
            model_name='productmodel',
            index=models.Index(fields=['created_at'], name='product_created_at_idx'),
        ),
        migrations.AddIndex(
            model_name='productmodel',
            index=models.Index(fields=['show'], name='product_show_idx'),
        ),
        migrations.AddIndex(
            model_name='productmodel',
            index=models.Index(fields=['category', 'created_at'], name='product_category_created_idx'),
        ),
        migrations.AddIndex(
            model_name='productmodel',
            index=models.Index(fields=['category', 'name'], name='product_category_name_idx'),
        ),
        migrations.AddIndex(
            model_name='productvariant',
            index=models.Index(fields=['product', 'price', 'created_at'], name='idx_product_price_created'),
        ),
        migrations.AddIndex(
            model_name='productvariant',
            index=models.Index(fields=['in_stock', 'discount'], name='idx_stock_discount'),
        ),
        migrations.AddIndex(
            model_name='productvariant',
            index=models.Index(fields=['created_at'], name='idx_created'),
        ),
        migrations.AddIndex(
            model_name='productvariant',
            index=models.Index(fields=['price'], name='idx_price'),
        ),
        migrations.AddIndex(
            model_name='productvariant',
            index=models.Index(fields=['discount'], name='product_variant_discount_idx'),
        ),
        migrations.AddIndex(
            model_name='productvariant',
            index=models.Index(fields=['in_stock'], name='product_variant_in_stock_idx'),
        ),
        migrations.AddIndex(
            model_name='productvariant',
            index=models.Index(fields=['product'], name='product_variant_product_idx'),
        ),
        migrations.AddIndex(
            model_name='productvariant',
            index=models.Index(fields=['slider_category'], name='variant_slider_category_idx'),
        ),
        migrations.AddIndex(
            model_name='productvariant',
            index=models.Index(fields=['slider_category', 'in_stock'], name='variant_slider_stock_idx'),
        ),
        migrations.AddIndex(
            model_name='productvariant',
            index=models.Index(fields=['slider_category', 'discount'], name='variant_slider_discount_idx'),
        ),
        migrations.AddIndex(
            model_name='productvariant',
            index=models.Index(fields=['slider_category', 'created_at'], name='variant_slider_created_idx'),
        ),
        migrations.AddIndex(
            model_name='productvariant',
            index=models.Index(fields=['product', 'in_stock'], name='variant_product_stock_idx'),
        ),
        migrations.AddIndex(
            model_name='productvariant',
            index=models.Index(fields=['product', 'discount'], name='variant_product_discount_idx'),
        ),
        migrations.AddIndex(
            model_name='productvariant',
            index=models.Index(fields=['currency'], name='variant_currency_idx'),
        ),
        migrations.AddIndex(
            model_name='subcategorymodel',
            index=models.Index(fields=['slug'], name='sub_category_slug_idx'),
        ),
        migrations.AddIndex(
            model_name='subcategorymodel',
            index=models.Index(fields=['parent'], name='sub_category_parent_idx'),
        ),
    ]
