This project is archived and is in readonly mode.
db:migrate:down should default to the current migration
-
Pratik
- Milestone cleared.
- Assigned user set to Pratik
-
michael (at mdaines)
What about
db:migrate:rollback? -
Pratik
- State changed from new to wontfix
What michael said. db:migrate:rollback - rollbacks one version. It takes STEP env var argument too, in case you want to rollback more than 1 versions. And to migrate up, could just use the good ol' db:migrate :)
There's also db:migrate:redo which rollbacks a version and applies it again.
Thanks.