DO $$
BEGIN
ALTER TABLE ORGAO_CANCELACION ADD INDPERMITEDEVTOTALRIOCARD NUMBER (1,0) DEFAULT 0;
EXCEPTION WHEN duplicate_column THEN NULL;
END
$$;