add nodes#create and nodes#ping
[arvados.git] / db / schema.rb
index ec8ab32196c7aaa7443d466f040578d24d057b58..5db586226479d3851de1ff5666363ff162b69d0c 100644 (file)
 #
 # It's strongly recommended to check this file into your version control system.
 
-ActiveRecord::Schema.define(:version => 20130105203021) do
+ActiveRecord::Schema.define(:version => 20130107212832) do
 
   create_table "collections", :force => true do |t|
     t.string   "locator"
-    t.string   "create_by_client"
+    t.string   "created_by_client"
     t.string   "created_by_user"
     t.datetime "created_at"
     t.string   "modified_by_client"
@@ -28,6 +28,7 @@ ActiveRecord::Schema.define(:version => 20130105203021) do
     t.datetime "redundancy_confirmed_at"
     t.integer  "redundancy_confirmed_as"
     t.datetime "updated_at"
+    t.string   "uuid"
   end
 
   create_table "metadata", :force => true do |t|
@@ -42,11 +43,33 @@ ActiveRecord::Schema.define(:version => 20130105203021) do
     t.string   "target_kind"
     t.integer  "native_target_id"
     t.string   "native_target_type"
-    t.string   "metadatum_class"
+    t.string   "metadata_class"
     t.string   "key"
     t.string   "value"
     t.text     "info"
     t.datetime "updated_at"
   end
 
+  create_table "nodes", :force => true do |t|
+    t.string   "uuid"
+    t.string   "created_by_client"
+    t.string   "created_by_user"
+    t.datetime "created_at"
+    t.string   "modified_by_client"
+    t.string   "modified_by_user"
+    t.datetime "modified_at"
+    t.integer  "slot_number"
+    t.string   "hostname"
+    t.string   "domain"
+    t.string   "ip_address"
+    t.datetime "first_ping_at"
+    t.datetime "last_ping_at"
+    t.text     "info"
+    t.datetime "updated_at"
+  end
+
+  add_index "nodes", ["hostname"], :name => "index_nodes_on_hostname", :unique => true
+  add_index "nodes", ["slot_number"], :name => "index_nodes_on_slot_number", :unique => true
+  add_index "nodes", ["uuid"], :name => "index_nodes_on_uuid", :unique => true
+
 end