]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20230825162137_restore_author_index_to_changeset_comments.rb
Merge pull request #5158 from tomhughes/vagrant-debian
[rails.git] / db / migrate / 20230825162137_restore_author_index_to_changeset_comments.rb
1 class RestoreAuthorIndexToChangesetComments < ActiveRecord::Migration[7.0]
2   disable_ddl_transaction!
3
4   def change
5     add_index :changeset_comments, [:author_id, :created_at], :algorithm => :concurrently
6   end
7 end