CREATE UNIQUE INDEX "unique_latest_vendor" ON "rfq_last_details" USING btree ("rfqs_last_id","vendors_id") WHERE "rfq_last_details"."is_latest" = true;--> statement-breakpoint CREATE INDEX "idx_rfqs_last_id" ON "rfq_last_details" USING btree ("rfqs_last_id");--> statement-breakpoint CREATE INDEX "idx_vendors_id" ON "rfq_last_details" USING btree ("vendors_id");--> statement-breakpoint CREATE INDEX "idx_is_latest" ON "rfq_last_details" USING btree ("is_latest");