Skip to content

Commit

Permalink
removed unique=True in coordinator model for phone and telegram
Browse files Browse the repository at this point in the history
  • Loading branch information
bobr2072 committed Sep 3, 2023
1 parent 97819b2 commit 5bdb198
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/bot/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ class Coordinator(BaseModel):
)
phone_number = models.CharField(
max_length=20,
unique=True,
validators=[phone_regex],
blank=True,
null=True,
Expand All @@ -49,7 +48,6 @@ class Coordinator(BaseModel):
)
telegram_account = models.CharField(
max_length=32,
unique=True,
validators=[telegram_regex],
blank=True,
null=True,
Expand Down

0 comments on commit 5bdb198

Please sign in to comment.