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.

remove redundant unique constraint

Steven Tey080aca3cc2f2
diff --git a/apps/web/prisma/schema/customer.prisma b/apps/web/prisma/schema/customer.prisma
index 71537c5c70..ce74dc2a9d 100644
--- a/apps/web/prisma/schema/customer.prisma
+++ b/apps/web/prisma/schema/customer.prisma
@@ -35,7 +35,6 @@ model Customer {
submittedLeads SubmittedLead[]
@@unique([projectId, externalId])
- @@unique([projectConnectId, externalId])
@@index([projectId, email])
@@index([projectId, createdAt])
@@index([projectId, saleAmount])