Apply suggestion from @asukaminato0721

Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
This commit is contained in:
-LAN- 2025-11-05 03:41:26 +08:00
parent 483288b1bb
commit bb857df799
No known key found for this signature in database
GPG Key ID: 6BA0D108DED011FF
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ from core.workflow.enums import WorkflowExecutionStatus
from libs.helper import generate_string # type: ignore[import-not-found]
from .account import Account, Tenant
from .base import Base
from .base import Base, TypeBase
from .engine import db
from .enums import CreatorUserRole
from .provider_ids import GenericProviderID
@ -1771,7 +1771,7 @@ class MessageChain(Base):
created_at = mapped_column(sa.DateTime, nullable=False, server_default=sa.func.current_timestamp())
class MessageAgentThought(Base):
class MessageAgentThought(TypeBase):
__tablename__ = "message_agent_thoughts"
__table_args__ = (
sa.PrimaryKeyConstraint("id", name="message_agent_thought_pkey"),