细节优化
This commit is contained in:
@@ -126,6 +126,11 @@ class Document(UUIDPrimaryKeyMixin, TimestampMixin, Base):
|
||||
nullable=False,
|
||||
comment="状态 (PENDING/PROCESSING/READY/FAILED/DELETED)",
|
||||
)
|
||||
deleted_at: Mapped[str | None] = mapped_column(
|
||||
String(32),
|
||||
nullable=True,
|
||||
comment="进入回收站时间(NULL=未删除),3 天后自动清理",
|
||||
)
|
||||
error_code: Mapped[str | None] = mapped_column(
|
||||
String(64),
|
||||
nullable=True,
|
||||
|
||||
Reference in New Issue
Block a user