#1428 ✓resolved
Greg Campbell

rake db:migrate not working on Rails 3

Reported by Greg Campbell | October 7th, 2010 @ 02:52 PM | in 1.1

rake db:migrate does not appear to do anything in Rails 3. The issue appears to be that each migration adds to the @migration array on the main object (which has DataMapper::MigrationRunner included) , whereas the rake task calls ::DataMapper::MigrationRunner.migrate_up!, which references the (empty) @migration array on ::DataMapper::MigrationRunner. Either the migrate() method needs to be changed to add to ::DataMapper::MigrationRunner.migrations, or the rake task needs to be changed to call simply migrate_up!

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

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

Pages