This commit is contained in:
qiangyanwen 2022-12-18 09:29:32 +08:00
parent f71db279ec
commit 46deb0d368
1 changed files with 1 additions and 1 deletions

View File

@ -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="邮箱")