Remove unique-ness constraint
This commit is contained in:
parent
a363ada41c
commit
bd5ebe070b
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ class EmailConfirmation(BaseModel):
|
|||
code = CharField(default=random_string_generator(), unique=True, index=True)
|
||||
user = ForeignKeyField(User)
|
||||
pw_reset = BooleanField(default=False)
|
||||
new_email = CharField(null=True, unique=True)
|
||||
new_email = CharField(null=True)
|
||||
email_confirm = BooleanField(default=False)
|
||||
created = DateTimeField(default=datetime.now)
|
||||
|
||||
|
|
Reference in a new issue