数据查询,账号字段增加
This commit is contained in:
@@ -6,10 +6,11 @@ class Account(Base):
|
||||
__tablename__ = "accounts"
|
||||
|
||||
id = Column(Integer, primary_key=True, index=True, autoincrement=True)
|
||||
username = Column(String(50), unique=True, index=True, nullable=False, comment="用户名")
|
||||
password = Column(String(100), nullable=False, comment="密码")
|
||||
username = Column(String(500), unique=True, index=True, nullable=False, comment="用户名")
|
||||
password = Column(String(1000), nullable=False, comment="密码")
|
||||
status = Column(Integer, default=1, comment="状态: 1-正常, 0-禁用")
|
||||
today_updated = Column(Integer, default=0, comment="是否更新")
|
||||
project_name = Column(String(100), comment="项目名称")
|
||||
project_name = Column(String(1000), comment="项目名称")
|
||||
created_at = Column(DateTime, server_default=func.now(), comment="创建时间")
|
||||
updated_at = Column(DateTime, server_default=func.now(), onupdate=func.now(), comment="更新时间")
|
||||
updated_at = Column(DateTime, server_default=func.now(), onupdate=func.now(), comment="更新时间")
|
||||
update_time = Column(String(1000), comment="更新时间跨度")
|
||||
Reference in New Issue
Block a user