# 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 => 20090329175818) do create_table "auction_items", :force => true do |t| t.integer "auction_id", :default => 0, :null => false t.integer "position", :default => 0, :null => false t.string "name", :limit => 200 t.text "description" end add_index "auction_items", ["auction_id"], :name => "auction_id" add_index "auction_items", ["id"], :name => "id" create_table "auctions", :force => true do |t| t.string "name", :limit => 200 t.datetime "datetime" t.string "location", :limit => 200 t.text "description" end create_table "categories", :force => true do |t| t.string "name", :limit => 100 end create_table "images", :force => true do |t| t.string "name" t.text "description" t.integer "item_id" t.integer "position" t.string "image_file_name" t.string "image_content_type" t.string "image_file_size" t.string "item_type" end create_table "items", :force => true do |t| t.string "name", :limit => 200 t.text "description" t.integer "category_id" t.integer "position" end create_table "pages", :force => true do |t| t.string "title" t.text "body" t.text "body_html" t.string "url" t.string "meta_title" t.string "meta_description" t.string "meta_keywords" t.datetime "created_at" t.datetime "updated_at" end create_table "photos", :force => true do |t| t.string "title", :limit => 200 t.text "description" t.binary "image" t.binary "thumb" t.integer "auction_item_id" t.integer "position" end end