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