finalize medical consultation agent backend

This commit is contained in:
刘金宝
2026-06-03 15:51:46 +08:00
parent 93d9e1c6a5
commit eb43573a44
33 changed files with 1063 additions and 281 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ class AuditLog(Base):
__tablename__ = "audit_logs"
id: Mapped[int] = mapped_column(Integer, primary_key=True, autoincrement=True)
user_id: Mapped[str | None] = mapped_column(String(128), index=True)
user_id: Mapped[str | None] = mapped_column(String(128), index=True, comment="Django用户中心ID")
tenant_id: Mapped[str | None] = mapped_column(String(128))
session_id: Mapped[int | None] = mapped_column(Integer, index=True)
action: Mapped[str] = mapped_column(String(64), nullable=False, index=True)