[openstreetmap/openstreetmap-website] Add a gpx_tracks table and convert trace points into linestrings (PR #7348)

Ruben L. Mendoza notifications at github.com
Thu Sep 17 20:38:09 UTC 2026


@Rub21 commented on this pull request.



> @@ -431,6 +431,9 @@ Trace:
   description:
     ColumnPresenceChecker:
       enabled: false
+  gpx_tracks:
+    MissingIndexChecker:
+      enabled: false

I need it because the check gives a false positive with a composite primary key, the table is consistent, the primary key (gpx_id, trackid, segment) starts with gpx_id, so the index for has_many :gpx_tracks exists. But the checker reads the index list with connection.indexes, and Rails leaves primary keys out of that list, so it cannot see it and the check fails.

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

Message ID: <openstreetmap/openstreetmap-website/pull/7348/review/5241175303 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260917/a6d154d1/attachment.htm>


More information about the rails-dev mailing list