feat: 平台同步状态记录(last_synced_at + 前端展示最后同步时间)
This commit is contained in:
@@ -41,4 +41,7 @@ class Provider(SQLModel, table=True):
|
||||
)
|
||||
enabled: bool = Field(default=True, description="是否启用")
|
||||
remark: Optional[str] = Field(default=None, description="备注")
|
||||
last_synced_at: Optional[datetime] = Field(
|
||||
default=None, description="最近一次 SDK 同步时间"
|
||||
)
|
||||
created_at: datetime = Field(default_factory=datetime.utcnow, description="创建时间")
|
||||
|
||||
Reference in New Issue
Block a user