This project is archived and is in readonly mode.
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
-
DHH September 10th, 2008 @ 06:08 AM
- State changed from new to incomplete
I like. Need tests, though.
-
CancelProfileIsBroken August 3rd, 2009 @ 03:12 PM
- Tag changed from migrations, patch to bugmash, migrations, patch
-
Rizwan Reza August 8th, 2009 @ 05:30 PM
- Assigned user set to José Valim
- Tag changed from bugmash, migrations, patch to bugmash, migrations, patch, tested, verified
verified patch
+1 This works. Tests passing under 2-3-stable. Patch doesn't apply in master.
-
José Valim August 8th, 2009 @ 05:32 PM
- Assigned user changed from José Valim to Pratik
- State changed from incomplete to new
I'm handling just master tickets. :) Assigning to Pratik.
-
Repository August 8th, 2009 @ 05:42 PM
- State changed from new to resolved
(from [7f84f14efabf3e342a231b8aa9650cb484c802d6]) Add rake db:forward - opposite of db:rollback [#768 state:resolved]
Example:
rake db:forward # performs the next migration rake db:forward STEP=4 # performs the next 4 migrationsSigned-off-by: Pratik Naik pratiknaik@gmail.com
http://github.com/rails/rails/commit/7f84f14efabf3e342a231b8aa9650c... -
CancelProfileIsBroken August 8th, 2009 @ 11:06 PM
- Assigned user cleared.
- Tag changed from bugmash, migrations, patch, tested, verified to migrations, patch, tested, verified
- Milestone cleared.
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>
People watching this ticket
Attachments
Tags
Referenced by
- 768 rake db:forward (opposite of db:rollback) (from [7f84f14efabf3e342a231b8aa9650cb484c802d6]) Add rak...