diff --git a/guardian/migrations/0007_alter_guardian_country_name.py b/guardian/migrations/0007_alter_guardian_country_name.py new file mode 100644 index 0000000..2cbfd73 --- /dev/null +++ b/guardian/migrations/0007_alter_guardian_country_name.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.2 on 2023-06-30 10:53 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('guardian', '0006_guardian_is_verified'), + ] + + operations = [ + migrations.AlterField( + model_name='guardian', + name='country_name', + field=models.CharField(blank=True, default=None, max_length=100, null=True), + ), + ] diff --git a/guardian/models.py b/guardian/models.py index 3040c82..1ecf47f 100644 --- a/guardian/models.py +++ b/guardian/models.py @@ -13,7 +13,7 @@ class Guardian(models.Model): """Contact details""" country_code = models.IntegerField(blank=True, null=True) phone = models.CharField(max_length=31, null=True, blank=True, default=None) - country_name = models.CharField(max_length=30, null=True, blank=True, default=None) + country_name = models.CharField(max_length=100, null=True, blank=True, default=None) """Image info""" image = models.ImageField(null=True, blank=True, default=None) """Personal info""" diff --git a/junior/migrations/0006_alter_junior_country_name.py b/junior/migrations/0006_alter_junior_country_name.py new file mode 100644 index 0000000..e3db0ba --- /dev/null +++ b/junior/migrations/0006_alter_junior_country_name.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.2 on 2023-06-30 10:53 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('junior', '0005_junior_is_verified'), + ] + + operations = [ + migrations.AlterField( + model_name='junior', + name='country_name', + field=models.CharField(blank=True, default=None, max_length=100, null=True), + ), + ] diff --git a/junior/models.py b/junior/models.py index 762032b..331673f 100644 --- a/junior/models.py +++ b/junior/models.py @@ -14,7 +14,7 @@ class Junior(models.Model): """Contact details""" phone = models.CharField(max_length=31, null=True, blank=True, default=None) country_code = models.IntegerField(blank=True, null=True) - country_name = models.CharField(max_length=30, null=True, blank=True, default=None) + country_name = models.CharField(max_length=100, null=True, blank=True, default=None) """Personal info""" gender = models.CharField(max_length=10, choices=GENDERS, null=True, blank=True, default=None) dob = models.DateField(max_length=15, null=True, blank=True, default=None)