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