rosa-build/db/migrate/20120627101821_add_index_to...

8 lines
211 B
Ruby
Raw Normal View History

class AddIndexToPullRequest < ActiveRecord::Migration
def change
add_index :pull_requests, :base_project_id
add_index :pull_requests, :head_project_id
add_index :pull_requests, :issue_id
end
end