ALTER TABLE "offers_v1.1"."indexing_progress" RENAME TO "collector_block_numbers";--> statement-breakpoint
ALTER TABLE "offers_v1.1"."collector_block_numbers" RENAME COLUMN "event_type" TO "name";--> statement-breakpoint
ALTER TABLE "offers_v1.1"."collector_block_numbers" RENAME COLUMN "latest_block_number" TO "block_number";--> statement-breakpoint
DROP INDEX "offers_v1.1"."indexing_progress_chain_event_unique";--> statement-breakpoint
CREATE UNIQUE INDEX "collector_block_numbers_chain_name_idx" ON "offers_v1.1"."collector_block_numbers" USING btree ("chain_id","name");