remove null true for mobile field

This commit is contained in:
i701 2025-03-24 15:27:10 +05:00
parent d44b2ad6af
commit 7c940c9dd2
Signed by: i701
GPG Key ID: 54A0DA1E26D8E587

View File

@ -11,7 +11,7 @@ from django.utils import timezone
class User(AbstractUser):
email = models.EmailField(unique=True, blank=True, null=True)
address = models.CharField(max_length=255, blank=True)
mobile = models.CharField(max_length=255, blank=True, unique=True, null=True)
mobile = models.CharField(max_length=255, blank=True, unique=True)
designation = models.CharField(max_length=255, blank=True)
acc_no = models.CharField(max_length=255, blank=True)
id_card = models.CharField(max_length=255, blank=True)