I have a migration that removes a column:
def change remove_column :foos, :bar, :boolean end
When I try to rake db:rollback that
rake db:rollback
Instead of using change, you use up and down methods to your migration:
change
up
down
def up remove_column :foos, :bar end def down add_column :foos, :bar, :boolean end