-- Inabilita has_forecast para todos os canais
update customers set has_forecast = false;

-- Criando coluna de customer_id na tabela laboratory e sua fk
ALTER TABLE laboratories 
	add customer_id INTEGER,
	add constraint laboratory_customer_id_foreign foreign key (customer_id) references customers(id);

ALTER TABLE fertility_config
add customer_id INTEGER,
	add constraint customers_customer_id_foreign foreign key (customer_id) references customers(id);