20170418160728_add_indexes_to_reports_for_accounts.rb 201 B

12345678
  1. # frozen_string_literal: true
  2. class AddIndexesToReportsForAccounts < ActiveRecord::Migration[5.0]
  3. def change
  4. add_index :reports, :account_id
  5. add_index :reports, :target_account_id
  6. end
  7. end