mastodon/db/migrate/20170418160728_add_indexes_...

7 lines
170 B
Ruby

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