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 index on `Partner.cryptoWalletAddress` (#3571)

Kiran K8078353d8ab4
diff --git a/packages/prisma/schema/partner.prisma b/packages/prisma/schema/partner.prisma
index 0906af3419..2649a524e2 100644
--- a/packages/prisma/schema/partner.prisma
+++ b/packages/prisma/schema/partner.prisma
@@ -81,6 +81,7 @@ model Partner {
@@index(discoverableAt)
@@index(trustedAt)
@@index(payoutMethodHash)
+ @@index(cryptoWalletAddress)
@@fulltext([email, name, companyName]) // For full-text search
}