rake db:migrate not executing new migrations

Posted by Matt H on Stack Overflow See other posts from Stack Overflow or by Matt H
Published on 2010-06-10T19:10:20Z Indexed on 2010/06/10 19:13 UTC
Read the original article Hit count: 271

Filed under:
|
|

Hi guys.

I'm trying to add some columns to an existing table, so I generated a migration that did so. When I run db:migrate the new migration isn't run and the table isn't updated. I've had this problem many times before, and it's getting bloody annoying.

Output from rake db:migrate

$ rake db:migrate --trace
(in /Users/one/app)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
** Invoke db:schema:dump (first_time)
** Invoke environment 
** Execute db:schema:dump

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about migration