feat(weibo): 增加外部 CK 账号 CRUD 与生命周期

This commit is contained in:
yml2213
2026-11-08 11:07:23 +08:00
parent dd3508d614
commit a0afa430ec
11 changed files with 611 additions and 10 deletions
+11
View File
@@ -930,8 +930,19 @@ class WeiboAccount(Base):
UTCDateTime, nullable=True
)
tag: Mapped[str] = mapped_column(String(64), default="")
remark: Mapped[str] = mapped_column(
String(256), nullable=False, default="", server_default=""
)
activity: Mapped[str] = mapped_column(String(64), default="")
is_enabled: Mapped[bool] = mapped_column(
Boolean, nullable=False, default=True, server_default="1", index=True
)
disabled_at: Mapped[datetime | None] = mapped_column(UTCDateTime, nullable=True)
disabled_reason: Mapped[str] = mapped_column(
String(256), nullable=False, default="", server_default=""
)
ck_check_status: Mapped[str] = mapped_column(
String(16), nullable=False, default="", server_default=""
)