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