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