summaryrefslogtreecommitdiff
path: root/makima/migrations/20250127000000_add_local_only.sql
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2026-01-26 18:39:19 +0000
committersoryu <soryu@soryu.co>2026-01-26 18:39:19 +0000
commitb6118a540aa18173ab0db2796915453a4828094b (patch)
treeec19fba1b33aca7c8cd9f25c59f6d45f0efd6e10 /makima/migrations/20250127000000_add_local_only.sql
parent27e5efc8f69425e963e82f621655faf2680f2a88 (diff)
downloadsoryu-makima/task-task-372e6a1a-372e6a1a.tar.gz
soryu-makima/task-task-372e6a1a-372e6a1a.zip
[WIP] Heartbeat checkpoint - 2026-01-26 18:39:19 UTCmakima/task-task-372e6a1a-372e6a1a
Diffstat (limited to 'makima/migrations/20250127000000_add_local_only.sql')
-rw-r--r--makima/migrations/20250127000000_add_local_only.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/makima/migrations/20250127000000_add_local_only.sql b/makima/migrations/20250127000000_add_local_only.sql
new file mode 100644
index 0000000..2cd594e
--- /dev/null
+++ b/makima/migrations/20250127000000_add_local_only.sql
@@ -0,0 +1,8 @@
+-- Add local_only column to contracts table
+-- When enabled, automatic completion actions (branch, merge, pr) are skipped,
+-- allowing users to manually handle code changes via patch files or other means.
+
+ALTER TABLE contracts
+ADD COLUMN IF NOT EXISTS local_only BOOLEAN NOT NULL DEFAULT FALSE;
+
+COMMENT ON COLUMN contracts.local_only IS 'Whether to skip automatic completion actions (branch, merge, pr) for this contract';