The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
model Dashboard {
id String @id
link Link? @relation(fields: [linkId], references: [id], onUpdate: Cascade, onDelete: Cascade)
linkId String? @unique
folder Folder? @relation(fields: [folderId], references: [id], onUpdate: Cascade, onDelete: Cascade)
folderId String? @unique
// Project that the share link belongs to
project Project? @relation(fields: [projectId], references: [id], onUpdate: Cascade, onDelete: Cascade)
projectId String?
// User who created the shared dashboard
user User? @relation(fields: [userId], references: [id], onUpdate: Cascade, onDelete: Cascade)
userId String?
// additional link configurations
doIndex Boolean @default(false) // whether to index the share link on Google or not
password String? // password to access the share link
showConversions Boolean @default(false)
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
@@index(projectId)
@@index(userId)
}