foreman/db/migrate/20170213154641_add_index_reports_on_host_id_type_id.rb @ 630061d2
class AddIndexReportsOnHostIdTypeId < ActiveRecord::Migration[4.2]
|
|
def change
|
|
add_index :reports, [:host_id, :type, :id]
|
|
end
|
|
end
|