add test
This commit is contained in:
parent
f71db279ec
commit
46deb0d368
|
|
@ -13,7 +13,7 @@ class User(DatabaseModel):
|
|||
用户表
|
||||
"""
|
||||
__tablename__ = "user"
|
||||
id = Column(INT, primary_key=True,comment='主键id')
|
||||
id = Column(INT, primary_key=True, comment='主键id')
|
||||
username = Column(String(16), unique=True, index=True, comment="用户名")
|
||||
password = Column(String(256), comment="密码")
|
||||
email = Column(String(64), unique=True, nullable=False, comment="邮箱")
|
||||
|
|
|
|||
Loading…
Reference in New Issue