BEGIN;

ALTER TABLE IF EXISTS hr_payroll.payroll_adjustments
    ADD COLUMN IF NOT EXISTS metadata JSONB NOT NULL DEFAULT '{}'::jsonb;

COMMIT;
