create and update workflow run block inworkflow execution (#1419)

This commit is contained in:
Shuchang Zheng
2024-12-22 11:16:23 -08:00
committed by GitHub
parent 8b75586fb1
commit b256bace6a
8 changed files with 279 additions and 54 deletions

View File

@@ -503,6 +503,7 @@ class WorkflowRunBlockModel(Base):
status = Column(String, nullable=False)
output = Column(JSON, nullable=True)
continue_on_failure = Column(Boolean, nullable=False, default=False)
failure_reason = Column(String, nullable=True)
created_at = Column(DateTime, default=datetime.datetime.utcnow, nullable=False)
modified_at = Column(DateTime, default=datetime.datetime.utcnow, onupdate=datetime.datetime.utcnow, nullable=False)