d08e7634e294f0a2b0177146d693ca64884585cd
[depot.git] / db / schema.rb
1 # This file is auto-generated from the current state of the database. Instead of editing this file,
2 # please use the migrations feature of Active Record to incrementally modify your database, and
3 # then regenerate this schema definition.
4 #
5 # Note that this schema.rb definition is the authoritative source for your database schema. If you need
6 # to create the application database on another system, you should be using db:schema:load, not running
7 # all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations
8 # you'll amass, the slower it'll run and the greater likelihood for issues).
9 #
10 # It's strongly recommended to check this file into your version control system.
11
12 ActiveRecord::Schema.define(:version => 20090226212307) do
13
14 create_table "products", :force => true do |t|
15 t.string "title"
16 t.text "description"
17 t.string "image_url"
18 t.datetime "created_at"
19 t.datetime "updated_at"
20 t.decimal "price", :precision => 8, :scale => 2, :default => 0.0
21 t.date "date_available"
22 t.date "date_available_until"
23 end
24
25 create_table "sessions", :force => true do |t|
26 t.string "session_id", :null => false
27 t.text "data"
28 t.datetime "created_at"
29 t.datetime "updated_at"
30 end
31
32 add_index "sessions", ["session_id"], :name => "index_sessions_on_session_id"
33 add_index "sessions", ["updated_at"], :name => "index_sessions_on_updated_at"
34
35 end