# Generated by Django 4.1.4 on 2023-06-19 10:51

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


class Migration(migrations.Migration):
    dependencies = [
        ("longs", "0002_alter_longseries_modality"),
        ("atlas", "0003_alter_series_modality"),
        ("generic", "0002_modality_examination_modality"),
        ("anatomy", "0002_initial"),
    ]

    operations = [
        # migrations.DeleteModel(
        #    name='Modality',
        # ),
        migrations.SeparateDatabaseAndState(
            state_operations=[
                migrations.DeleteModel(
                    name="Modality",
                ),
            ],
            database_operations=[
                migrations.AlterModelTable(
                    name="Modality",
                    table="generic_modality",
                ),
            ],
        ),
        migrations.SeparateDatabaseAndState(
            state_operations=[
                migrations.AlterField(
                    model_name="anatomyquestion",
                    name="modality",
                    field=models.ForeignKey(
                        help_text="Modality of the image",
                        null=True,
                        on_delete=django.db.models.deletion.SET_NULL,
                        to="generic.modality",
                    ),
                ),
            ],
            database_operations=[],
        ),
    ]
