rosa-build/db/migrate/20121003081546_rename_base_...

9 lines
328 B
Ruby
Raw Normal View History

2012-10-03 12:36:04 +01:00
class RenameBaseHeadInPullRequests < ActiveRecord::Migration
def change
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