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 noindex

Kiran Keffd51140120
diff --git a/apps/web/prisma/schema.prisma b/apps/web/prisma/schema.prisma
index 30a4829f9e..e09a79d16e 100644
--- a/apps/web/prisma/schema.prisma
+++ b/apps/web/prisma/schema.prisma
@@ -237,6 +237,8 @@ model Link {
// Link cloaking/masking via rewrite
rewrite Boolean @default(false) // whether to rewrite the link or not
+ noindex Boolean @default(false) // whether to noindex the link or not
+
// Custom device targeting
ios String? @db.LongText // custom link for iOS devices
android String? @db.LongText // custom link for Android devices
@@ -357,4 +359,4 @@ model jackson_ttl {
expiresAt BigInt
@@index([expiresAt], map: "_jackson_ttl_expires_at")
-}
\ No newline at end of file
+}