]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20201006213836_add_author_index_to_changeset_comments.rb
Add frozen_string_literal comments to ruby files
[rails.git] / db / migrate / 20201006213836_add_author_index_to_changeset_comments.rb
1 # frozen_string_literal: true
2
3 class AddAuthorIndexToChangesetComments < ActiveRecord::Migration[6.0]
4   disable_ddl_transaction!
5
6   def change
7     add_index :changeset_comments, [:author_id, :created_at], :algorithm => :concurrently
8   end
9 end