[openstreetmap/openstreetmap-website] Add date indexes on gpx_files and notes tables (PR #5747)

Emin Kocan notifications at github.com
Fri Mar 7 03:07:43 UTC 2025


@kcne commented on this pull request.



> @@ -0,0 +1,7 @@
+class AddNotesUserIdCreatedAtIndex < ActiveRecord::Migration[7.2]
+  disable_ddl_transaction!
+
+  def change
+    add_index :notes, [:user_id, :created_at], :algorithm => :concurrently

I agree. Fixed.

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

Message ID: <openstreetmap/openstreetmap-website/pull/5747/review/2666134083 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250306/53fbd48c/attachment.htm>


More information about the rails-dev mailing list