]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20250121191749_add_user_comment_indexes.rb
Merge branch 'pull/5531'
[rails.git] / db / migrate / 20250121191749_add_user_comment_indexes.rb
1 class AddUserCommentIndexes < ActiveRecord::Migration[7.2]
2   disable_ddl_transaction!
3
4   def change
5     add_index :changeset_comments, [:author_id, :id], :algorithm => :concurrently
6     add_index :diary_comments, [:user_id, :id], :algorithm => :concurrently
7   end
8 end