mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-07 07:55:16 +02:00
fix: call_id and stream_id for vobiz pipeline, add workflow run state (#78)
* fix: add workflow run state for pipeline * fix: call and stream id for vobiz pipeline
This commit is contained in:
parent
4640f69f9b
commit
c99bd29ef1
10 changed files with 139 additions and 14 deletions
|
|
@ -19,7 +19,7 @@ from sqlalchemy import (
|
|||
)
|
||||
from sqlalchemy.orm import declarative_base, relationship
|
||||
|
||||
from ..enums import IntegrationAction, WorkflowRunMode, WorkflowStatus
|
||||
from ..enums import IntegrationAction, WorkflowRunMode, WorkflowRunState, WorkflowStatus
|
||||
|
||||
Base = declarative_base()
|
||||
|
||||
|
|
@ -314,6 +314,12 @@ class WorkflowRunModel(Base):
|
|||
Enum(*[mode.value for mode in WorkflowRunMode], name="workflow_run_mode"),
|
||||
nullable=False,
|
||||
)
|
||||
state = Column(
|
||||
Enum(*[state.value for state in WorkflowRunState], name="workflow_run_state"),
|
||||
nullable=False,
|
||||
default=WorkflowRunState.INITIALIZED.value,
|
||||
server_default=text("'initialized'::workflow_run_state"),
|
||||
)
|
||||
is_completed = Column(Boolean, default=False)
|
||||
recording_url = Column(String, nullable=True)
|
||||
transcript_url = Column(String, nullable=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue