blob: ee07176a26752ee0f018ebb8f14d039551362a08 (
plain)
1
2
3
4
5
6
7
8
9
|
class AddIndexes < ActiveRecord::Migration
def change
add_index :issues, :project_id
add_index :merge_requests, :project_id
add_index :notes, :noteable_id
add_index :notes, :noteable_type
end
end
|