]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20201006213836_add_author_index_to_changeset_comments.rb
Merge pull request #1558 from plarus/master
[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