projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 4570-multi-auth-method
[arvados.git]
/
services
/
api
/
db
/
structure.sql
diff --git
a/services/api/db/structure.sql
b/services/api/db/structure.sql
index 48bc57ab97e2e1da8b9eb52e5ca01b987ad2fe56..038973f9b8f02e44f8840cac5b3a0554b1373dcb 100644
(file)
--- a/
services/api/db/structure.sql
+++ b/
services/api/db/structure.sql
@@
-432,7
+432,8
@@
CREATE TABLE jobs (
docker_image_locator character varying(255),
priority integer DEFAULT 0 NOT NULL,
description text,
docker_image_locator character varying(255),
priority integer DEFAULT 0 NOT NULL,
description text,
- state character varying(255)
+ state character varying(255),
+ arvados_sdk_version character varying(255)
);
);
@@
-1333,6
+1334,13
@@
CREATE INDEX index_api_clients_on_created_at ON api_clients USING btree (created
CREATE INDEX index_api_clients_on_modified_at ON api_clients USING btree (modified_at);
CREATE INDEX index_api_clients_on_modified_at ON api_clients USING btree (modified_at);
+--
+-- Name: index_api_clients_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_api_clients_on_owner_uuid ON api_clients USING btree (owner_uuid);
+
+
--
-- Name: index_api_clients_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
--
-- Name: index_api_clients_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
@@
-1347,6
+1355,13
@@
CREATE UNIQUE INDEX index_api_clients_on_uuid ON api_clients USING btree (uuid);
CREATE INDEX index_authkeys_on_user_and_expires_at ON authorized_keys USING btree (authorized_user_uuid, expires_at);
CREATE INDEX index_authkeys_on_user_and_expires_at ON authorized_keys USING btree (authorized_user_uuid, expires_at);
+--
+-- Name: index_authorized_keys_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_authorized_keys_on_owner_uuid ON authorized_keys USING btree (owner_uuid);
+
+
--
-- Name: index_authorized_keys_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
--
-- Name: index_authorized_keys_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
@@
-1368,6
+1383,13
@@
CREATE INDEX index_collections_on_created_at ON collections USING btree (created
CREATE INDEX index_collections_on_modified_at ON collections USING btree (modified_at);
CREATE INDEX index_collections_on_modified_at ON collections USING btree (modified_at);
+--
+-- Name: index_collections_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_collections_on_owner_uuid ON collections USING btree (owner_uuid);
+
+
--
-- Name: index_collections_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
--
-- Name: index_collections_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
@@
-1410,6
+1432,13
@@
CREATE INDEX index_groups_on_group_class ON groups USING btree (group_class);
CREATE INDEX index_groups_on_modified_at ON groups USING btree (modified_at);
CREATE INDEX index_groups_on_modified_at ON groups USING btree (modified_at);
+--
+-- Name: index_groups_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_groups_on_owner_uuid ON groups USING btree (owner_uuid);
+
+
--
-- Name: index_groups_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
--
-- Name: index_groups_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
@@
-1417,6
+1446,13
@@
CREATE INDEX index_groups_on_modified_at ON groups USING btree (modified_at);
CREATE UNIQUE INDEX index_groups_on_uuid ON groups USING btree (uuid);
CREATE UNIQUE INDEX index_groups_on_uuid ON groups USING btree (uuid);
+--
+-- Name: index_humans_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_humans_on_owner_uuid ON humans USING btree (owner_uuid);
+
+
--
-- Name: index_humans_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
--
-- Name: index_humans_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
@@
-1445,6
+1481,13
@@
CREATE INDEX index_job_tasks_on_job_uuid ON job_tasks USING btree (job_uuid);
CREATE INDEX index_job_tasks_on_modified_at ON job_tasks USING btree (modified_at);
CREATE INDEX index_job_tasks_on_modified_at ON job_tasks USING btree (modified_at);
+--
+-- Name: index_job_tasks_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_job_tasks_on_owner_uuid ON job_tasks USING btree (owner_uuid);
+
+
--
-- Name: index_job_tasks_on_sequence; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
--
-- Name: index_job_tasks_on_sequence; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
@@
-1494,6
+1537,13
@@
CREATE INDEX index_jobs_on_modified_at ON jobs USING btree (modified_at);
CREATE INDEX index_jobs_on_output ON jobs USING btree (output);
CREATE INDEX index_jobs_on_output ON jobs USING btree (output);
+--
+-- Name: index_jobs_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_jobs_on_owner_uuid ON jobs USING btree (owner_uuid);
+
+
--
-- Name: index_jobs_on_script; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
--
-- Name: index_jobs_on_script; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
@@
-1543,6
+1593,13
@@
CREATE INDEX index_keep_disks_on_last_ping_at ON keep_disks USING btree (last_pi
CREATE INDEX index_keep_disks_on_node_uuid ON keep_disks USING btree (node_uuid);
CREATE INDEX index_keep_disks_on_node_uuid ON keep_disks USING btree (node_uuid);
+--
+-- Name: index_keep_disks_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_keep_disks_on_owner_uuid ON keep_disks USING btree (owner_uuid);
+
+
--
-- Name: index_keep_disks_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
--
-- Name: index_keep_disks_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
@@
-1550,6
+1607,13
@@
CREATE INDEX index_keep_disks_on_node_uuid ON keep_disks USING btree (node_uuid)
CREATE UNIQUE INDEX index_keep_disks_on_uuid ON keep_disks USING btree (uuid);
CREATE UNIQUE INDEX index_keep_disks_on_uuid ON keep_disks USING btree (uuid);
+--
+-- Name: index_keep_services_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_keep_services_on_owner_uuid ON keep_services USING btree (owner_uuid);
+
+
--
-- Name: index_keep_services_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
--
-- Name: index_keep_services_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
@@
-1578,6
+1642,13
@@
CREATE INDEX index_links_on_head_uuid ON links USING btree (head_uuid);
CREATE INDEX index_links_on_modified_at ON links USING btree (modified_at);
CREATE INDEX index_links_on_modified_at ON links USING btree (modified_at);
+--
+-- Name: index_links_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_links_on_owner_uuid ON links USING btree (owner_uuid);
+
+
--
-- Name: index_links_on_tail_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
--
-- Name: index_links_on_tail_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
@@
-1627,6
+1698,13
@@
CREATE INDEX index_logs_on_modified_at ON logs USING btree (modified_at);
CREATE INDEX index_logs_on_object_uuid ON logs USING btree (object_uuid);
CREATE INDEX index_logs_on_object_uuid ON logs USING btree (object_uuid);
+--
+-- Name: index_logs_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_logs_on_owner_uuid ON logs USING btree (owner_uuid);
+
+
--
-- Name: index_logs_on_summary; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
--
-- Name: index_logs_on_summary; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
@@
-1662,6
+1740,13
@@
CREATE INDEX index_nodes_on_hostname ON nodes USING btree (hostname);
CREATE INDEX index_nodes_on_modified_at ON nodes USING btree (modified_at);
CREATE INDEX index_nodes_on_modified_at ON nodes USING btree (modified_at);
+--
+-- Name: index_nodes_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_nodes_on_owner_uuid ON nodes USING btree (owner_uuid);
+
+
--
-- Name: index_nodes_on_slot_number; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
--
-- Name: index_nodes_on_slot_number; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
@@
-1690,6
+1775,13
@@
CREATE INDEX index_pipeline_instances_on_created_at ON pipeline_instances USING
CREATE INDEX index_pipeline_instances_on_modified_at ON pipeline_instances USING btree (modified_at);
CREATE INDEX index_pipeline_instances_on_modified_at ON pipeline_instances USING btree (modified_at);
+--
+-- Name: index_pipeline_instances_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_pipeline_instances_on_owner_uuid ON pipeline_instances USING btree (owner_uuid);
+
+
--
-- Name: index_pipeline_instances_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
--
-- Name: index_pipeline_instances_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
@@
-1711,6
+1803,13
@@
CREATE INDEX index_pipeline_templates_on_created_at ON pipeline_templates USING
CREATE INDEX index_pipeline_templates_on_modified_at ON pipeline_templates USING btree (modified_at);
CREATE INDEX index_pipeline_templates_on_modified_at ON pipeline_templates USING btree (modified_at);
+--
+-- Name: index_pipeline_templates_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_pipeline_templates_on_owner_uuid ON pipeline_templates USING btree (owner_uuid);
+
+
--
-- Name: index_pipeline_templates_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
--
-- Name: index_pipeline_templates_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
@@
-1725,6
+1824,13
@@
CREATE UNIQUE INDEX index_pipeline_templates_on_uuid ON pipeline_templates USING
CREATE UNIQUE INDEX index_repositories_on_name ON repositories USING btree (name);
CREATE UNIQUE INDEX index_repositories_on_name ON repositories USING btree (name);
+--
+-- Name: index_repositories_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_repositories_on_owner_uuid ON repositories USING btree (owner_uuid);
+
+
--
-- Name: index_repositories_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
--
-- Name: index_repositories_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
@@
-1746,6
+1852,13
@@
CREATE INDEX index_specimens_on_created_at ON specimens USING btree (created_at)
CREATE INDEX index_specimens_on_modified_at ON specimens USING btree (modified_at);
CREATE INDEX index_specimens_on_modified_at ON specimens USING btree (modified_at);
+--
+-- Name: index_specimens_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_specimens_on_owner_uuid ON specimens USING btree (owner_uuid);
+
+
--
-- Name: index_specimens_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
--
-- Name: index_specimens_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
@@
-1760,6
+1873,13
@@
CREATE UNIQUE INDEX index_specimens_on_uuid ON specimens USING btree (uuid);
CREATE INDEX index_traits_on_name ON traits USING btree (name);
CREATE INDEX index_traits_on_name ON traits USING btree (name);
+--
+-- Name: index_traits_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_traits_on_owner_uuid ON traits USING btree (owner_uuid);
+
+
--
-- Name: index_traits_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
--
-- Name: index_traits_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
@@
-1781,6
+1901,13
@@
CREATE INDEX index_users_on_created_at ON users USING btree (created_at);
CREATE INDEX index_users_on_modified_at ON users USING btree (modified_at);
CREATE INDEX index_users_on_modified_at ON users USING btree (modified_at);
+--
+-- Name: index_users_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_users_on_owner_uuid ON users USING btree (owner_uuid);
+
+
--
-- Name: index_users_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
--
-- Name: index_users_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
@@
-1795,6
+1922,13
@@
CREATE UNIQUE INDEX index_users_on_uuid ON users USING btree (uuid);
CREATE INDEX index_virtual_machines_on_hostname ON virtual_machines USING btree (hostname);
CREATE INDEX index_virtual_machines_on_hostname ON virtual_machines USING btree (hostname);
+--
+-- Name: index_virtual_machines_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
+--
+
+CREATE INDEX index_virtual_machines_on_owner_uuid ON virtual_machines USING btree (owner_uuid);
+
+
--
-- Name: index_virtual_machines_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
--
-- Name: index_virtual_machines_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
@@
-2029,4
+2163,8
@@
INSERT INTO schema_migrations (version) VALUES ('20140918153541');
INSERT INTO schema_migrations (version) VALUES ('20140918153705');
INSERT INTO schema_migrations (version) VALUES ('20140918153705');
-INSERT INTO schema_migrations (version) VALUES ('20140924091559');
\ No newline at end of file
+INSERT INTO schema_migrations (version) VALUES ('20140924091559');
+
+INSERT INTO schema_migrations (version) VALUES ('20141111133038');
+
+INSERT INTO schema_migrations (version) VALUES ('20141208164553');
\ No newline at end of file