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 notification.prisma

Kiran K850fd80f101b
diff --git a/packages/prisma/schema/notification.prisma b/packages/prisma/schema/notification.prisma
index 6182c36f8e..7008c5e57a 100644
--- a/packages/prisma/schema/notification.prisma
+++ b/packages/prisma/schema/notification.prisma
@@ -5,21 +5,19 @@ enum NotificationEmailType {
}
model NotificationEmail {
- id String @id @default(cuid())
- emailId String @unique // Resend email id
- type NotificationEmailType
- messageId String?
- bountyId String?
- campaignId String?
-
+ id String @id @default(cuid())
+ emailId String @unique // Resend email id
+ type NotificationEmailType
+ messageId String?
+ bountyId String?
+ campaignId String?
programId String?
partnerId String?
recipientUserId String?
-
- deliveredAt DateTime?
- openedAt DateTime?
- bouncedAt DateTime?
- createdAt DateTime @default(now())
+ deliveredAt DateTime?
+ openedAt DateTime?
+ bouncedAt DateTime?
+ createdAt DateTime @default(now())
message Message? @relation(fields: [messageId], references: [id], onDelete: Cascade)
bounty Bounty? @relation(fields: [bountyId], references: [id], onDelete: Cascade)