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

Steven Teyc4e4c5b38ba9
diff --git a/apps/web/prisma/schema.prisma b/apps/web/prisma/schema.prisma
index 1503439cd5..860294bbcb 100644
--- a/apps/web/prisma/schema.prisma
+++ b/apps/web/prisma/schema.prisma
@@ -318,6 +318,7 @@ model Customer {
@@index(projectId)
@@index(projectConnectId)
@@index(externalId)
+ @@unique([projectId, externalId])
@@unique([projectConnectId, externalId])
}