添加字段 pyname

This commit is contained in:
zk
2026-06-04 10:34:09 +08:00
parent 05c288f52b
commit de3a2799b0
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -35,6 +35,7 @@ class Job(MysqlBase):
content_hash: Mapped[Optional[str]] = mapped_column(String(64), comment="内容哈希,用于去重续命")
recruit_category: Mapped[Optional[int]] = mapped_column(Integer, comment="招聘分类: 0=校招 1=实习 2=社招 3=其他")
expire_at: Mapped[Optional[datetime]] = mapped_column(DateTime, comment="发布日期")
pyname: Mapped[Optional[str]] = mapped_column(String(100), comment="脚本名字")
status: Mapped[int] = mapped_column(Integer, default=0, comment="0=上架 1=下架 2=已失效")
create_time: Mapped[datetime] = mapped_column(DateTime, nullable=False, comment="创建时间")
update_time: Mapped[datetime] = mapped_column(DateTime, nullable=False, comment="更新时间")