The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
remove old indexes
Steven Tey6bb27d34ce22
diff --git a/apps/web/app/(ee)/api/admin/partners/trusted/route.ts b/apps/web/app/(ee)/api/admin/partners/trusted/route.tsindex 32d674acd3..a3ab1501d6 100644--- a/apps/web/app/(ee)/api/admin/partners/trusted/route.ts+++ b/apps/web/app/(ee)/api/admin/partners/trusted/route.ts@@ -8,9 +8,7 @@ import * as z from "zod/v4";export const GET = withAdmin(async () => {const partners = await prisma.partner.findMany({where: {- trustedAt: {- not: null,- },+ networkStatus: "trusted",},orderBy: {trustedAt: "desc",diff --git a/packages/email/src/templates/network-partner-application-approved.tsx b/packages/email/src/templates/network-partner-application-approved.tsxindex cb06a6025e..f38b72fdcd 100644--- a/packages/email/src/templates/network-partner-application-approved.tsx+++ b/packages/email/src/templates/network-partner-application-approved.tsx@@ -77,10 +77,9 @@ export default function NetworkPartnerApplicationApproved({</Link></Section>- <Footer- email={email}- notificationSettingsUrl="https://partners.dub.co/profile/notifications"- />+ <Section className="mx-auto max-w-[400px] text-center">+ <Footer email={email} />+ </Section></Container></Body></Tailwind>diff --git a/packages/prisma/schema/partner.prisma b/packages/prisma/schema/partner.prismaindex 2ccc66187e..b3726b6860 100644--- a/packages/prisma/schema/partner.prisma+++ b/packages/prisma/schema/partner.prisma@@ -113,7 +113,6 @@ model Partner {@@index(country)@@index(networkStatus)@@index(createdAt)- @@index(trustedAt) // TODO: remove index once we fully migrate to networkStatus@@index(payoutMethodHash)@@index(cryptoWalletAddress)@@index(identityVerifiedAt)