The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
drop redundant indexes
Steven Teyceaefd868a9f
diff --git a/packages/prisma/schema/bounty.prisma b/packages/prisma/schema/bounty.prismaindex a393f9e84c..14dfed7a31 100644--- a/packages/prisma/schema/bounty.prisma+++ b/packages/prisma/schema/bounty.prisma@@ -39,7 +39,6 @@ model Bounty {workflow Workflow? @relation(fields: [workflowId], references: [id], onDelete: Cascade)@@index(programId)- @@index(workflowId)}model BountyGroup {@@ -80,7 +79,6 @@ model BountySubmission {@@unique([bountyId, partnerId])@@index([programId, partnerId])- @@index(programId)@@index(partnerId)@@index(userId)@@index(status)diff --git a/packages/prisma/schema/notification-email.prisma b/packages/prisma/schema/notification.prismasimilarity index 95%rename from packages/prisma/schema/notification-email.prismarename to packages/prisma/schema/notification.prismaindex 06441c08d0..bc8d534a0a 100644--- a/packages/prisma/schema/notification-email.prisma+++ b/packages/prisma/schema/notification.prisma@@ -12,8 +12,7 @@ model NotificationEmail {message Message? @relation(fields: [messageId], references: [id], onDelete: Cascade)- @@index(emailId)+ @@index([emailId, openedAt])@@index(type)@@index(messageId)- @@index([emailId, openedAt])}