summaryrefslogtreecommitdiff
path: root/makima/migrations/20260130000001_add_auto_merge_local.sql
diff options
context:
space:
mode:
Diffstat (limited to 'makima/migrations/20260130000001_add_auto_merge_local.sql')
-rw-r--r--makima/migrations/20260130000001_add_auto_merge_local.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/makima/migrations/20260130000001_add_auto_merge_local.sql b/makima/migrations/20260130000001_add_auto_merge_local.sql
new file mode 100644
index 0000000..1dd5e5c
--- /dev/null
+++ b/makima/migrations/20260130000001_add_auto_merge_local.sql
@@ -0,0 +1,8 @@
+-- Add auto_merge_local column to contracts table
+-- When enabled alongside local_only, completed task changes will be automatically
+-- merged to the master/main branch locally (without pushing or creating PRs).
+
+ALTER TABLE contracts
+ADD COLUMN IF NOT EXISTS auto_merge_local BOOLEAN NOT NULL DEFAULT FALSE;
+
+COMMENT ON COLUMN contracts.auto_merge_local IS 'Whether to auto-merge to target branch locally when local_only mode is enabled';