2012-10-03 12:36:04 +01:00
|
|
|
class RenameBaseHeadInPullRequests < ActiveRecord::Migration
|
|
|
|
def change
|
2012-10-03 14:00:09 +01:00
|
|
|
rename_column :pull_requests, :base_project_id, :to_project_id
|
|
|
|
rename_column :pull_requests, :base_ref, :to_ref
|
|
|
|
rename_column :pull_requests, :head_project_id, :from_project_id
|
|
|
|
rename_column :pull_requests, :head_ref, :from_ref
|
2012-10-03 12:36:04 +01:00
|
|
|
end
|
|
|
|
end
|