Oddest thing - ran rake db:migrate, as I’ve done many, many times
before, except this time it skipped one my migrations. Really strange.
Has anyone ever seen this before? I ran the migration before and it
worked fine in 2 other environments, one on my local development
machine and another time during a capistrano task.
I looked at all possibilities I could think of: file permissions (same
as the others), missing file (it was there), bad syntax (no errors).
I’m at a loss.
This is the migration it skipped:
class AddToPhones < ActiveRecord::Migration
add_column :phones, :hidden, :boolean, :default => false
remove_column :phones, :hidden
Is “hidden” some magic keyword or something? Just a fluke?