class CreatePets < ActiveRecord::Migration def self.up create_table :pets do |t| t.column "name", :string t.column "breed", :string t.column "age", :integer t.column "pix", :string end end def self.down drop_table :pets end end