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.
Anita A. (Guest)
on 2009-01-03 01: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?
Kaushik katari (Guest)
on 2009-01-03 01: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 A. <
Philipe Farias (Guest)
on 2009-01-03 12: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.