gitlabhq/db/migrate/20120119202326_add_indexes.rb

10 lines
217 B
Ruby
Raw Normal View History

2012-01-19 21:31:34 +01:00
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