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