# Generated by Django 4.2 on 2025-03-14 09:07

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


class Migration(migrations.Migration):

    dependencies = [
        ("api", "0011_result_plan_result_state"),
    ]

    operations = [
        migrations.AddField(
            model_name="result",
            name="edgeFile",
            field=models.ForeignKey(
                default=1,
                on_delete=django.db.models.deletion.CASCADE,
                related_name="own_results_edge",
                to="api.file",
            ),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name="result",
            name="nodeFile",
            field=models.ForeignKey(
                default=1,
                on_delete=django.db.models.deletion.CASCADE,
                related_name="own_results_node",
                to="api.file",
            ),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name="result",
            name="plan",
            field=models.OneToOneField(
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="own_result",
                to="api.plan",
            ),
        ),
    ]
