fedibird-fe/db/migrate/20200301102028_add_index_to_statuses_quote_id.rb

10 lines
206 B
Ruby
Raw Normal View History

2020-03-01 10:31:59 +00:00
# frozen_string_literal: true
class AddIndexToStatusesQuoteId < ActiveRecord::Migration[5.2]
disable_ddl_transaction!
def change
add_index :statuses, :quote_id, algorithm: :concurrently
end
end