mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-09 10:56:52 +08:00
fix: slow sql of ops tracing (#5749)
This commit is contained in:
@@ -626,6 +626,7 @@ class Message(db.Model):
|
||||
db.Index('message_conversation_id_idx', 'conversation_id'),
|
||||
db.Index('message_end_user_idx', 'app_id', 'from_source', 'from_end_user_id'),
|
||||
db.Index('message_account_idx', 'app_id', 'from_source', 'from_account_id'),
|
||||
db.Index('message_workflow_run_id_idx', 'conversation_id', 'workflow_run_id')
|
||||
)
|
||||
|
||||
id = db.Column(StringUUID, server_default=db.text('uuid_generate_v4()'))
|
||||
|
||||
Reference in New Issue
Block a user