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 commission.prisma

Steven Tey128d74f89ca0
diff --git a/packages/prisma/schema/commission.prisma b/packages/prisma/schema/commission.prisma
index bd031368ee..d9ffe28d5c 100644
--- a/packages/prisma/schema/commission.prisma
+++ b/packages/prisma/schema/commission.prisma
@@ -41,7 +41,7 @@ model Commission {
customer Customer? @relation(fields: [customerId], references: [id])
@@unique([programId, invoiceId])
- @@index([earnings, programId, partnerId, status, type])
+ @@index([earnings, programId, partnerId, status])
@@index([partnerId, customerId])
@@index(payoutId)
@@index(customerId)