summaryrefslogtreecommitdiff
path: root/db/migrate/20131106151520_remove_default_branch.rb
blob: fd3d1ed7ab32ac71ddabd4c2e2d23789c3b72379 (plain)
1
2
3
4
5
6
7
8
9
10
# 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