X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=db%2Fschema.rb;fp=db%2Fschema.rb;h=dc43da5de54f34fcd243a564cfbc366706819b38;hb=09cd438e77dd418b03b67e3e6a4b48ec95b72d1d;hp=0000000000000000000000000000000000000000;hpb=be9356cf35ae0ccfc15674b786386a61278bf305;p=depot.git diff --git a/db/schema.rb b/db/schema.rb new file mode 100644 index 0000000..dc43da5 --- /dev/null +++ b/db/schema.rb @@ -0,0 +1,24 @@ +# 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 => 20090202163608) do + + create_table "products", :force => true do |t| + t.string "title" + t.text "description" + t.string "image_url" + t.datetime "created_at" + t.datetime "updated_at" + t.decimal "price", :precision => 8, :scale => 2, :default => 0.0 + t.date "date_available" + end + +end