Sha256: 4710709ab5080ffaa52e06aa08b78e6ee5d9c0083b0d233bc903de0d6767c9d0

Contents?: true

Size: 1.41 KB

Versions: 10

Compression:

Stored size: 1.41 KB

Contents

# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended to check this file into your version control system.

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

  create_table "baskets", :force => true do |t|
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "baskets_items", :id => false, :force => true do |t|
    t.integer  "basket_id"
    t.integer  "item_id"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "items", :force => true do |t|
    t.string   "name"
    t.decimal  "price"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "payments", :force => true do |t|
    t.string   "cardnumber"
    t.string   "cardholder"
    t.decimal  "amount"
    t.integer  "basket_id"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

end

Version data entries

10 entries across 5 versions & 2 rubygems

Version Path
restfulie-nosqlite-1.0.4 full-examples/rest_from_scratch/part_2/db/schema.rb
restfulie-nosqlite-1.0.4 full-examples/rest_from_scratch/part_3/db/schema.rb
restfulie-1.1.1 full-examples/rest_from_scratch/part_3/db/schema.rb
restfulie-1.1.1 full-examples/rest_from_scratch/part_2/db/schema.rb
restfulie-1.1.0 full-examples/rest_from_scratch/part_2/db/schema.rb
restfulie-1.1.0 full-examples/rest_from_scratch/part_3/db/schema.rb
restfulie-nosqlite-1.0.3 full-examples/rest_from_scratch/part_2/db/schema.rb
restfulie-nosqlite-1.0.3 full-examples/rest_from_scratch/part_3/db/schema.rb
restfulie-1.0.3 full-examples/rest_from_scratch/part_3/db/schema.rb
restfulie-1.0.3 full-examples/rest_from_scratch/part_2/db/schema.rb