add Human resource
[arvados.git] / services / api / db / schema.rb
index 91b7979008f27686122f593c0dc9e2e8627ad615..34d176357955043216a8306b9641ee3e5cc344b5 100644 (file)
@@ -11,7 +11,7 @@
 #
 # It's strongly recommended to check this file into your version control system.
 
-ActiveRecord::Schema.define(:version => 20130617150007) do
+ActiveRecord::Schema.define(:version => 20130627184333) do
 
   create_table "api_client_authorizations", :force => true do |t|
     t.string   "api_token",               :null => false
@@ -125,6 +125,19 @@ ActiveRecord::Schema.define(:version => 20130617150007) do
   add_index "groups", ["modified_at"], :name => "index_groups_on_modified_at"
   add_index "groups", ["uuid"], :name => "index_groups_on_uuid", :unique => true
 
+  create_table "humans", :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.text     "properties"
+    t.datetime "created_at"
+    t.datetime "updated_at"
+  end
+
+  add_index "humans", ["uuid"], :name => "index_humans_on_uuid", :unique => true
+
   create_table "job_tasks", :force => true do |t|
     t.string   "uuid"
     t.string   "owner"
@@ -356,6 +369,21 @@ ActiveRecord::Schema.define(:version => 20130617150007) do
   add_index "specimens", ["modified_at"], :name => "index_specimens_on_modified_at"
   add_index "specimens", ["uuid"], :name => "index_specimens_on_uuid", :unique => true
 
+  create_table "traits", :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   "name"
+    t.text     "properties"
+    t.datetime "created_at"
+    t.datetime "updated_at"
+  end
+
+  add_index "traits", ["name"], :name => "index_traits_on_name"
+  add_index "traits", ["uuid"], :name => "index_traits_on_uuid", :unique => true
+
   create_table "users", :force => true do |t|
     t.string   "uuid"
     t.string   "owner"
@@ -371,6 +399,7 @@ ActiveRecord::Schema.define(:version => 20130617150007) do
     t.text     "prefs"
     t.datetime "updated_at"
     t.string   "default_owner"
+    t.boolean  "is_active",          :default => false
   end
 
   add_index "users", ["created_at"], :name => "index_users_on_created_at"