This repository has been archived on 2023-07-01. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/db/migrate/20171125185353_add_index_re...

8 lines
207 B
Ruby

class AddIndexReblogOfIdAndAccountToStatuses < ActiveRecord::Migration[5.1]
disable_ddl_transaction!
def change
add_index :statuses, [:reblog_of_id, :account_id], algorithm: :concurrently
end
end