diff --git a/edc_appointment/migrations/0048_alter_appointment_site_and_more.py b/edc_appointment/migrations/0048_alter_appointment_site_and_more.py new file mode 100644 index 0000000..eba4009 --- /dev/null +++ b/edc_appointment/migrations/0048_alter_appointment_site_and_more.py @@ -0,0 +1,36 @@ +# Generated by Django 5.0 on 2024-01-24 18:10 + +import django.db.models.deletion +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("edc_appointment", "0047_alter_appointment_options_and_more"), + ("sites", "0002_alter_domain_unique"), + ] + + operations = [ + migrations.AlterField( + model_name="appointment", + name="site", + field=models.ForeignKey( + null=True, + on_delete=django.db.models.deletion.PROTECT, + related_name="+", + to="sites.site", + ), + ), + migrations.AlterField( + model_name="historicalappointment", + name="site", + field=models.ForeignKey( + blank=True, + db_constraint=False, + null=True, + on_delete=django.db.models.deletion.DO_NOTHING, + related_name="+", + to="sites.site", + ), + ), + ]