]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20201006213836_add_author_index_to_changeset_comments.rb
Merge branch 'pull/4985'
[rails.git] / db / migrate / 20201006213836_add_author_index_to_changeset_comments.rb
1 class AddAuthorIndexToChangesetComments < ActiveRecord::Migration[6.0]
2   disable_ddl_transaction!
3
4   def change
5     add_index :changeset_comments, [:author_id, :created_at], :algorithm => :concurrently
6   end
7 end