Cancel the last migration?


#1

Hello everyone!

How can I cancel the last migration?

Thank you!


#2

rake db:rollback

Maurício Linhares
http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/
(en)

On Wed, Feb 25, 2009 at 4:26 PM, Guillaume L.


#3

Thanks!


#4

If you want to cancel more steps…

rake db:rollback STEP=3

Guillaume L. escribió: