Add a title search parameter to workflows endpoint, add index to work… (#1638)

Co-authored-by: Muhammed Salih Altun <muhammedsalihaltun@gmail.com>
This commit is contained in:
Shuchang Zheng
2025-01-25 02:59:02 +08:00
committed by GitHub
parent 5c37ebbb9e
commit ef93ad65d3
5 changed files with 37 additions and 0 deletions

View File

@@ -194,6 +194,7 @@ class WorkflowModel(Base):
name="uc_org_permanent_id_version",
),
Index("permanent_id_version_idx", "workflow_permanent_id", "version"),
Index("organization_id_title_idx", "organization_id", "title"),
)
workflow_id = Column(String, primary_key=True, index=True, default=generate_workflow_id)