# Generated by Django 4.2 on 2025-03-13 18:18

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ("api", "0010_algorithm_plan"),
    ]

    operations = [
        migrations.AddField(
            model_name="result",
            name="plan",
            field=models.ForeignKey(
                default=1,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="own_results",
                to="api.plan",
            ),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name="result",
            name="state",
            field=models.CharField(
                choices=[
                    ("init", "init"),
                    ("calculating", "calculating"),
                    ("done", "done"),
                ],
                default="init",
                max_length=20,
            ),
            preserve_default=False,
        ),
    ]
