X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/19f8cc45bfbe938c0988a719a146a577c2ca7ca5..0a72fd5c9f764eba4fc295d8beb24ac3d01885c5:/services/api/db/schema.rb diff --git a/services/api/db/schema.rb b/services/api/db/schema.rb index 2ef90d2732..fc8e43601e 100644 --- a/services/api/db/schema.rb +++ b/services/api/db/schema.rb @@ -11,18 +11,18 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20140407184311) do +ActiveRecord::Schema.define(:version => 20140423132913) do create_table "api_client_authorizations", :force => true do |t| - t.string "api_token", :null => false - t.integer "api_client_id", :null => false - t.integer "user_id", :null => false + t.string "api_token", :null => false + t.integer "api_client_id", :null => false + t.integer "user_id", :null => false t.string "created_by_ip_address" t.string "last_used_by_ip_address" t.datetime "last_used_at" t.datetime "expires_at" - t.datetime "created_at", :null => false - t.datetime "updated_at", :null => false + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false t.string "default_owner_uuid" t.text "scopes", :default => "---\n- all\n", :null => false end @@ -70,7 +70,7 @@ ActiveRecord::Schema.define(:version => 20140407184311) do create_table "collections", :force => true do |t| t.string "locator" t.string "owner_uuid" - t.datetime "created_at", :null => false + t.datetime "created_at" t.string "modified_by_client_uuid" t.string "modified_by_user_uuid" t.datetime "modified_at" @@ -80,7 +80,7 @@ ActiveRecord::Schema.define(:version => 20140407184311) do t.string "redundancy_confirmed_by_client_uuid" t.datetime "redundancy_confirmed_at" t.integer "redundancy_confirmed_as" - t.datetime "updated_at", :null => false + t.datetime "updated_at" t.string "uuid" t.text "manifest_text" end @@ -104,8 +104,8 @@ ActiveRecord::Schema.define(:version => 20140407184311) do t.string "repository_name" t.string "sha1" t.string "message" - t.datetime "created_at", :null => false - t.datetime "updated_at", :null => false + t.datetime "created_at" + t.datetime "updated_at" end add_index "commits", ["repository_name", "sha1"], :name => "index_commits_on_repository_name_and_sha1", :unique => true @@ -133,8 +133,8 @@ ActiveRecord::Schema.define(:version => 20140407184311) do t.string "modified_by_user_uuid" t.datetime "modified_at" t.text "properties" - t.datetime "created_at", :null => false - t.datetime "updated_at", :null => false + t.datetime "created_at" + t.datetime "updated_at" end add_index "humans", ["uuid"], :name => "index_humans_on_uuid", :unique => true @@ -182,8 +182,8 @@ ActiveRecord::Schema.define(:version => 20140407184311) do t.boolean "running" t.boolean "success" t.string "output" - t.datetime "created_at", :null => false - t.datetime "updated_at", :null => false + t.datetime "created_at" + t.datetime "updated_at" t.string "priority" t.string "is_locked_by_uuid" t.string "log" @@ -235,25 +235,23 @@ ActiveRecord::Schema.define(:version => 20140407184311) do create_table "links", :force => true do |t| t.string "uuid" t.string "owner_uuid" - t.datetime "created_at", :null => false + t.datetime "created_at" t.string "modified_by_client_uuid" t.string "modified_by_user_uuid" t.datetime "modified_at" t.string "tail_uuid" - t.string "tail_kind" t.string "link_class" t.string "name" t.string "head_uuid" t.text "properties" - t.datetime "updated_at", :null => false + t.datetime "updated_at" t.string "head_kind" + t.string "tail_kind" end add_index "links", ["created_at"], :name => "index_links_on_created_at" - add_index "links", ["head_kind"], :name => "index_links_on_head_kind" add_index "links", ["head_uuid"], :name => "index_links_on_head_uuid" add_index "links", ["modified_at"], :name => "index_links_on_modified_at" - add_index "links", ["tail_kind"], :name => "index_links_on_tail_kind" add_index "links", ["tail_uuid"], :name => "index_links_on_tail_uuid" add_index "links", ["uuid"], :name => "index_links_on_uuid", :unique => true @@ -262,7 +260,6 @@ ActiveRecord::Schema.define(:version => 20140407184311) do t.string "owner_uuid" t.string "modified_by_client_uuid" t.string "modified_by_user_uuid" - t.string "object_kind" t.string "object_uuid" t.datetime "event_at" t.string "event_type" @@ -271,13 +268,13 @@ ActiveRecord::Schema.define(:version => 20140407184311) do t.datetime "created_at", :null => false t.datetime "updated_at", :null => false t.datetime "modified_at" + t.string "object_owner_uuid" end add_index "logs", ["created_at"], :name => "index_logs_on_created_at" add_index "logs", ["event_at"], :name => "index_logs_on_event_at" add_index "logs", ["event_type"], :name => "index_logs_on_event_type" add_index "logs", ["modified_at"], :name => "index_logs_on_modified_at" - add_index "logs", ["object_kind"], :name => "index_logs_on_object_kind" add_index "logs", ["object_uuid"], :name => "index_logs_on_object_uuid" add_index "logs", ["summary"], :name => "index_logs_on_summary" add_index "logs", ["uuid"], :name => "index_logs_on_uuid", :unique => true @@ -308,7 +305,7 @@ ActiveRecord::Schema.define(:version => 20140407184311) do create_table "pipeline_instances", :force => true do |t| t.string "uuid" t.string "owner_uuid" - t.datetime "created_at", :null => false + t.datetime "created_at" t.string "modified_by_client_uuid" t.string "modified_by_user_uuid" t.datetime "modified_at" @@ -317,7 +314,7 @@ ActiveRecord::Schema.define(:version => 20140407184311) do t.text "components" t.boolean "success" t.boolean "active", :default => false - t.datetime "updated_at", :null => false + t.datetime "updated_at" t.text "properties" end