feat(core): update backend coordinator, docgov lease, squad workflow and web governance integration
This commit is contained in:
@@ -53,6 +53,14 @@ CREATE TABLE IF NOT EXISTS document_records (
|
||||
|
||||
-- 可配置项 (Config JSONB)
|
||||
config JSONB NOT NULL DEFAULT '{"reject_rollback_to": "drafting", "allow_approver_to_reviewer": true}'::jsonb,
|
||||
|
||||
-- 编辑租约 (运行时互斥,正交于 is_locked)
|
||||
lease_holder_type TEXT NOT NULL DEFAULT '',
|
||||
lease_holder_id TEXT NOT NULL DEFAULT '',
|
||||
lease_work_dir TEXT NOT NULL DEFAULT '',
|
||||
lease_expires_at TIMESTAMPTZ,
|
||||
lease_heartbeat_at TIMESTAMPTZ,
|
||||
|
||||
created_at TIMESTAMPTZ NOT NULL DEFAULT now(),
|
||||
updated_at TIMESTAMPTZ NOT NULL DEFAULT now()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user