10 lines
206 B
Ruby
10 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
|