feat: Add type to campaign

This commit is contained in:
Dries Augustyns
2026-04-01 18:49:51 +02:00
parent 3343e891bd
commit d24259e8d2
9 changed files with 139 additions and 20 deletions
+3
View File
@@ -291,6 +291,9 @@ model Campaign {
fromName String?
replyTo String?
// Campaign type
type TemplateType @default(MARKETING)
// Audience selection
audienceType CampaignAudienceType @default(ALL)
audienceCondition Json? // For FILTERED: manual filter condition with AND/OR logic (same structure as Segment.condition)