CREATE UNIQUE INDEX "chains_chain_id_idx" ON "router_v1.7"."chains" USING btree ("chain_id");--> statement-breakpoint
CREATE UNIQUE INDEX "collectors_chain_name_idx" ON "router_v1.7"."collectors" USING btree ("chain_id","name");--> statement-breakpoint
ALTER TABLE "router_v1.7"."collectors" ADD CONSTRAINT "collectors_chain_id_chains_chain_id_fk" FOREIGN KEY ("chain_id") REFERENCES "router_v1.7"."chains"("chain_id") ON DELETE no action ON UPDATE no action;
