Sha256: 944d52899957e23e0dfbf3c30b3c1d0045510c0cd396b6568a50d6f497f756cd

Contents?: true

Size: 339 Bytes

Versions: 2

Compression:

Stored size: 339 Bytes

Contents

class CreatePastries < ActiveRecord::Migration

  def self.up
    create_table :pastries do |t|
      t.string :type
      t.string :flavor
      t.string :name
      t.string :maker
      t.string :weight
      t.string :main_ingredient
      t.string :health_benefits
    end
  end

  def self.down
    drop_table :pastries
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
has_defaults-0.4.2 spec/shared/app_root/db/migrate/001_create_pastries.rb
has_defaults-0.4.1 spec/shared/app_root/db/migrate/001_create_pastries.rb