# Generated by Django 6.0 on 2026-01-07 19:17

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


class Migration(migrations.Migration):

    dependencies = [
        ("edc_he", "0013_alter_healtheconomicsassets_singleton_field_and_more"),
        ("meta_subject", "0238_historicalhivexitreview_available_and_more"),
    ]

    operations = [
        migrations.AlterField(
            model_name="education",
            name="subject_visit",
            field=models.OneToOneField(
                on_delete=django.db.models.deletion.PROTECT,
                to=f"{settings.SUBJECT_VISIT_MODEL}",
            ),
        ),
        migrations.AlterField(
            model_name="healtheconomicsassets",
            name="subject_visit",
            field=models.OneToOneField(
                on_delete=django.db.models.deletion.PROTECT,
                to=f"{settings.SUBJECT_VISIT_MODEL}",
            ),
        ),
        migrations.AlterField(
            model_name="healtheconomicshouseholdhead",
            name="subject_visit",
            field=models.OneToOneField(
                on_delete=django.db.models.deletion.PROTECT,
                to=f"{settings.SUBJECT_VISIT_MODEL}",
            ),
        ),
        migrations.AlterField(
            model_name="healtheconomicsincome",
            name="subject_visit",
            field=models.OneToOneField(
                on_delete=django.db.models.deletion.PROTECT,
                to=f"{settings.SUBJECT_VISIT_MODEL}",
            ),
        ),
        migrations.AlterField(
            model_name="healtheconomicspatient",
            name="subject_visit",
            field=models.OneToOneField(
                on_delete=django.db.models.deletion.PROTECT,
                to=f"{settings.SUBJECT_VISIT_MODEL}",
            ),
        ),
        migrations.AlterField(
            model_name="healtheconomicsproperty",
            name="subject_visit",
            field=models.OneToOneField(
                on_delete=django.db.models.deletion.PROTECT,
                to=f"{settings.SUBJECT_VISIT_MODEL}",
            ),
        ),
        migrations.AlterField(
            model_name="historicaleducation",
            name="subject_visit",
            field=models.ForeignKey(
                blank=True,
                db_constraint=False,
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                to=f"{settings.SUBJECT_VISIT_MODEL}",
            ),
        ),
        migrations.AlterField(
            model_name="historicalhealtheconomicsassets",
            name="subject_visit",
            field=models.ForeignKey(
                blank=True,
                db_constraint=False,
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                to=f"{settings.SUBJECT_VISIT_MODEL}",
            ),
        ),
        migrations.AlterField(
            model_name="historicalhealtheconomicshouseholdhead",
            name="subject_visit",
            field=models.ForeignKey(
                blank=True,
                db_constraint=False,
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                to=f"{settings.SUBJECT_VISIT_MODEL}",
            ),
        ),
        migrations.AlterField(
            model_name="historicalhealtheconomicsincome",
            name="subject_visit",
            field=models.ForeignKey(
                blank=True,
                db_constraint=False,
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                to=f"{settings.SUBJECT_VISIT_MODEL}",
            ),
        ),
        migrations.AlterField(
            model_name="historicalhealtheconomicspatient",
            name="subject_visit",
            field=models.ForeignKey(
                blank=True,
                db_constraint=False,
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                to=f"{settings.SUBJECT_VISIT_MODEL}",
            ),
        ),
        migrations.AlterField(
            model_name="historicalhealtheconomicsproperty",
            name="subject_visit",
            field=models.ForeignKey(
                blank=True,
                db_constraint=False,
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                to=f"{settings.SUBJECT_VISIT_MODEL}",
            ),
        ),
    ]
