Skip to content

4090 maintenance schema changes move notifications to event level#4153

Open
porpol wants to merge 18 commits intodevelopfrom
4090-maintenance---schema-changes-move-notifications-to-event-level
Open

4090 maintenance schema changes move notifications to event level#4153
porpol wants to merge 18 commits intodevelopfrom
4090-maintenance---schema-changes-move-notifications-to-event-level

Conversation

@porpol
Copy link
Copy Markdown
Contributor

@porpol porpol commented Apr 14, 2026

Changes

Moved sendSlackNotifications from Event_Type to Event for routes, controllers, services, transformers, and in prisma and shared types. Created schema migration. Updated tests to match the new location of sendSlackNotifications, and tests (for backend) pass.

Screenshots

Create event route works
image

Edit event route works
image

Checklist

It can be helpful to check the Checks and Files changed tabs.
Please review the contributor guide and reach out to your Tech Lead if anything is unclear.
Please request reviewers and ping on slack only after you've gone through this whole checklist.

  • All commits are tagged with the ticket number
  • No linting errors / newline at end of file warnings
  • All code follows repository-configured prettier formatting
  • No merge conflicts
  • All checks passing
  • Screenshots of UI changes (see Screenshots section)
  • Remove any non-applicable sections of this template
  • Assign the PR to yourself
  • No yarn.lock changes (unless dependencies have changed)
  • Request reviewers & ping on Slack
  • PR is linked to the ticket (fill in the closes line below)

Closes #4090

@porpol porpol linked an issue Apr 14, 2026 that may be closed by this pull request
4 tasks
@porpol porpol self-assigned this Apr 14, 2026
Copy link
Copy Markdown
Contributor

@cielbellerose cielbellerose left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks awesome! only one small schema note. also make sure you are merging into the feature/event-notifications branch so we can merge BE and FE at the same time when the time comes


*/
-- AlterTable
ALTER TABLE "Event" ADD COLUMN "sendSlackNotifications" BOOLEAN NOT NULL;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should default this to false so it works with the existing events, also we don't need to include the above comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Maintenance] - Schema Changes Move Notifications to Event Level

2 participants