gitlabhq/db/migrate/20111207211728_add_default_branch_to_project.rb
2011-12-07 23:56:57 +02:00

6 lines
170 B
Ruby

class AddDefaultBranchToProject < ActiveRecord::Migration
def change
add_column :projects, :default_branch, :string, :null => false, :default => "master"
end
end