X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/247c69eae2f2f37171032be889ebf414830350c3..4e1f73e620d876cdc1e87912d58f1c7a1028996b:/services/api/db/schema.rb diff --git a/services/api/db/schema.rb b/services/api/db/schema.rb index af64a56dba..0a18b88d1b 100644 --- a/services/api/db/schema.rb +++ b/services/api/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20130523060213) do +ActiveRecord::Schema.define(:version => 20130612042554) do create_table "api_client_authorizations", :force => true do |t| t.string "api_token", :null => false @@ -47,6 +47,24 @@ ActiveRecord::Schema.define(:version => 20130523060213) do add_index "api_clients", ["modified_at"], :name => "index_api_clients_on_modified_at" add_index "api_clients", ["uuid"], :name => "index_api_clients_on_uuid", :unique => true + create_table "authorized_keys", :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.string "key_type" + t.string "authorized_user_uuid" + t.text "public_key" + t.datetime "expires_at" + t.datetime "created_at" + t.datetime "updated_at" + end + + add_index "authorized_keys", ["authorized_user_uuid", "expires_at"], :name => "index_authorized_keys_on_authorized_user_uuid_and_expires_at" + add_index "authorized_keys", ["uuid"], :name => "index_authorized_keys_on_uuid", :unique => true + create_table "collections", :force => true do |t| t.string "locator" t.string "owner" @@ -121,7 +139,7 @@ ActiveRecord::Schema.define(:version => 20130523060213) do t.datetime "created_at" t.datetime "updated_at" t.string "created_by_job_task" - t.integer "qsequence" + t.integer "qsequence", :limit => 8 end add_index "job_tasks", ["created_at"], :name => "index_job_tasks_on_created_at" @@ -264,7 +282,7 @@ ActiveRecord::Schema.define(:version => 20130523060213) do end add_index "nodes", ["created_at"], :name => "index_nodes_on_created_at" - add_index "nodes", ["hostname"], :name => "index_nodes_on_hostname", :unique => true + add_index "nodes", ["hostname"], :name => "index_nodes_on_hostname" add_index "nodes", ["modified_at"], :name => "index_nodes_on_modified_at" add_index "nodes", ["slot_number"], :name => "index_nodes_on_slot_number", :unique => true add_index "nodes", ["uuid"], :name => "index_nodes_on_uuid", :unique => true @@ -305,6 +323,22 @@ ActiveRecord::Schema.define(:version => 20130523060213) do add_index "pipeline_templates", ["modified_at"], :name => "index_pipeline_templates_on_modified_at" add_index "pipeline_templates", ["uuid"], :name => "index_pipeline_templates_on_uuid", :unique => true + create_table "repositories", :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.string "fetch_url" + t.string "push_url" + t.datetime "created_at" + t.datetime "updated_at" + end + + add_index "repositories", ["name"], :name => "index_repositories_on_name", :unique => true + add_index "repositories", ["uuid"], :name => "index_repositories_on_uuid", :unique => true + create_table "specimens", :force => true do |t| t.string "uuid" t.string "owner" @@ -342,4 +376,18 @@ ActiveRecord::Schema.define(:version => 20130523060213) do add_index "users", ["modified_at"], :name => "index_users_on_modified_at" add_index "users", ["uuid"], :name => "index_users_on_uuid", :unique => true + create_table "virtual_machines", :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 "hostname" + t.datetime "created_at" + t.datetime "updated_at" + end + + add_index "virtual_machines", ["hostname"], :name => "index_virtual_machines_on_hostname" + add_index "virtual_machines", ["uuid"], :name => "index_virtual_machines_on_uuid", :unique => true + end