-- Change reconcile_mode from BOOLEAN to TEXT with three-way enum: auto, semi-auto, manual. -- Backward compatibility: true -> 'semi-auto', false -> 'auto'. ALTER TABLE directives ALTER COLUMN reconcile_mode TYPE TEXT USING CASE WHEN reconcile_mode THEN 'semi-auto' ELSE 'auto' END; ALTER TABLE directives ALTER COLUMN reconcile_mode SET DEFAULT 'auto';