Sha256: 57bafa040294cc2ef088148ca281be5b1efdf56366181274746281f500f8a501

Contents?: true

Size: 176 Bytes

Versions: 9

Compression:

Stored size: 176 Bytes

Contents

class CreateFoodTable < ActiveRecord::Migration[5.2]

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

  def down
    drop_table :foods
  end

end


Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
polymorphic_integer_type-3.0.0 spec/support/migrations/4_create_food_table.rb
polymorphic_integer_type-2.3.1 spec/support/migrations/4_create_food_table.rb
polymorphic_integer_type-2.3.0 spec/support/migrations/4_create_food_table.rb
polymorphic_integer_type-2.2.5 spec/support/migrations/4_create_food_table.rb
polymorphic_integer_type-2.2.4 spec/support/migrations/4_create_food_table.rb
polymorphic_integer_type-2.2.3 spec/support/migrations/4_create_food_table.rb
polymorphic_integer_type-2.2.2 spec/support/migrations/4_create_food_table.rb
polymorphic_integer_type-2.2.1 spec/support/migrations/4_create_food_table.rb
polymorphic_integer_type-2.2.0 spec/support/migrations/4_create_food_table.rb