:second_db ! def self.up create_table :test_table, :force => true do |t| t.string :test_string t.timestamps end end ! def self.down drop_table :test_table end end
on_db :second_db do create_table :test_table, :force => true do |t| t.string :test_string t.timestamps end end end ! def self.down on_db :second_db { drop_table :test_table } end end
:default] ! def self.up create_table :test_table, :force => true do |t| t.string :test_string t.timestamps end end ! def self.down drop_table :test_table end end