Revision 89dadcf7
Added by Timo Goebel over 7 years ago
db/migrate/20170213154641_add_index_reports_on_host_id_type_id.rb | ||
---|---|---|
class AddIndexReportsOnHostIdTypeId < ActiveRecord::Migration
|
||
def change
|
||
add_index :reports, [:host_id, :type, :id]
|
||
end
|
||
end
|
Also available in: Unified diff
fixes #18481 - host index page loads faster