add browser_session_id to these tables: tasks, workflow_runs & task v2 (#2869)
This commit is contained in:
@@ -61,6 +61,7 @@ class TaskModel(Base):
|
||||
|
||||
task_id = Column(String, primary_key=True, default=generate_task_id)
|
||||
organization_id = Column(String, ForeignKey("organizations.organization_id"))
|
||||
browser_session_id = Column(String, nullable=True, index=True)
|
||||
status = Column(String, index=True)
|
||||
webhook_callback_url = Column(String)
|
||||
totp_verification_url = Column(String)
|
||||
@@ -256,6 +257,7 @@ class WorkflowRunModel(Base):
|
||||
# workfow runs with parent_workflow_run_id are nested workflow runs which won't show up in the workflow run history
|
||||
parent_workflow_run_id = Column(String, nullable=True, index=True)
|
||||
organization_id = Column(String, nullable=False, index=True)
|
||||
browser_session_id = Column(String, nullable=True, index=True)
|
||||
status = Column(String, nullable=False)
|
||||
failure_reason = Column(String)
|
||||
proxy_location = Column(String)
|
||||
@@ -630,6 +632,7 @@ class TaskV2Model(Base):
|
||||
workflow_run_id = Column(String, nullable=True)
|
||||
workflow_id = Column(String, nullable=True)
|
||||
workflow_permanent_id = Column(String, nullable=True)
|
||||
browser_session_id = Column(String, nullable=True, index=True)
|
||||
prompt = Column(UnicodeText, nullable=True)
|
||||
url = Column(String, nullable=True)
|
||||
summary = Column(String, nullable=True)
|
||||
|
||||
Reference in New Issue
Block a user