CREATE INDEX IF NOT EXISTS "GeneratedImage_featured_featuredAt_idx" ON "GeneratedImage" ("isFeatured", "featuredAt" DESC) WHERE "isFeatured" = true;