summaryrefslogblamecommitdiff
path: root/makima/migrations/20260130000001_add_auto_merge_local.sql
blob: 1dd5e5c10610a79b207f77a76325b52d737c0f29 (plain) (tree)
1
2
3
4
5
6
7
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';