Feat/clean message records (#10588)
This commit is contained in:
parent
c49efc0c22
commit
128efc3193
6 changed files with 127 additions and 8 deletions
|
|
@ -719,6 +719,7 @@ class Message(db.Model):
|
|||
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"),
|
||||
db.Index("message_created_at_idx", "created_at"),
|
||||
)
|
||||
|
||||
id = db.Column(StringUUID, server_default=db.text("uuid_generate_v4()"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue