gitlabhq/db/migrate/20111127155345_create_merge_requests.rb
2011-11-28 09:39:43 +02:00

16 lines
416 B
Ruby

class CreateMergeRequests < ActiveRecord::Migration
def change
create_table :merge_requests do |t|
t.string :target_branch, :null => false
t.string :source_branch, :null => false
t.integer :project_id, :null => false
t.integer :author_id
t.integer :assignee_id
t.string :title
t.boolean :closed, :default => false, :null => false
t.timestamps
end
end
end