diff --git a/scripts/create_tables.py b/scripts/create_tables.py index 0d7b0e8..4dfbd76 100644 --- a/scripts/create_tables.py +++ b/scripts/create_tables.py @@ -121,7 +121,8 @@ CREATE TABLE IF NOT EXISTS sd_work_envs ( _V2_COLUMNS = { "pipelines": {"agent_config": "text"}, "sd_org_settings": {"agent_config": "text"}, - "pipeline_tasks": {"retry_count": "int NOT NULL DEFAULT 0", "last_error": "text"}, + "pipeline_tasks": {"retry_count": "int NOT NULL DEFAULT 0", "last_error": "text", + "parent_id": "varchar(32) NULL", "depends_on": "text NULL"}, } # app_audit 审计日志表(原 app_audit/init.py::_init_audit 启动时建,现迁到部署期)