summaryrefslogtreecommitdiff
path: root/makima/migrations/20250127000000_add_local_only.sql
diff options
context:
space:
mode:
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';