This project is archived and is in readonly mode.

#768 ✓resolved
David Baldwin

rake db:forward (opposite of db:rollback)

Reported by David Baldwin | August 6th, 2008 @ 10:29 PM

This patch adds a db:forward rake task that mimics db:rollback, except with movement in the opposite direction. The default action is to perform only the next migration. The STEP variable is also available to perform a variable number of steps.

Examples:

Perform the next migration... rake db:forward

Perform ONLY the next 4 migrations.... rake db:forward STEP=4

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Referenced by

Pages