exactly what does rake db:migrate do?

Posted by happythenewsad on Stack Overflow See other posts from Stack Overflow or by happythenewsad
Published on 2009-06-17T13:55:16Z Indexed on 2010/04/05 7:33 UTC
Read the original article Hit count: 136

Filed under:
|
|

Does rake db:migrate only add new migrations, or does it drop all migrations/changes and build everything new?

I think rake is throwing an error because it is trying to access a table attribute in migration 040 that was deleted in migration 042. somehow my DB and rake are out of synch and I want to fix them.

for you experts out there - is it common for rake to get out of synch with migrations? how can I avoid this (no, I do not hand-edit my schema or rake files).

© Stack Overflow or respective owner

Related posts about rake

Related posts about migration