foreman/db/migrate/20170118154134_add_type_index_to_reports.rb @ 9d43fc71
class AddTypeIndexToReports < ActiveRecord::Migration[4.2]
|
|
def change
|
|
add_index :reports, :type
|
|
add_index :reports, [:type, :host_id]
|
|
end
|
|
end
|