BEGIN;

ALTER TABLE IF EXISTS public.mail
    ADD COLUMN IF NOT EXISTS locked boolean NOT NULL DEFAULT false;

END;