]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20250121191749_add_user_comment_indexes.rb
Add frozen_string_literal comments to ruby files
[rails.git] / db / migrate / 20250121191749_add_user_comment_indexes.rb
1 # frozen_string_literal: true
2
3 class AddUserCommentIndexes < ActiveRecord::Migration[7.2]
4   disable_ddl_transaction!
5
6   def change
7     add_index :changeset_comments, [:author_id, :id], :algorithm => :concurrently
8     add_index :diary_comments, [:user_id, :id], :algorithm => :concurrently
9   end
10 end