gitlabhq/db/migrate/20111127155345_create_merge_requests.rb

16 lines
416 B
Ruby
Raw Normal View History

2011-11-28 08:39:43 +01:00
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