add nodes#create and nodes#ping
[arvados.git] / db / schema.rb
1 # encoding: UTF-8
2 # This file is auto-generated from the current state of the database. Instead
3 # of editing this file, please use the migrations feature of Active Record to
4 # incrementally modify your database, and then regenerate this schema definition.
5 #
6 # Note that this schema.rb definition is the authoritative source for your
7 # database schema. If you need to create the application database on another
8 # system, you should be using db:schema:load, not running all the migrations
9 # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10 # you'll amass, the slower it'll run and the greater likelihood for issues).
11 #
12 # It's strongly recommended to check this file into your version control system.
13
14 ActiveRecord::Schema.define(:version => 20130107212832) do
15
16   create_table "collections", :force => true do |t|
17     t.string   "locator"
18     t.string   "created_by_client"
19     t.string   "created_by_user"
20     t.datetime "created_at"
21     t.string   "modified_by_client"
22     t.string   "modified_by_user"
23     t.datetime "modified_at"
24     t.string   "portable_data_hash"
25     t.string   "name"
26     t.integer  "redundancy"
27     t.string   "redundancy_confirmed_by_client"
28     t.datetime "redundancy_confirmed_at"
29     t.integer  "redundancy_confirmed_as"
30     t.datetime "updated_at"
31     t.string   "uuid"
32   end
33
34   create_table "metadata", :force => true do |t|
35     t.string   "uuid"
36     t.string   "created_by_client"
37     t.string   "created_by_user"
38     t.datetime "created_at"
39     t.string   "modified_by_client"
40     t.string   "modified_by_user"
41     t.datetime "modified_at"
42     t.string   "target_uuid"
43     t.string   "target_kind"
44     t.integer  "native_target_id"
45     t.string   "native_target_type"
46     t.string   "metadata_class"
47     t.string   "key"
48     t.string   "value"
49     t.text     "info"
50     t.datetime "updated_at"
51   end
52
53   create_table "nodes", :force => true do |t|
54     t.string   "uuid"
55     t.string   "created_by_client"
56     t.string   "created_by_user"
57     t.datetime "created_at"
58     t.string   "modified_by_client"
59     t.string   "modified_by_user"
60     t.datetime "modified_at"
61     t.integer  "slot_number"
62     t.string   "hostname"
63     t.string   "domain"
64     t.string   "ip_address"
65     t.datetime "first_ping_at"
66     t.datetime "last_ping_at"
67     t.text     "info"
68     t.datetime "updated_at"
69   end
70
71   add_index "nodes", ["hostname"], :name => "index_nodes_on_hostname", :unique => true
72   add_index "nodes", ["slot_number"], :name => "index_nodes_on_slot_number", :unique => true
73   add_index "nodes", ["uuid"], :name => "index_nodes_on_uuid", :unique => true
74
75 end