12 lines
343 B
Ruby
12 lines
343 B
Ruby
class CreatePullRequests < ActiveRecord::Migration
|
|
def change
|
|
create_table :pull_requests do |t|
|
|
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
|
|
end
|
|
end
|
|
end
|