Forum: Ruby on Rails migration for beginner

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
4d6cd907dcbed99b2c472a5e652dce6b?d=identicon&s=25 Anita Anita (anita)
on 2009-01-03 00:04
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?
9f72aa5ee72bd13a8b443fbf3797944c?d=identicon&s=25 Kaushik katari (Guest)
on 2009-01-03 00:28
(Received via mailing list)
script/generate migration add_inactivated_at_to_certain_table
inactivated_at:date


On Fri, Jan 2, 2009 at 3:04 PM, Anita Anita <
1b53084580b2e7f4de3b6b67ec367622?d=identicon&s=25 Philipe Farias (Guest)
on 2009-01-03 11:20
(Received via mailing list)
Here are the oficial guide about migrations:
http://guides.rails.info/migrations.html

All you need to know.
This topic is locked and can not be replied to.