gab-social/db/migrate/20200806162649_add_index_to_statuses_reply.rb

8 lines
170 B
Ruby
Raw Normal View History

class AddIndexToStatusesReply < ActiveRecord::Migration[5.2]
disable_ddl_transaction!
def change
add_index :statuses, :reply, algorithm: :concurrently
end
end