add workflow_run_id & workflow_run_block_id to script_blocks table (#3879)

This commit is contained in:
Shuchang Zheng
2025-11-03 12:35:15 +08:00
committed by GitHub
parent 6e2d5b30e8
commit 0264ee87b6
2 changed files with 35 additions and 0 deletions

View File

@@ -975,6 +975,8 @@ class ScriptBlockModel(Base):
script_block_label = Column(String, nullable=False)
script_file_id = Column(String, nullable=True)
run_signature = Column(String, nullable=True)
workflow_run_id = Column(String, nullable=True)
workflow_run_block_id = 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)