ALTER TABLE par_faturamento ADD COLUMN grava_faturamento_parcial character varying(1); UPDATE par_faturamento SET grava_faturamento_parcial = 'N' WHERE grava_faturamento_parcial IS NULL; ALTER TABLE par_faturamento ALTER COLUMN grava_faturamento_parcial SET NOT NULL;