Add 'Redo' command
Issue #5
resolved
Rails migrations have a task called 'redo' which re-runs the most recently applied migration. This runs the 'down' script followed by the 'up' script
This is handy when putting together a new migration since you just have one command to run to apply your changes.
Comments (6)
-
repo owner -
This one is done, right?
-
repo owner I don't think any code has been submitted for this one, so just leaving it here for now as a reminder.
-
I had this one in mind: https://bitbucket.org/liamstask/goose/commits/e3effd59a4b52b346d960a0e1823fbe60ed43e46
-
repo owner Ah - I had just not pulled that back into my local tree, so wasn't seeing it. Will resolve, thanks.
-
repo owner - changed status to resolved
- Log in to comment
Sounds handy. If you have time/energy to code it up, I'd be happy to include it.