I made a migration to create a table and all the columns. Going ahead
with the development, I realize that I need to change the type of one
column from binary to string (to storage photos paths, instead of
I tried "script/generate migration RemovePhotoFromPerson
photo:binary" (this creates appropriate migration file successfully,
remove_column and add_column at self.up and self.down respectively),
but rake db:migrate does nothing :S
I also have try manually changing column type with "script/generate
migration ChangePhotoOnPerson", then editing "db/migrate/
change_column :people, :photo, :string
change_column :people, :photo, :binary
But still, nothing seems to happen.
Question is: how do I remove/change this column?.