foreman/db/migrate/20170315154334_add_report_time_type_host_index.rb @ d7c67746
class AddReportTimeTypeHostIndex < ActiveRecord::Migration[4.2]
|
|
def change
|
|
add_index :reports, [:reported_at, :host_id, :type]
|
|
end
|
|
end
|