diff --git a/src/backend/bisheng/database/models/audit_log.py b/src/backend/bisheng/database/models/audit_log.py index 7cfbda92c..822072a07 100644 --- a/src/backend/bisheng/database/models/audit_log.py +++ b/src/backend/bisheng/database/models/audit_log.py @@ -63,7 +63,7 @@ class AuditLogBase(SQLModelSerializable): event_type: Optional[str] = Field(index=True, description="操作行为") object_type: Optional[str] = Field(index=True, description="操作对象类型") object_id: Optional[int] = Field(index=True, description="操作对象ID") - object_name: Optional[str] = Field(description="操作对象名称") + object_name: Optional[str] = Field(sa_column=Column(Text), description="操作对象名称") note: Optional[str] = Field(sa_column=Column(Text), description="操作备注") ip_address: Optional[str] = Field(index=True, description="操作时客户端的IP地址") create_time: Optional[datetime] = Field(sa_column=Column(