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.

Update program.prisma

Steven Teya8aea66ad140
diff --git a/packages/prisma/schema/program.prisma b/packages/prisma/schema/program.prisma
index 5ff9efd8b3..c6ca87ffe4 100644
--- a/packages/prisma/schema/program.prisma
+++ b/packages/prisma/schema/program.prisma
@@ -24,20 +24,6 @@ enum ProgramPayoutMode {
external // All payouts are processed through external
}
-enum Category {
- Artificial_Intelligence
- Development
- Design
- Productivity
- Finance
- Marketing
- Ecommerce
- Security
- Education
- Health
- Consumer
-}
-
model Program {
id String @id @default(cuid())
workspaceId String
@@ -212,12 +198,3 @@ model ProgramCategory {
@@unique([programId, category])
}
-
-model ProgramCategory {
- programId String
- category Category
-
- program Program @relation(fields: [programId], references: [id], onDelete: Cascade)
-
- @@unique([programId, category])
-}