Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

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

#1476

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.

Reported by goodwill · November 26th, 2008 @ 08:17 AM

State: invalid
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Pratik
    Pratik
    • 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.

    March 6th, 2009 @ 07:23 PM

  2. goodwill
    goodwill

    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.

    March 7th, 2009 @ 07:30 AM