Sha256: ec1f92958473d14b655a7c5531d8261eb972f607cb716a22313f5e41c43c5961

Contents?: true

Size: 171 Bytes

Versions: 10

Compression:

Stored size: 171 Bytes

Contents

class CreateFoodTable < ActiveRecord::Migration

  def up
    create_table :foods do |t|
      t.string :name
    end
  end

  def down
    drop_table :foods
  end

end


Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
polymorphic_integer_type-2.1.1 spec/support/migrations/4_create_food_table.rb
polymorphic_integer_type-2.1.0 spec/support/migrations/4_create_food_table.rb
polymorphic_integer_type-2.0.0 spec/support/migrations/4_create_food_table.rb
polymorphic_integer_type-1.0.6 spec/support/migrations/4_create_food_table.rb
polymorphic_integer_type-1.0.5 spec/support/migrations/4_create_food_table.rb
polymorphic_integer_type-1.0.4 spec/support/migrations/4_create_food_table.rb
polymorphic_integer_type-1.0.3 spec/support/migrations/4_create_food_table.rb
polymorphic_integer_type-1.0.2 spec/support/migrations/4_create_food_table.rb
polymorphic_integer_type-1.0.1 spec/support/migrations/4_create_food_table.rb
polymorphic_integer_type-1.0.0 spec/support/migrations/4_create_food_table.rb