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.

rake db:migrate VERSION=0 does all migrations when already at 0

#632

Using rails 2.1.0, create a new rails project and make a couple

migrations that create some tables.

Run "rake db:migrate VERSION=0" and you'll see that it runs all the

migrations, even though it should already be at version 0.

This will happen anytime you're at version 0. Doing a normal "rake

db:migrate" followed by two "rake db:migrate VERSION=0" will bring you

back to the latest migration.

You can keep running "rake db:migrate VERSION=0" and it will go back

and forth between the beginning and the end of the migrations.

--

Bill Bereza | Vice President

Atomic Object | http://atomicobject.com

[Ph] +1 616 776 6020 [Fx] +1 616 776 6015

Reported by Bill Bereza · July 16th, 2008 @ 03:55 PM

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

Activity

  1. josh
    josh
    • State changed from new to stale

    October 23rd, 2008 @ 04:32 PM