# Generated by Django 4.2.27 on 2026-03-22 22:09

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("shangpin", "0013_gsfenhong_huiyuan_id_gsfenhong_zuzhang_fenhong_and_more"),
    ]

    operations = [
        migrations.RemoveIndex(
            model_name="duocifenhong",
            name="duoci_fenho_guanshi_b3de53_idx",
        ),
        migrations.RemoveIndex(
            model_name="duocifenhong",
            name="duoci_fenho_zuzhang_69997d_idx",
        ),
        migrations.AlterUniqueTogether(
            name="duocifenhong",
            unique_together=set(),
        ),
        migrations.AddField(
            model_name="duocifenhong",
            name="yonghuid",
            field=models.CharField(
                db_index=True, default=123, max_length=7, verbose_name="用户ID"
            ),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name="shangpin",
            name="ewai_dashou_fencheng",
            field=models.DecimalField(
                blank=True,
                decimal_places=2,
                max_digits=10,
                null=True,
                verbose_name="打手额外分成金额",
            ),
        ),
        migrations.AddField(
            model_name="shangpin",
            name="kaioi_ewai_dashou_fencheng",
            field=models.BooleanField(
                default=False, verbose_name="是否开启打手额外分成"
            ),
        ),
        migrations.AlterField(
            model_name="duocifenhong",
            name="huiyuan",
            field=models.CharField(max_length=10, verbose_name="会员ID"),
        ),
        migrations.AlterUniqueTogether(
            name="duocifenhong",
            unique_together={("huiyuan", "yonghuid", "cishu")},
        ),
        migrations.AddIndex(
            model_name="duocifenhong",
            index=models.Index(
                fields=["yonghuid"], name="duoci_fenho_yonghui_db6a2f_idx"
            ),
        ),
        migrations.RemoveField(
            model_name="duocifenhong",
            name="guanshi",
        ),
        migrations.RemoveField(
            model_name="duocifenhong",
            name="zuzhang",
        ),
    ]
