No unique for you
This commit is contained in:
parent
5a79174b61
commit
8468b0437c
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ class User(Model):
|
|||
__tablename__ = 'users'
|
||||
id = Column('user_id', Integer, primary_key=True)
|
||||
openid = Column('openid', String(200))
|
||||
name = Column(String(200), unique=True)
|
||||
name = Column(String(200))
|
||||
|
||||
def __init__(self, name, openid):
|
||||
self.name = name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue