search for: self_up

Displaying 1 result from an estimated 1 matches for "self_up".

Did you mean: self_ip
2006 Feb 15
2
migrations still
...that have other tables which include a column from the table I am attempting to drop which would leave things in a mess. I thought I would ask anyway... Am I supposed to have each table migration in a separate file or should they all be in the same file? db/migration/0001_add_a_new_table def self_up create_table ''foo'', :force => true do |t| t.column ... end create_table ''foo2'', :force => true do |t| t.column ... end end def self_down drop_table :foo drop_table :foo2 end or multiple files? db/migration/0001...