add idx_job_id for workflow run (#3655)

This commit is contained in:
LawyZheng
2025-10-09 16:30:40 +08:00
committed by GitHub
parent 26f1f37738
commit 9cf6034952
2 changed files with 36 additions and 1 deletions

View File

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