I\'m trying to add an extra field to one of my tables.
I\'ve added the field in the migration file (under db\\migrate), then ran \'rake db:migrate\' which ran withou
http://guides.rubyonrails.org/migrations.html#changing-existing-migrations
Occasionally you will make a mistake when writing a migration. If you have already run the migration then you cannot just edit the migration and run the migration again: Rails thinks it has already run the migration and so will do nothing when you run rake db:migrate. You must rollback the migration (for example with
rake db:rollback), edit your migration and then runrake db:migrateto run the corrected version.