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 => 20110227150000) 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 "missing_codecs", :force => true do |t|
38 t.integer "visitor_id"
40 t.string "framework_version"
44 add_index "missing_codecs", ["fourcc"], :name => "fourcc_index"
45 add_index "missing_codecs", ["visitor_id"], :name => "visitor_id_index"
47 create_table "orders", :force => true do |t|
48 t.string "title", :null => false
49 t.string "name", :null => false
51 t.string "street1", :null => false
53 t.string "zip", :null => false
54 t.string "city", :null => false
56 t.string "country", :null => false
57 t.string "phone", :null => false
58 t.string "email", :null => false
59 t.integer "amount", :null => false
60 t.text "reason", :null => false
61 t.string "deadline", :null => false
62 t.datetime "created_at"
63 t.datetime "updated_at"
64 t.datetime "processed_at"
65 t.string "processed_by"
68 create_table "search_histories", :force => true do |t|
74 t.datetime "created_at"
77 create_table "visitors", :force => true do |t|
78 t.datetime "created_at"
80 t.string "application"
82 t.string "client_version"
84 t.string "gstreamer_package"
85 t.string "xine_package"
90 add_index "visitors", ["created_at"], :name => "created_at_index"
91 add_index "visitors", ["ip_address"], :name => "ip_address_index"