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.

add lastLeadAt

Steven Teydf14e8622a42
diff --git a/packages/prisma/schema/link.prisma b/packages/prisma/schema/link.prisma
index 53feacd0b2..f686b50e68 100644
--- a/packages/prisma/schema/link.prisma
+++ b/packages/prisma/schema/link.prisma
@@ -62,7 +62,8 @@ model Link {
saleAmount Int @default(0) // total revenue from sales (in cents)
lastClicked DateTime? // when the link was last clicked
- lastConversionAt DateTime? // when the link was last converted to a sale
+ lastLeadAt DateTime? // when the link last brought in a new lead
+ lastConversionAt DateTime? // when the link last brought in a new conversion
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt