Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update reward.prisma

Steven Tey831766cd0965
diff --git a/packages/prisma/schema/reward.prisma b/packages/prisma/schema/reward.prisma
index 4c862cbd54..ae5120b560 100644
--- a/packages/prisma/schema/reward.prisma
+++ b/packages/prisma/schema/reward.prisma
@@ -30,6 +30,7 @@ model Reward {
saleEnrollments ProgramEnrollment[] @relation("SaleRewardEnrollments")
@@index([programId, event])
+ @@index(event) // used in aggregate-clicks cron job
}
// TODO: Remove this table after https://github.com/dubinc/dub/pull/2504 merges