mastodon/db/migrate/20170418160728_add_indexes_...

9 lines
201 B
Ruby

# frozen_string_literal: true
class AddIndexesToReportsForAccounts < ActiveRecord::Migration[5.0]
def change
add_index :reports, :account_id
add_index :reports, :target_account_id
end
end