I haven’t used migration for quite a while and I forgot how to do it.
I need to add a column to a certain table.
I want to use: ruby script/generate migration inactivated_at
but if I don’t write the name of the table somewhere how will it know?
script/generate migration add_inactivated_at_to_certain_table
inactivated_at:date
On Fri, Jan 2, 2009 at 3:04 PM, Anita A. <
Here are the oficial guide about migrations:
All you need to know.