mastodon/db/migrate/20221224220348_add_index_to...

8 lines
175 B
Ruby

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