The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
remove unused composite index
Steven Teycbc78e2c93d4
diff --git a/apps/web/app/(ee)/api/cron/usage/utils.ts b/apps/web/app/(ee)/api/cron/usage/utils.tsindex d5c0d4f17d..8bcd3ad5d9 100644--- a/apps/web/app/(ee)/api/cron/usage/utils.ts+++ b/apps/web/app/(ee)/api/cron/usage/utils.ts@@ -49,14 +49,9 @@ export const updateUsage = async () => {},sentEmails: true,},- orderBy: [- {- usageLastChecked: "asc",- },- {- createdAt: "asc",- },- ],+ orderBy: {+ usageLastChecked: "asc",+ },take: limit,});