-- Platform-wide analytics counts PageView by timestamp only (no dealerId),
-- which cannot use the dealerId-leading composite indexes. Add a standalone
-- timestamp index. CONCURRENTLY avoids locking writes on this high-volume table
-- during deploy; it must be the ONLY statement in this migration so Prisma does
-- not wrap it in a transaction (CONCURRENTLY cannot run inside one).
CREATE INDEX CONCURRENTLY IF NOT EXISTS "PageView_timestamp_idx" ON "PageView"("timestamp");
