ALTER TABLE "router_v1.7"."lots" ADD COLUMN "obligation_id" varchar(66) NOT NULL;--> statement-breakpoint
ALTER TABLE "router_v1.7"."offsets" ADD COLUMN "obligation_id" varchar(66) NOT NULL;--> statement-breakpoint
ALTER TABLE "router_v1.7"."lots" DROP CONSTRAINT "lots_pk";
--> statement-breakpoint
ALTER TABLE "router_v1.7"."lots" ADD CONSTRAINT "lots_pk" PRIMARY KEY("chain_id","user","contract","group","obligation_id");--> statement-breakpoint
ALTER TABLE "router_v1.7"."offsets" DROP CONSTRAINT "offsets_pk";
--> statement-breakpoint
ALTER TABLE "router_v1.7"."offsets" ADD CONSTRAINT "offsets_pk" PRIMARY KEY("chain_id","user","contract","group","obligation_id");