The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update link.prisma
Steven Tey7f1c6013b0bb
diff --git a/packages/prisma/schema/link.prisma b/packages/prisma/schema/link.prismaindex 0faf3f1ff1..7e83b5e638 100644--- a/packages/prisma/schema/link.prisma+++ b/packages/prisma/schema/link.prisma@@ -68,7 +68,8 @@ model Link {comments String? @db.LongTextdashboard Dashboard?- programEnrollment ProgramEnrollment? @relation(fields: [tenantId, programId], references: [tenantId, programId])+ partnerId String?+ programEnrollment ProgramEnrollment? @relation(fields: [partnerId, programId], references: [partnerId, programId])programInvite ProgramInvite?program Program? @relation(fields: [programId], references: [id])@@ -85,7 +86,7 @@ model Link {@@index(lastClicked)@@index(userId)@@unique([projectId, externalId])- @@index(programId)@@index(tenantId)- @@index([tenantId, programId])-}+ @@index(programId)+ @@index([partnerId, programId])+}\ No newline at end of file