TER TABLE par_faturamento ADD COLUMN tipo_entrega_integracao_site integer; UPDATE par_faturamento SET tipo_entrega_integracao_site = 1 WHERE tipo_entrega_integracao_site IS NULL; ALTER TABLE par_faturamento ALTER COLUMN tipo_entrega_integracao_site SET NOT NULL;