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 => 20110722151000) do
14 create_table "delayed_jobs", :force => true do |t|
15 t.integer "priority", :default => 0
16 t.integer "attempts", :default => 0
20 t.datetime "locked_at"
21 t.datetime "failed_at"
23 t.datetime "created_at"
24 t.datetime "updated_at"
27 create_table "download_histories", :force => true do |t|
32 t.datetime "created_at"
35 add_index "download_histories", ["query"], :name => "index_download_histories_on_query"
37 create_table "orders", :force => true do |t|
38 t.string "title", :null => false
39 t.string "name", :null => false
41 t.string "street1", :null => false
43 t.string "zip", :null => false
44 t.string "city", :null => false
46 t.string "country", :null => false
47 t.string "phone", :null => false
48 t.string "email", :null => false
49 t.integer "amount", :null => false
50 t.text "reason", :null => false
51 t.string "deadline", :null => false
52 t.datetime "created_at"
53 t.datetime "updated_at"
54 t.datetime "processed_at"
55 t.string "processed_by"
59 create_table "search_histories", :force => true do |t|
65 t.datetime "created_at"