Rake question

I use rake migrate to run self.up and how to run self.down ???
tks

Fernando wrote:

I use rake migrate to run self.up and how to run self.down ???
tks

rake migration VERSION=0 should run the self.down (purges the database)

I found this page to be of use:
http://bloggingrailsconf.com/articles/2006/06/25/agile-databases-with-migrations

Matt

Plan Something Fabulous!
http://sheboygan.fabulousplans.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs