This project is archived and is in readonly mode.

#1476 ✓invalid
goodwill

A patch to increase convenience of rake db:migrate:down/up command

Reported by goodwill | November 26th, 2008 @ 08:17 AM | in 2.x

Using version number is a quite inconvenient thing and it requires me to grep the number always, so I rather let the command do it for me:P

now you can use rake db:migrate:up NAME=CreateTableName which match with the migration name to execute the up/down of the migration.

Comments and changes to this ticket

  • Pratik

    Pratik March 6th, 2009 @ 07:23 PM

    • Tag changed from 2.1, migration, rake to 2.1, migration, patch, rake
    • State changed from “new” to “invalid”

    Don't think this belongs to core. Should just use VERSION.

    Thanks.

  • goodwill

    goodwill March 7th, 2009 @ 07:30 AM

    I know it doesnt belongs to core ATM, but its a convenient shorthand rite? Also it seems not easy to create a plugin to extend the task, thus I think this is appropriate to include in future versions if people think this is convenient to use.

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

Pages