mirror of https://github.com/langgenius/dify.git
Revert "perf: optimizing db WorkflowAppLog index" (#19432)
This commit is contained in:
parent
198fbb9b3d
commit
2ad7305349
|
|
@ -736,8 +736,7 @@ class WorkflowAppLog(Base):
|
|||
__tablename__ = "workflow_app_logs"
|
||||
__table_args__ = (
|
||||
db.PrimaryKeyConstraint("id", name="workflow_app_log_pkey"),
|
||||
db.Index("workflow_app_log_app_idx", "tenant_id", "app_id", "created_at"),
|
||||
db.Index("workflow_app_log_workflow_run_idx", "workflow_run_id"),
|
||||
db.Index("workflow_app_log_app_idx", "tenant_id", "app_id"),
|
||||
)
|
||||
|
||||
id: Mapped[str] = mapped_column(StringUUID, server_default=db.text("uuid_generate_v4()"))
|
||||
|
|
|
|||
Loading…
Reference in New Issue