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.
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).
10 # It's strongly recommended to check this file into your version control system.
12 ActiveRecord
::Schema.define(:version => 20090202163608) do
14 create_table
"products", :force => true do |t
|
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"