From 5bdb198a14dfdadc1cf63b8fd289b3849e0ca5ee Mon Sep 17 00:00:00 2001 From: bobr Date: Sun, 3 Sep 2023 20:11:32 +0300 Subject: [PATCH] removed unique=True in coordinator model for phone and telegram --- src/bot/models.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/bot/models.py b/src/bot/models.py index f87828b..da9b93a 100644 --- a/src/bot/models.py +++ b/src/bot/models.py @@ -40,7 +40,6 @@ class Coordinator(BaseModel): ) phone_number = models.CharField( max_length=20, - unique=True, validators=[phone_regex], blank=True, null=True, @@ -49,7 +48,6 @@ class Coordinator(BaseModel): ) telegram_account = models.CharField( max_length=32, - unique=True, validators=[telegram_regex], blank=True, null=True,