glitchier-soc/db/migrate/20221224220348_add_index_to_statuses_quote_id.rb

7 lines
175 B
Ruby

class AddIndexToStatusesQuoteId < ActiveRecord::Migration[6.1]
disable_ddl_transaction!
def change
add_index :statuses, :quote_id, algorithm: :concurrently
end
end