Fixed models for migrations (should also resolve test)

This commit is contained in:
CocoByte 2024-02-27 21:20:37 -07:00
parent 2d55a4a422
commit 9e04371e26
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F
2 changed files with 3 additions and 5 deletions

View file

@ -1,4 +1,4 @@
# Generated by Django 4.2.10 on 2024-02-28 00:07
# Generated by Django 4.2.10 on 2024-02-28 04:17
from django.db import migrations, models
import phonenumber_field.modelfields
@ -849,9 +849,7 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name="transitiondomain",
name="phone",
field=phonenumber_field.modelfields.PhoneNumberField(
blank=True, help_text="Phone", max_length=128, null=True, region=None
),
field=models.CharField(blank=True, help_text="Phone", null=True),
),
migrations.AlterField(
model_name="transitiondomain",

View file

@ -108,7 +108,7 @@ class TransitionDomain(TimeStampedModel):
blank=True,
help_text="Email",
)
phone = PhoneNumberField(
phone = models.CharField(
null=True,
blank=True,
help_text="Phone",