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 link-based-coupon-codes

Kiran K0b4b16f56375
diff --cc packages/prisma/schema/link.prisma
index 06aaeb1243,f686b50e68..333c40c82d
--- a/packages/prisma/schema/link.prisma
+++ b/packages/prisma/schema/link.prisma
@@@ -7,13 -7,15 +7,14 @@@ model Link
archived Boolean @default(false) // whether the link is archived or not
expiresAt DateTime? // when the link expires – stored on Redis via ttl
expiredUrl String? @db.Text // URL to redirect the user to when the link is expired
+ disabledAt DateTime? // when the link was disabled
password String? // password to access the link
trackConversion Boolean @default(false) // whether to track conversions or not
-
- proxy Boolean @default(false) // Proxy to use custom OG tags (stored on redis) – if false, will use OG tags from target url
- title String? // OG title for the link (e.g. Dub - open-source link attribution platform)
- description String? @db.VarChar(280) // OG description for the link (e.g. The modern link attribution platform for short links, conversion tracking, and affiliate programs.)
- image String? @db.LongText // OG image for the link (e.g. https://d.to/og)
- video String? @db.Text // OG video for the link
+ proxy Boolean @default(false) // Proxy to use custom OG tags (stored on redis) – if false, will use OG tags from target url
+ title String? // OG title for the link (e.g. Dub - open-source link attribution platform)
+ description String? @db.VarChar(280) // OG description for the link (e.g. The modern link attribution platform for short links, conversion tracking, and affiliate programs.)
+ image String? @db.LongText // OG image for the link (e.g. https://d.to/og)
+ video String? @db.Text // OG video for the link
// UTM parameters
utm_source String? // UTM source for the link (e.g. youtube.com)