fix syntax
[opensuse:software-o-o.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 => 20110722151000) do
13
14   create_table "delayed_jobs", :force => true do |t|
15     t.integer  "priority",   :default => 0
16     t.integer  "attempts",   :default => 0
17     t.text     "handler"
18     t.text     "last_error"
19     t.datetime "run_at"
20     t.datetime "locked_at"
21     t.datetime "failed_at"
22     t.string   "locked_by"
23     t.datetime "created_at"
24     t.datetime "updated_at"
25   end
26
27   create_table "download_histories", :force => true do |t|
28     t.string   "base"
29     t.string   "query"
30     t.string   "file"
31     t.string   "ymp"
32     t.datetime "created_at"
33   end
34
35   add_index "download_histories", ["query"], :name => "index_download_histories_on_query"
36
37   create_table "orders", :force => true do |t|
38     t.string   "title",        :null => false
39     t.string   "name",         :null => false
40     t.string   "company"
41     t.string   "street1",      :null => false
42     t.string   "street2"
43     t.string   "zip",          :null => false
44     t.string   "city",         :null => false
45     t.string   "county"
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"
56     t.string   "material"
57   end
58
59   create_table "search_histories", :force => true do |t|
60     t.string   "base"
61     t.string   "query"
62     t.integer  "count"
63     t.integer  "binaries"
64     t.integer  "patterns"
65     t.datetime "created_at"
66   end
67
68 end