]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20220201183346_add_author_index_to_note_comments.rb
Merge pull request #4803 from tomhughes/preference-encoding
[rails.git] / db / migrate / 20220201183346_add_author_index_to_note_comments.rb
1 class AddAuthorIndexToNoteComments < ActiveRecord::Migration[6.1]
2   disable_ddl_transaction!
3
4   def change
5     add_index :note_comments, [:author_id, :created_at], :algorithm => :concurrently
6   end
7 end