日报添加字段

This commit is contained in:
Administrator 2023-08-06 21:36:55 +08:00
parent 8c925e6f49
commit 3c810d2a95
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ from Utils.SqlAlchemyUtils import Base
class User(Base): class User(Base):
__tablename__ = "user" __tablename__ = "user"
openid = Column(String(255), primary_key=True, comment="用户OpenID") openid = Column(String(255), comment="用户OpenID")
email = Column(String(255), primary_key=True, comment="邮箱") email = Column(String(255), primary_key=True, comment="邮箱")
phone = Column(String(255), comment="手机号") phone = Column(String(255), comment="手机号")
name = Column(String(32), comment="用户名") name = Column(String(32), comment="用户名")