Sha256: 1f6ac7fc139637b39d15c2be976134503e00506deb5491a3cf99d563275a7344

Contents?: true

Size: 172 Bytes

Versions: 10

Compression:

Stored size: 172 Bytes

Contents

class CreateDrinkTable < ActiveRecord::Migration

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

  def down
    drop_table :drinks
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

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