#---
# Excerpted from "Rails Recipes"
# We make no guarantees that this code is fit for any purpose. 
# Visit http://www.pragmaticprogrammer.com/titles/fr_rr for more book information.
#---
# This file is autogenerated. Instead of editing this file, please use the
# migrations feature of ActiveRecord to incrementally modify your database, and
# then regenerate this schema definition.

ActiveRecord::Schema.define(:version => 1) do

  create_table "ingredients", :force => true do |t|
    t.column "recipe_id", :integer
    t.column "name", :string
    t.column "quantity", :integer
    t.column "unit_of_measurement", :string
  end

  create_table "ratings", :force => true do |t|
    t.column "recipe_id", :integer
    t.column "user_id", :integer
    t.column "rating", :integer
  end

  create_table "recipes", :force => true do |t|
    t.column "name", :string
    t.column "spice_level", :integer
    t.column "region", :string
    t.column "instructions", :text
  end
end
