class CreateAddresses < ActiveRecord::Migration def self.up create_table :addresses do |t| # t.column :name, :string t.column :address, :text end end def self.down drop_table :addresses end end