diff --git a/src/registrar/migrations/0069_alter_contact_email_alter_contact_first_name_and_more.py b/src/registrar/migrations/0069_alter_contact_email_alter_contact_first_name_and_more.py new file mode 100644 index 000000000..5869e6fae --- /dev/null +++ b/src/registrar/migrations/0069_alter_contact_email_alter_contact_first_name_and_more.py @@ -0,0 +1,45 @@ +# Generated by Django 4.2.7 on 2024-02-14 21:45 + +from django.db import migrations, models +import phonenumber_field.modelfields + + +class Migration(migrations.Migration): + dependencies = [ + ("registrar", "0068_domainapplication_notes_domaininformation_notes"), + ] + + operations = [ + migrations.AlterField( + model_name="contact", + name="email", + field=models.EmailField(blank=True, db_index=True, max_length=254, null=True), + ), + migrations.AlterField( + model_name="contact", + name="first_name", + field=models.TextField(blank=True, db_index=True, null=True, verbose_name="first name / given name"), + ), + migrations.AlterField( + model_name="contact", + name="last_name", + field=models.TextField(blank=True, db_index=True, null=True, verbose_name="last name / family name"), + ), + migrations.AlterField( + model_name="contact", + name="middle_name", + field=models.TextField(blank=True, null=True), + ), + migrations.AlterField( + model_name="contact", + name="phone", + field=phonenumber_field.modelfields.PhoneNumberField( + blank=True, db_index=True, max_length=128, null=True, region=None + ), + ), + migrations.AlterField( + model_name="contact", + name="title", + field=models.TextField(blank=True, null=True, verbose_name="title or role in your organization"), + ), + ] diff --git a/src/registrar/models/contact.py b/src/registrar/models/contact.py index d316cde4c..fae06958e 100644 --- a/src/registrar/models/contact.py +++ b/src/registrar/models/contact.py @@ -18,38 +18,32 @@ class Contact(TimeStampedModel): first_name = models.TextField( null=True, blank=True, - help_text="First name", verbose_name="first name / given name", db_index=True, ) middle_name = models.TextField( null=True, blank=True, - help_text="Middle name (optional)", ) last_name = models.TextField( null=True, blank=True, - help_text="Last name", verbose_name="last name / family name", db_index=True, ) title = models.TextField( null=True, blank=True, - help_text="Title", verbose_name="title or role in your organization", ) email = models.EmailField( null=True, blank=True, - help_text="Email", db_index=True, ) phone = PhoneNumberField( null=True, blank=True, - help_text="Phone", db_index=True, )