Sha256: 69e6181049cefd5cf77371279b8a630ac4769864a0fd2e1416d43648f0e7ae4f

Contents?: true

Size: 224 Bytes

Versions: 2

Compression:

Stored size: 224 Bytes

Contents

class CreateRecipesTable < ActiveRecord::Migration
  def self.up
    create_table :recipes do |t|
      t.column :name, :string
      t.column :owner, :string
    end
  end

  def self.down
    drop_table :recipes
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
enhanced_migrations-1.2.1 db/migrate/1193798832_create_recipes_table.rb
enhanced_migrations-1.2.0 db/migrate/1193798832_create_recipes_table.rb