@nenad-vujicic commented on this pull request.


> @@ -0,0 +1,11 @@
+class AddTextIndexToNotes < ActiveRecord::Migration[7.2]
+  disable_ddl_transaction!
+
+  def up
+    add_index :notes, "to_tsvector('english', description)", :using => "GIN", 
:name => "index_notes_on_description", :algorithm => :concurrently
+  end
+
+  def down

Fixed (and pushed), thanks!

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

Message ID: 
<openstreetmap/openstreetmap-website/pull/5622/review/2611368...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to