summaryrefslogtreecommitdiff
path: root/db/migrate/20131106151520_remove_default_branch.rb
blob: 88a890eb3eb7e759ced674d594f3218d57a91efe (plain)
1
2
3
4
5
6
7
8
9
class RemoveDefaultBranch < ActiveRecord::Migration
  def up
    remove_column :projects, :default_branch
  end

  def down
    add_column :projects, :default_branch, :string
  end
end