-- 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';
