2012-04-16 19:40:50 +01:00
|
|
|
class CreatePullRequests < ActiveRecord::Migration
|
|
|
|
def change
|
2012-04-28 18:28:57 +01:00
|
|
|
create_table :pull_requests do |t|
|
2014-01-21 04:51:49 +00:00
|
|
|
t.integer :issue_id, null: false
|
|
|
|
t.integer :base_project_id, null: false
|
|
|
|
t.integer :head_project_id, null: false
|
|
|
|
t.string :base_ref, null: false
|
|
|
|
t.string :head_ref, null: false
|
2012-04-28 18:28:57 +01:00
|
|
|
end
|
2012-04-16 19:40:50 +01:00
|
|
|
end
|
|
|
|
end
|