add job_task attributes
[arvados.git] / services / api / db / schema.rb
index 986528b9091f50139ea77a412146355c38bb63c7..af64a56dba258640aaf6c804bcd6589416a839ec 100644 (file)
@@ -11,7 +11,7 @@
 #
 # It's strongly recommended to check this file into your version control system.
 
-ActiveRecord::Schema.define(:version => 20130326182917) do
+ActiveRecord::Schema.define(:version => 20130523060213) do
 
   create_table "api_client_authorizations", :force => true do |t|
     t.string   "api_token",               :null => false
@@ -120,6 +120,8 @@ ActiveRecord::Schema.define(:version => 20130326182917) do
     t.boolean  "success"
     t.datetime "created_at"
     t.datetime "updated_at"
+    t.string   "created_by_job_task"
+    t.integer  "qsequence"
   end
 
   add_index "job_tasks", ["created_at"], :name => "index_job_tasks_on_created_at"
@@ -165,6 +167,35 @@ ActiveRecord::Schema.define(:version => 20130326182917) do
   add_index "jobs", ["submit_id"], :name => "index_jobs_on_submit_id", :unique => true
   add_index "jobs", ["uuid"], :name => "index_jobs_on_uuid", :unique => true
 
+  create_table "keep_disks", :force => true do |t|
+    t.string   "uuid",                                 :null => false
+    t.string   "owner",                                :null => false
+    t.string   "modified_by_client"
+    t.string   "modified_by_user"
+    t.datetime "modified_at"
+    t.string   "ping_secret",                          :null => false
+    t.string   "node_uuid"
+    t.string   "filesystem_uuid"
+    t.integer  "bytes_total"
+    t.integer  "bytes_free"
+    t.boolean  "is_readable",        :default => true, :null => false
+    t.boolean  "is_writable",        :default => true, :null => false
+    t.datetime "last_read_at"
+    t.datetime "last_write_at"
+    t.datetime "last_ping_at"
+    t.datetime "created_at"
+    t.datetime "updated_at"
+    t.string   "service_host"
+    t.integer  "service_port"
+    t.boolean  "service_ssl_flag"
+  end
+
+  add_index "keep_disks", ["filesystem_uuid"], :name => "index_keep_disks_on_filesystem_uuid"
+  add_index "keep_disks", ["last_ping_at"], :name => "index_keep_disks_on_last_ping_at"
+  add_index "keep_disks", ["node_uuid"], :name => "index_keep_disks_on_node_uuid"
+  add_index "keep_disks", ["service_host", "service_port", "last_ping_at"], :name => "keep_disks_service_host_port_ping_at_index"
+  add_index "keep_disks", ["uuid"], :name => "index_keep_disks_on_uuid", :unique => true
+
   create_table "links", :force => true do |t|
     t.string   "uuid"
     t.string   "owner"