8 lines
211 B
Ruby
8 lines
211 B
Ruby
|
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
|