From da2d4c5f3146f35d2d7dbbcaaa493dfcbd6ea273 Mon Sep 17 00:00:00 2001 From: Jon Roberts Date: Tue, 2 May 2023 13:42:39 -0600 Subject: [PATCH] New migration file --- .../migrations/0018_domaininformation.py | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/registrar/migrations/0018_domaininformation.py diff --git a/src/registrar/migrations/0018_domaininformation.py b/src/registrar/migrations/0018_domaininformation.py new file mode 100644 index 000000000..ea91de52a --- /dev/null +++ b/src/registrar/migrations/0018_domaininformation.py @@ -0,0 +1,42 @@ +# Generated by Django 4.1.6 on 2023-05-02 19:38 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + dependencies = [ + ("registrar", "0017_alter_domainapplication_status_and_more"), + ] + + operations = [ + migrations.CreateModel( + name="DomainInformation", + fields=[ + ( + "domainapplication_ptr", + models.OneToOneField( + auto_created=True, + on_delete=django.db.models.deletion.CASCADE, + parent_link=True, + primary_key=True, + serialize=False, + to="registrar.domainapplication", + ), + ), + ( + "security_email", + models.EmailField( + blank=True, + help_text="Security email for public use", + max_length=320, + null=True, + ), + ), + ], + options={ + "abstract": False, + }, + bases=("registrar.domainapplication",), + ), + ]