CREATE TYPE "public"."resize_mode" AS ENUM('fit', 'fill');--> statement-breakpoint
DROP INDEX "image_variants_lookup_idx";--> statement-breakpoint
ALTER TABLE "image_variants" ADD COLUMN "resize_mode" "resize_mode" DEFAULT 'fit' NOT NULL;--> statement-breakpoint
CREATE UNIQUE INDEX "image_variants_lookup_idx" ON "image_variants" USING btree ("asset_id","asset_version","preset","width","height","resize_mode","quality","format");