[openstreetmap/openstreetmap-website] Note subscriptions db table (PR #5284)
Anton Khorev
notifications at github.com
Thu Oct 24 14:43:20 UTC 2024
Part one of #5283. Creates the note subscription table and starts adding subscriptions for anyone who comments a note. These subscriptions are not yet used for anything, email notifications still go to all note commenters.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5284
-- Commit Summary --
* Create note subscription table and model
* Subscribe users when they interact with notes
-- File Changes --
M app/controllers/api/notes_controller.rb (2)
M app/models/note.rb (2)
A app/models/note_subscription.rb (20)
M app/models/user.rb (2)
A db/migrate/20241022141247_create_note_subscriptions.rb (8)
M db/structure.sql (42)
M test/controllers/api/notes_controller_test.rb (115)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5284.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5284.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5284
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5284 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241024/0fef9ac1/attachment.htm>
More information about the rails-dev
mailing list