[openstreetmap/openstreetmap-website] Simplify primary key for relation members tables (PR #4300)

Tom Hughes notifications at github.com
Thu Oct 26 11:35:11 UTC 2023


I did wonder if there was a better way to do it with factorybot but didn't come up with a good solution that truly modelled how the sequences work so wound up basing it on how we were doing way_node instead.

We certainly could do it the way you say - it means they're not truly modelling how a real relation would work but that probably doesn't matter.

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

Message ID: <openstreetmap/openstreetmap-website/pull/4300/c1780939640 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231026/3ca3adce/attachment-0001.htm>


More information about the rails-dev mailing list