Merge remote-tracking branch 'origin/feat/plugins' into dev/plugin-deploy

This commit is contained in:
Yeuoly
2024-11-21 14:35:14 +08:00
290 changed files with 3601 additions and 3350 deletions

View File

@ -732,6 +732,7 @@ class Message(Base):
Index("message_end_user_idx", "app_id", "from_source", "from_end_user_id"),
Index("message_account_idx", "app_id", "from_source", "from_account_id"),
Index("message_workflow_run_id_idx", "conversation_id", "workflow_run_id"),
Index("message_created_at_idx", "created_at"),
)
id = db.Column(StringUUID, server_default=db.text("uuid_generate_v4()"))