# Generated by Django 5.1.4 on 2025-04-07 09:50

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


class Migration(migrations.Migration):

    dependencies = [
        ('atlas', '0067_case_cimar_uuid'),
        ('shorts', '0002_question_marking_guidance_alter_question_history'),
    ]

    operations = [
        migrations.CreateModel(
            name='QuestionFinding',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('description', models.TextField(blank=True, help_text='Findings on the question', null=True)),
                ('annotation_json', models.TextField(blank=True, null=True)),
                ('viewport_json', models.TextField(blank=True, null=True)),
                ('current_image_id_index', models.TextField(blank=True, null=True)),
                ('conditions', models.ManyToManyField(blank=True, to='atlas.condition')),
                ('findings', models.ManyToManyField(blank=True, to='atlas.finding')),
                ('question', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='findings', to='shorts.question')),
                ('structures', models.ManyToManyField(blank=True, to='atlas.structure')),
            ],
        ),
    ]
