Question

today I just ran rake db:migrate... well, two things happened, first it reversed from version 2 to 0, so it smashed my user db (very very annoying) and now it wants to migrate vom version 1. But it should start at version 16.

Any Ideas? Shema.rb is okay and right.

Was it helpful?

Solution

ok that was simple... by some reasons shema_info in the databse was corrupted... i have absolutely no idea why...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top