typo
This commit is contained in:
parent
e4deacd9c8
commit
5a1be074c0
@ -297,7 +297,7 @@ def pw_hash_nullable(db):
|
|||||||
|
|
||||||
user_table.c.pw_hash.alter(nullable=True)
|
user_table.c.pw_hash.alter(nullable=True)
|
||||||
|
|
||||||
if db.bind.url.drivername is 'sqlite':
|
if db.bind.url.drivername == 'sqlite':
|
||||||
constraint = UniqueConstraint('username', table=user_table)
|
constraint = UniqueConstraint('username', table=user_table)
|
||||||
constraint.create()
|
constraint.create()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user