fedibird-fe/db/migrate/20200301102028_add_index_to_statuses_quote_id.rb
2021-08-12 07:08:18 +09:00

9 lines
206 B
Ruby

# frozen_string_literal: true
class AddIndexToStatusesQuoteId < ActiveRecord::Migration[5.2]
disable_ddl_transaction!
def change
add_index :statuses, :quote_id, algorithm: :concurrently
end
end