db: add depends_on_workflow_run_id index (#4037)

This commit is contained in:
Shuchang Zheng
2025-11-19 11:33:00 -08:00
committed by GitHub
parent 0b47dff89d
commit d055b2fef9
2 changed files with 35 additions and 1 deletions

View File

@@ -317,7 +317,7 @@ class WorkflowRunModel(Base):
browser_address = Column(String, nullable=True)
script_run = Column(JSON, nullable=True)
job_id = Column(String, nullable=True, index=True)
depends_on_workflow_run_id = Column(String, nullable=True)
depends_on_workflow_run_id = Column(String, nullable=True, index=True)
sequential_key = Column(String, nullable=True)
run_with = Column(String, nullable=True) # 'agent' or 'code'
debug_session_id: Column = Column(String, nullable=True)