projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
API server: strip all arvados-specific settings from the .example
[arvados.git]
/
services
/
api
/
db
/
schema.rb
diff --git
a/services/api/db/schema.rb
b/services/api/db/schema.rb
index 37a9586c901377eca89a8b72b6a3edb3c32c01e2..df6ea9b190c7e41932095a90baeda87c363b2db3 100644
(file)
--- a/
services/api/db/schema.rb
+++ b/
services/api/db/schema.rb
@@
-11,19
+11,20
@@
#
# It's strongly recommended to check this file into your version control system.
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 201
30708163414
) do
+ActiveRecord::Schema.define(:version => 201
40129184311
) do
create_table "api_client_authorizations", :force => true do |t|
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.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"
- t.datetime "updated_at"
+ t.datetime "created_at"
, :null => false
+ t.datetime "updated_at"
, :null => false
t.string "default_owner_uuid"
t.string "default_owner_uuid"
+ t.text "scopes", :default => "---\n- all\n", :null => false
end
add_index "api_client_authorizations", ["api_client_id"], :name => "index_api_client_authorizations_on_api_client_id"
end
add_index "api_client_authorizations", ["api_client_id"], :name => "index_api_client_authorizations_on_api_client_id"
@@
-39,8
+40,8
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
t.datetime "modified_at"
t.string "name"
t.string "url_prefix"
t.datetime "modified_at"
t.string "name"
t.string "url_prefix"
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.datetime "created_at"
, :null => false
+ t.datetime "updated_at"
, :null => false
t.boolean "is_trusted", :default => false
end
t.boolean "is_trusted", :default => false
end
@@
-59,8
+60,8
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
t.string "authorized_user_uuid"
t.text "public_key"
t.datetime "expires_at"
t.string "authorized_user_uuid"
t.text "public_key"
t.datetime "expires_at"
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.datetime "created_at"
, :null => false
+ t.datetime "updated_at"
, :null => false
end
add_index "authorized_keys", ["authorized_user_uuid", "expires_at"], :name => "index_authorized_keys_on_authorized_user_uuid_and_expires_at"
end
add_index "authorized_keys", ["authorized_user_uuid", "expires_at"], :name => "index_authorized_keys_on_authorized_user_uuid_and_expires_at"
@@
-69,7
+70,7
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
create_table "collections", :force => true do |t|
t.string "locator"
t.string "owner_uuid"
create_table "collections", :force => true do |t|
t.string "locator"
t.string "owner_uuid"
- t.datetime "created_at"
+ t.datetime "created_at"
, :null => false
t.string "modified_by_client_uuid"
t.string "modified_by_user_uuid"
t.datetime "modified_at"
t.string "modified_by_client_uuid"
t.string "modified_by_user_uuid"
t.datetime "modified_at"
@@
-79,7
+80,7
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
t.string "redundancy_confirmed_by_client_uuid"
t.datetime "redundancy_confirmed_at"
t.integer "redundancy_confirmed_as"
t.string "redundancy_confirmed_by_client_uuid"
t.datetime "redundancy_confirmed_at"
t.integer "redundancy_confirmed_as"
- t.datetime "updated_at"
+ t.datetime "updated_at"
, :null => false
t.string "uuid"
t.text "manifest_text"
end
t.string "uuid"
t.text "manifest_text"
end
@@
-93,8
+94,8
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
t.string "descendant", :null => false
t.string "ancestor", :null => false
t.boolean "is", :default => false, :null => false
t.string "descendant", :null => false
t.string "ancestor", :null => false
t.boolean "is", :default => false, :null => false
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.datetime "created_at"
, :null => false
+ t.datetime "updated_at"
, :null => false
end
add_index "commit_ancestors", ["descendant", "ancestor"], :name => "index_commit_ancestors_on_descendant_and_ancestor", :unique => true
end
add_index "commit_ancestors", ["descendant", "ancestor"], :name => "index_commit_ancestors_on_descendant_and_ancestor", :unique => true
@@
-103,8
+104,8
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
t.string "repository_name"
t.string "sha1"
t.string "message"
t.string "repository_name"
t.string "sha1"
t.string "message"
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.datetime "created_at"
, :null => false
+ t.datetime "updated_at"
, :null => false
end
add_index "commits", ["repository_name", "sha1"], :name => "index_commits_on_repository_name_and_sha1", :unique => true
end
add_index "commits", ["repository_name", "sha1"], :name => "index_commits_on_repository_name_and_sha1", :unique => true
@@
-112,13
+113,13
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
create_table "groups", :force => true do |t|
t.string "uuid"
t.string "owner_uuid"
create_table "groups", :force => true do |t|
t.string "uuid"
t.string "owner_uuid"
- t.datetime "created_at"
+ t.datetime "created_at"
, :null => false
t.string "modified_by_client_uuid"
t.string "modified_by_user_uuid"
t.datetime "modified_at"
t.string "name"
t.text "description"
t.string "modified_by_client_uuid"
t.string "modified_by_user_uuid"
t.datetime "modified_at"
t.string "name"
t.text "description"
- t.datetime "updated_at"
+ t.datetime "updated_at"
, :null => false
end
add_index "groups", ["created_at"], :name => "index_groups_on_created_at"
end
add_index "groups", ["created_at"], :name => "index_groups_on_created_at"
@@
-132,8
+133,8
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
t.string "modified_by_user_uuid"
t.datetime "modified_at"
t.text "properties"
t.string "modified_by_user_uuid"
t.datetime "modified_at"
t.text "properties"
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.datetime "created_at"
, :null => false
+ t.datetime "updated_at"
, :null => false
end
add_index "humans", ["uuid"], :name => "index_humans_on_uuid", :unique => true
end
add_index "humans", ["uuid"], :name => "index_humans_on_uuid", :unique => true
@@
-150,8
+151,8
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
t.text "output"
t.float "progress"
t.boolean "success"
t.text "output"
t.float "progress"
t.boolean "success"
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.datetime "created_at"
, :null => false
+ t.datetime "updated_at"
, :null => false
t.string "created_by_job_task_uuid"
t.integer "qsequence", :limit => 8
end
t.string "created_by_job_task_uuid"
t.integer "qsequence", :limit => 8
end
@@
-173,21
+174,21
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
t.string "script"
t.string "script_version"
t.text "script_parameters"
t.string "script"
t.string "script_version"
t.text "script_parameters"
- t.string "cancelled_by_client"
- t.string "cancelled_by_user"
+ t.string "cancelled_by_client
_uuid
"
+ t.string "cancelled_by_user
_uuid
"
t.datetime "cancelled_at"
t.datetime "started_at"
t.datetime "finished_at"
t.boolean "running"
t.boolean "success"
t.string "output"
t.datetime "cancelled_at"
t.datetime "started_at"
t.datetime "finished_at"
t.boolean "running"
t.boolean "success"
t.string "output"
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.datetime "created_at"
, :null => false
+ t.datetime "updated_at"
, :null => false
t.string "priority"
t.string "is_locked_by_uuid"
t.string "log"
t.text "tasks_summary"
t.string "priority"
t.string "is_locked_by_uuid"
t.string "log"
t.text "tasks_summary"
- t.text "r
esource_limi
ts"
+ t.text "r
untime_constrain
ts"
end
add_index "jobs", ["created_at"], :name => "index_jobs_on_created_at"
end
add_index "jobs", ["created_at"], :name => "index_jobs_on_created_at"
@@
-215,8
+216,8
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
t.datetime "last_read_at"
t.datetime "last_write_at"
t.datetime "last_ping_at"
t.datetime "last_read_at"
t.datetime "last_write_at"
t.datetime "last_ping_at"
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.datetime "created_at"
, :null => false
+ t.datetime "updated_at"
, :null => false
t.string "service_host"
t.integer "service_port"
t.boolean "service_ssl_flag"
t.string "service_host"
t.integer "service_port"
t.boolean "service_ssl_flag"
@@
-231,7
+232,7
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
create_table "links", :force => true do |t|
t.string "uuid"
t.string "owner_uuid"
create_table "links", :force => true do |t|
t.string "uuid"
t.string "owner_uuid"
- t.datetime "created_at"
+ t.datetime "created_at"
, :null => false
t.string "modified_by_client_uuid"
t.string "modified_by_user_uuid"
t.datetime "modified_at"
t.string "modified_by_client_uuid"
t.string "modified_by_user_uuid"
t.datetime "modified_at"
@@
-241,7
+242,7
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
t.string "name"
t.string "head_uuid"
t.text "properties"
t.string "name"
t.string "head_uuid"
t.text "properties"
- t.datetime "updated_at"
+ t.datetime "updated_at"
, :null => false
t.string "head_kind"
end
t.string "head_kind"
end
@@
-264,8
+265,8
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
t.string "event_type"
t.text "summary"
t.text "info"
t.string "event_type"
t.text "summary"
t.text "info"
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.datetime "created_at"
, :null => false
+ t.datetime "updated_at"
, :null => false
t.datetime "modified_at"
end
t.datetime "modified_at"
end
@@
-281,7
+282,7
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
create_table "nodes", :force => true do |t|
t.string "uuid"
t.string "owner_uuid"
create_table "nodes", :force => true do |t|
t.string "uuid"
t.string "owner_uuid"
- t.datetime "created_at"
+ t.datetime "created_at"
, :null => false
t.string "modified_by_client_uuid"
t.string "modified_by_user_uuid"
t.datetime "modified_at"
t.string "modified_by_client_uuid"
t.string "modified_by_user_uuid"
t.datetime "modified_at"
@@
-292,7
+293,7
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
t.datetime "first_ping_at"
t.datetime "last_ping_at"
t.text "info"
t.datetime "first_ping_at"
t.datetime "last_ping_at"
t.text "info"
- t.datetime "updated_at"
+ t.datetime "updated_at"
, :null => false
end
add_index "nodes", ["created_at"], :name => "index_nodes_on_created_at"
end
add_index "nodes", ["created_at"], :name => "index_nodes_on_created_at"
@@
-304,7
+305,7
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
create_table "pipeline_instances", :force => true do |t|
t.string "uuid"
t.string "owner_uuid"
create_table "pipeline_instances", :force => true do |t|
t.string "uuid"
t.string "owner_uuid"
- t.datetime "created_at"
+ t.datetime "created_at"
, :null => false
t.string "modified_by_client_uuid"
t.string "modified_by_user_uuid"
t.datetime "modified_at"
t.string "modified_by_client_uuid"
t.string "modified_by_user_uuid"
t.datetime "modified_at"
@@
-313,7
+314,7
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
t.text "components"
t.boolean "success"
t.boolean "active", :default => false
t.text "components"
t.boolean "success"
t.boolean "active", :default => false
- t.datetime "updated_at"
+ t.datetime "updated_at"
, :null => false
t.text "properties"
end
t.text "properties"
end
@@
-324,13
+325,13
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
create_table "pipeline_templates", :force => true do |t|
t.string "uuid"
t.string "owner_uuid"
create_table "pipeline_templates", :force => true do |t|
t.string "uuid"
t.string "owner_uuid"
- t.datetime "created_at"
+ t.datetime "created_at"
, :null => false
t.string "modified_by_client_uuid"
t.string "modified_by_user_uuid"
t.datetime "modified_at"
t.string "name"
t.text "components"
t.string "modified_by_client_uuid"
t.string "modified_by_user_uuid"
t.datetime "modified_at"
t.string "name"
t.text "components"
- t.datetime "updated_at"
+ t.datetime "updated_at"
, :null => false
end
add_index "pipeline_templates", ["created_at"], :name => "index_pipeline_templates_on_created_at"
end
add_index "pipeline_templates", ["created_at"], :name => "index_pipeline_templates_on_created_at"
@@
-346,8
+347,8
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
t.string "name"
t.string "fetch_url"
t.string "push_url"
t.string "name"
t.string "fetch_url"
t.string "push_url"
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.datetime "created_at"
, :null => false
+ t.datetime "updated_at"
, :null => false
end
add_index "repositories", ["name"], :name => "index_repositories_on_name", :unique => true
end
add_index "repositories", ["name"], :name => "index_repositories_on_name", :unique => true
@@
-356,12
+357,12
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
create_table "specimens", :force => true do |t|
t.string "uuid"
t.string "owner_uuid"
create_table "specimens", :force => true do |t|
t.string "uuid"
t.string "owner_uuid"
- t.datetime "created_at"
+ t.datetime "created_at"
, :null => false
t.string "modified_by_client_uuid"
t.string "modified_by_user_uuid"
t.datetime "modified_at"
t.string "material"
t.string "modified_by_client_uuid"
t.string "modified_by_user_uuid"
t.datetime "modified_at"
t.string "material"
- t.datetime "updated_at"
+ t.datetime "updated_at"
, :null => false
t.text "properties"
end
t.text "properties"
end
@@
-377,8
+378,8
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
t.datetime "modified_at"
t.string "name"
t.text "properties"
t.datetime "modified_at"
t.string "name"
t.text "properties"
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.datetime "created_at"
, :null => false
+ t.datetime "updated_at"
, :null => false
end
add_index "traits", ["name"], :name => "index_traits_on_name"
end
add_index "traits", ["name"], :name => "index_traits_on_name"
@@
-387,7
+388,7
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
create_table "users", :force => true do |t|
t.string "uuid"
t.string "owner_uuid"
create_table "users", :force => true do |t|
t.string "uuid"
t.string "owner_uuid"
- t.datetime "created_at"
+ t.datetime "created_at"
, :null => false
t.string "modified_by_client_uuid"
t.string "modified_by_user_uuid"
t.datetime "modified_at"
t.string "modified_by_client_uuid"
t.string "modified_by_user_uuid"
t.datetime "modified_at"
@@
-397,8
+398,8
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
t.string "identity_url"
t.boolean "is_admin"
t.text "prefs"
t.string "identity_url"
t.boolean "is_admin"
t.text "prefs"
- t.datetime "updated_at"
- t.string "default_owner"
+ t.datetime "updated_at"
, :null => false
+ t.string "default_owner
_uuid
"
t.boolean "is_active", :default => false
end
t.boolean "is_active", :default => false
end
@@
-413,8
+414,8
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
t.string "modified_by_user_uuid"
t.datetime "modified_at"
t.string "hostname"
t.string "modified_by_user_uuid"
t.datetime "modified_at"
t.string "hostname"
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.datetime "created_at"
, :null => false
+ t.datetime "updated_at"
, :null => false
end
add_index "virtual_machines", ["hostname"], :name => "index_virtual_machines_on_hostname"
end
add_index "virtual_machines", ["hostname"], :name => "index_virtual_machines_on_hostname"