Skip to content

Commit b708ab6

Browse files
committed
#4090 sendslacknotifs has default value of false
1 parent 8c645f7 commit b708ab6

3 files changed

Lines changed: 6 additions & 13 deletions

File tree

src/backend/src/prisma/migrations/20260406005526_move_send_slack_notifs_from_event_type_to_event/migration.sql

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
-- AlterTable
2+
ALTER TABLE "Event" ADD COLUMN "sendSlackNotifications" BOOLEAN NOT NULL DEFAULT false;
3+
4+
-- AlterTable
5+
ALTER TABLE "Event_Type" DROP COLUMN "sendSlackNotifications";

src/backend/src/prisma/schema.prisma

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1179,7 +1179,7 @@ model Event {
11791179
description String?
11801180
notificationSlackThreads Message_Info[]
11811181
calendarEventIds String[]
1182-
sendSlackNotifications Boolean
1182+
sendSlackNotifications Boolean @default(false)
11831183
}
11841184

11851185
model Calendar {

0 commit comments

Comments
 (0)