Convert submitter to null on delete

This commit is contained in:
Erin Song 2024-09-05 14:37:39 -07:00
parent 79f020b402
commit 2acef3f3d9
No known key found for this signature in database

View file

@ -18,7 +18,7 @@ class Migration(migrations.Migration):
blank=True, blank=True,
help_text='Person listed under "your contact information" in the request form', help_text='Person listed under "your contact information" in the request form',
null=True, null=True,
on_delete=django.db.models.deletion.CASCADE, on_delete=django.db.models.deletion.SET_NULL,
related_name="submitted_domain_requests_information", related_name="submitted_domain_requests_information",
to="registrar.contact", to="registrar.contact",
), ),
@ -30,7 +30,7 @@ class Migration(migrations.Migration):
blank=True, blank=True,
help_text='Person listed under "your contact information" in the request form; will receive email updates', help_text='Person listed under "your contact information" in the request form; will receive email updates',
null=True, null=True,
on_delete=django.db.models.deletion.CASCADE, on_delete=django.db.models.deletion.SET_NULL,
related_name="submitted_domain_requests", related_name="submitted_domain_requests",
to="registrar.contact", to="registrar.contact",
), ),