The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
npx prisma format
Steven Teya14b5c4e7458
diff --git a/apps/web/prisma/schema.prisma b/apps/web/prisma/schema.prismaindex 8a5c338f61..d2541f7134 100644--- a/apps/web/prisma/schema.prisma+++ b/apps/web/prisma/schema.prisma@@ -211,7 +211,7 @@ model Link {expiresAt DateTime? // when the link expires – stored on Redis via ttlexpiredUrl String? @db.LongText // URL to redirect the user to when the link is expiredpassword String? // password to access the link- externalId String?+ externalId String?proxy Boolean @default(false) // Proxy to use custom OG tags (stored on redis) – if false, will use OG tags from target urltitle String? // OG title for the link (e.g. Dub.co - Open-Source Link Management Infrastructure)@@ -243,14 +243,14 @@ model Link {// Relational reference to the project domainprojectDomain Domain? @relation(fields: [domain], references: [slug], onUpdate: Cascade, onDelete: Cascade)- publicStats Boolean @default(false) // whether to show public stats or not- clicks Int @default(0) // number of clicks- lastClicked DateTime? // when the link was last clicked- createdAt DateTime @default(now())- updatedAt DateTime @updatedAt+ publicStats Boolean @default(false) // whether to show public stats or not+ clicks Int @default(0) // number of clicks+ lastClicked DateTime? // when the link was last clicked+ createdAt DateTime @default(now())+ updatedAt DateTime @updatedAt// Link tags- tags LinkTag[]+ tags LinkTag[]// Comments on the particular shortlinkcomments String? @db.LongText