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.

Merge branch 'main' into partner-link-structure

Steven Teyf9a80bad683b
diff --cc packages/prisma/schema/program.prisma
index 4174ab628c,8769d788f4..ce700b60d3
--- a/packages/prisma/schema/program.prisma
+++ b/packages/prisma/schema/program.prisma
@@@ -74,10 -58,19 +74,10 @@@ model Program
discounts Discount[] @relation("ProgramDiscounts")
defaultDiscount Discount? @relation("ProgramDefaultDiscount", fields: [defaultDiscountId], references: [id], onDelete: NoAction, onUpdate: NoAction)
- @@index([workspaceId])
- @@index([domain])
+ @@index(workspaceId)
+ @@index(domain)
}
-enum PartnerBannedReason {
- tos_violation
- inappropriate_content
- fake_traffic
- fraud
- spam
- brand_abuse
-}
-
model ProgramEnrollment {
id String @id @default(cuid())
partnerId String