Migration Problem


I am trying to change the default value of a couple of fields in a
table. In one of my migrations, I had given a default value. It looked
something like this (Please note - 'users' table already exists) -

You need to migrate down and then back up again with rake db:migrate VERSION=x
(rails won't run migration 2 if migration 2 has already been run, even if you've changed the file since).


Thanks a lot Fred.