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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E0b4a8a548f66d727368c29fad9eab18?d=identicon&s=25 gsterndale (Guest)
on 2009-03-03 23:20
(Received via mailing list)
Howdy,

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
exist.

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.