Make search_name Char

This commit is contained in:
PCoder 2021-11-28 10:50:51 +05:30
parent edf89706e7
commit 346a739828
2 changed files with 19 additions and 1 deletions

View file

@ -0,0 +1,18 @@
# Generated by Django 3.2.5 on 2021-11-28 05:20
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('app', '0031_auto_20211128_0514'),
]
operations = [
migrations.AlterField(
model_name='person',
name='search_name',
field=models.CharField(blank=True, max_length=100, null=True),
),
]

View file

@ -546,7 +546,7 @@ class Person(models.Model):
mr_mrs = models.TextField(blank=True, null=True, choices=MR_MRS_CHOICES)
full_name = models.CharField(blank=True, null=True, max_length=100)
search_name = models.TextField(blank=True, null=True, max_length=100)
search_name = models.CharField(blank=True, null=True, max_length=100)
email_2 = models.EmailField(blank=True, null=True)
skype = models.CharField(blank=True, null=True, max_length=50)
professional_phone = models.CharField(blank=True, null=True, max_length=50)