ALTER TABLE par_gera_faturamento ADD COLUMN confere_por_razao_fantasia character varying(1); UPDATE par_gera_faturamento SET confere_por_razao_fantasia = 'R' WHERE confere_por_razao_fantasia IS NULL; ALTER TABLE par_gera_faturamento ALTER COLUMN confere_por_razao_fantasia SET NOT NULL;