Forum: Ruby on Rails rake db:migrate not saving latest version #

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
gsterndale (Guest)
on 2009-03-04 00:20
(Received via mailing list)

I'm having some trouble migrating.

From a fresh db,  rake db:migrate runs successfully, with no errors.
The tasks in the latest migration are performed with no problem.
However, the latest version # is not saved in the schema_migrations
table. All other version numbers are.

Subsequent rake db:migrate cause errors because columns/tables already

I've tried changing version numbers on the latest migration file and
even commenting out all of the logic, with no luck.

Has anyone seen this before? Any ideas?

Many thanks.
This topic is locked and can not be replied to.