[openstreetmap/openstreetmap-website] Adds version to notes table and creates note_versions table (PR #5815)

Nenad Vujicic notifications at github.com
Tue Apr 15 20:19:19 UTC 2025


nenad-vujicic left a comment (openstreetmap/openstreetmap-website#5815)

> So what's the `note_comment_id` in the versions table for?

`note_comment_id` is the ID of the `note_comment` from which the `note_version` is generated. I am using it for ordering note comments (reconstructed from `note_comments` and `note_versions`) after deleting note comments with non-present body and is suggested by @AntonKhorev [here](https://github.com/openstreetmap/openstreetmap-website/pull/5815#issuecomment-2746276051).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5815#issuecomment-2807396022
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5815/c2807396022 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250415/01c4471e/attachment.htm>


More information about the rails-dev mailing list