search for: self_down

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

Did you mean: el3_down
2006 Feb 15
2
migrations still
...te 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_add_foo def self_up create_table ''foo'', :force => true do |t| t.column ... end end def self_down drop_table :foo end db/migration/0002_add_foo2 def self_up...