feature(dashboard): add template for notification rules

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-10-22 22:13:53 +02:00
parent e7d135dddb
commit 71794c802c
6 changed files with 56 additions and 3 deletions

View File

@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "notification_rules" ADD COLUMN "template" TEXT;

View File

@@ -329,6 +329,7 @@ model NotificationRule {
sendToEmail Boolean @default(false)
/// [IPrismaNotificationRuleConfig]
config Json
template String?
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt