-
Notifications
You must be signed in to change notification settings - Fork 45.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(backend): schema updates, migration, queries for Email Notification Service #9445
feat(backend): schema updates, migration, queries for Email Notification Service #9445
Conversation
…r-compose' into ntindle/secrt-1087-attach-rabbit-mq-to-the-services-processes-similar-to-how
…-our-docker-compose
…r-compose' into ntindle/secrt-1087-attach-rabbit-mq-to-the-services-processes-similar-to-how
…rvices-processes-similar-to-how
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Here's the code health analysis summary for commits Analysis Summary
|
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly. |
… unique relationship
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this breaks anything I John am not liable cc @ntindle :)
The email service has requirements to
We need to add a few new backend queries + db models for the notification to start handling these details. This is the first set of those changes based on experience building the app service
Changes 🏗️
UserNotificationPreferences,
with related migrationNotificationEvent
with related migration to track what notifications we've sent and how many and such (how much we add here is open to change depending on what limits on data we want)UserNotificationBatch
with related migration to handle batching of like modelsdatetime
ranges asISO
stringsDatabaseManager
and exposes them to the otherAppService
sget_user_by_id
Checklist 📋
For code changes: