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.

Merge branch 'main' into referrals-tokens

Kiran K52d7d3d0f766
diff --cc apps/web/prisma/schema/link.prisma
index ce45a28bed,912cec4a52..bd3dc4f993
--- a/apps/web/prisma/schema/link.prisma
+++ b/apps/web/prisma/schema/link.prisma
@@@ -62,10 -62,9 +62,11 @@@ model Link
// Comments on the particular shortlink
comments String? @db.LongText
+ referralPublicTokens ReferralPublicToken[]
+
@@unique([domain, key])
@@unique([projectId, externalId])
+ @@unique([projectId, identifier])
@@index(projectId)
@@index(domain)
@@index(trackConversion)