[openstreetmap/openstreetmap-website] Copies notes details from first comments to notes table (PR #5667)

Tom Hughes notifications at github.com
Sat Feb 15 14:57:54 UTC 2025


tomhughes left a comment (openstreetmap/openstreetmap-website#5667)

> How will that code know if the first comment has been already deleted for a given note? It can't just be `all_comments.drop(1)` for example, since that won't work after the next migration has completed.

I was imagining deleting the first comment only if it was an `opened` comment and on top of that we could also require author and/or text to be the same.

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

Message ID: <openstreetmap/openstreetmap-website/pull/5667/c2660959296 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250215/4c128602/attachment.htm>


More information about the rails-dev mailing list