# Generated by Django 4.2 on 2025-05-12 00:33

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("api", "0021_rename_indicator_alert_metric"),
    ]

    operations = [
        migrations.AddField(
            model_name="mission",
            name="description",
            field=models.CharField(default="无描述", max_length=128),
        ),
        migrations.AlterField(
            model_name="alert",
            name="name",
            field=models.CharField(default="未命名告警规则", max_length=64, unique=True),
        ),
        migrations.AlterField(
            model_name="mission",
            name="state",
            field=models.CharField(
                choices=[
                    ("init", "init"),
                    ("calculating", "calculating"),
                    ("pause", "pause"),
                    ("stop", "stop"),
                    ("done", "done"),
                ],
                default="init",
                max_length=32,
            ),
        ),
    ]
