This project is archived and is in readonly mode.

#369 ✓resolved
RaceCondition

db:migrate:down does not remove migration version from schema_migrations table

Reported by RaceCondition | June 8th, 2008 @ 09:27 AM | in 2.1.1

When running rake db:migrate:down VERSION=someversion, them someversion is not removed from the contents of the schema_migrations table. So when rake db:migrate is run, someversion will not be reapplied any more.

The workaround is to manually remove the version from schema_migrations.

Here's a complete moron's guide how to reproduce the problem:

http://dpaste.com/55427/

Comments and changes to this ticket

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>

Attachments

Pages