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.

remove lastChecked column

Steven Tey558ac2907815
diff --git a/apps/web/prisma/schema.prisma b/apps/web/prisma/schema.prisma
index c7d205cd14..2e7a583746 100644
--- a/apps/web/prisma/schema.prisma
+++ b/apps/web/prisma/schema.prisma
@@ -211,7 +211,6 @@ model Link {
clicks Int @default(0) // number of clicks
lastClicked DateTime? // when the link was last clicked
checkDisabled Boolean @default(false) // disable 404 checking
- lastChecked DateTime? // when the link was last checked for 404s
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
@@ -234,7 +233,6 @@ model Link {
@@index(clicks(sort: Desc))
@@index(lastClicked)
@@index(checkDisabled)
- @@index(lastChecked(sort: Asc))
@@index(userId)
@@fulltext([key, url])
}