# Generated by Django 4.2 on 2026-02-12 08:38

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("music", "0001_initial"),
    ]

    operations = [
        migrations.AddField(
            model_name="track",
            name="generation_status",
            field=models.CharField(
                choices=[
                    ("pending", "待生成"),
                    ("generating", "生成中"),
                    ("completed", "已完成"),
                    ("failed", "失败"),
                ],
                default="completed",
                max_length=20,
                verbose_name="生成状态",
            ),
        ),
        migrations.AddField(
            model_name="track",
            name="is_default",
            field=models.BooleanField(default=False, verbose_name="是否默认曲目"),
        ),
        migrations.AlterField(
            model_name="track",
            name="mood",
            field=models.CharField(
                blank=True,
                choices=[
                    ("chill", "放松"),
                    ("happy", "开心"),
                    ("sleepy", "助眠"),
                    ("random", "随机"),
                    ("custom", "自定义"),
                ],
                max_length=20,
                null=True,
                verbose_name="情绪标签",
            ),
        ),
        migrations.AddIndex(
            model_name="track",
            index=models.Index(
                fields=["user", "is_default"], name="track_user_id_b59e35_idx"
            ),
        ),
    ]
