# Generated by Django 4.2.3 on 2023-08-03 01:59

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


class Migration(migrations.Migration):
    dependencies = [
        ("intecomm_subject", "0073_healtheconomicspatient_pat_ethnicity_new_and_more"),
    ]

    operations = [
        migrations.AddField(
            model_name="healtheconomicspatient",
            name="pat_ethnicity",
            field=models.ForeignKey(
                null=True,
                on_delete=django.db.models.deletion.PROTECT,
                to="edc_he.ethnicities",
                verbose_name="What is your ethnic background?",
            ),
        ),
        migrations.AddField(
            model_name="historicalhealtheconomicspatient",
            name="pat_ethnicity",
            field=models.ForeignKey(
                blank=True,
                db_constraint=False,
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                to="edc_he.ethnicities",
                verbose_name="What is your ethnic background?",
            ),
        ),
        migrations.AlterField(
            model_name="healtheconomicspatient",
            name="pat_ethnicity_old",
            field=models.CharField(
                max_length=25, verbose_name="What is your ethnic background?"
            ),
        ),
        migrations.AlterField(
            model_name="historicalhealtheconomicspatient",
            name="pat_ethnicity_old",
            field=models.CharField(
                max_length=25, verbose_name="What is your ethnic background?"
            ),
        ),
    ]
