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.

make bodyJson required

Steven Tey258961c32824
diff --git a/packages/prisma/schema/campaign.prisma b/packages/prisma/schema/campaign.prisma
index e08c5bbaed..93f3201093 100644
--- a/packages/prisma/schema/campaign.prisma
+++ b/packages/prisma/schema/campaign.prisma
@@ -25,7 +25,7 @@ model Campaign {
name String
subject String
body String? @db.Text // TODO: Remove after migration complete
- bodyJson Json? @db.Json // TODO: Make this required before merging this PR
+ bodyJson Json @db.Json
scheduledAt DateTime?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt