Skip to content

Commit 6aae3cf

Browse files
committed
slack notifs in migration
1 parent 104d535 commit 6aae3cf

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • src/backend/src/prisma/migrations/20260201001906_calendar

src/backend/src/prisma/migrations/20260201001906_calendar/migration.sql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ INSERT INTO "public"."Event_Type" (
397397
"description",
398398
"onlyHeadsOrAboveForEventCreation",
399399
"requiresConfirmation",
400+
"sendSlackNotifications",
400401
"organizationId"
401402
)
402403
SELECT DISTINCT ON (org."organizationId")
@@ -418,6 +419,7 @@ SELECT DISTINCT ON (org."organizationId")
418419
false, -- description
419420
true, -- onlyHeadsOrAboveForEventCreation
420421
true, -- requiresConfirmation
422+
true, -- sendSlackNotifications
421423
org."organizationId"
422424
FROM "public"."Organization" org
423425
WHERE EXISTS (
@@ -447,6 +449,7 @@ INSERT INTO "public"."Event_Type" (
447449
"description",
448450
"onlyHeadsOrAboveForEventCreation",
449451
"requiresConfirmation",
452+
"sendSlackNotifications",
450453
"organizationId"
451454
)
452455
SELECT DISTINCT ON (org."organizationId")
@@ -468,6 +471,7 @@ SELECT DISTINCT ON (org."organizationId")
468471
false, -- description
469472
false, -- onlyHeadsOrAboveForEventCreation
470473
false, -- requiresConfirmation
474+
false, -- sendSlackNotifications
471475
org."organizationId"
472476
FROM "public"."Organization" org
473477
WHERE EXISTS (

0 commit comments

Comments
 (0)