debian-mirror-gitlab/db/migrate/20131106151520_remove_default_branch.rb
2016-06-16 23:09:34 +05:30

10 lines
207 B
Ruby

# rubocop:disable all
class RemoveDefaultBranch < ActiveRecord::Migration
def up
remove_column :projects, :default_branch
end
def down
add_column :projects, :default_branch, :string
end
end