2 -- PostgreSQL database dump
5 SET statement_timeout = 0;
6 SET client_encoding = 'UTF8';
7 SET standard_conforming_strings = on;
8 SET check_function_bodies = false;
9 SET client_min_messages = warning;
12 -- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: -
15 CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
19 -- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner: -
22 COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
25 SET search_path = public, pg_catalog;
27 SET default_tablespace = '';
29 SET default_with_oids = false;
32 -- Name: api_client_authorizations; Type: TABLE; Schema: public; Owner: -; Tablespace:
35 CREATE TABLE api_client_authorizations (
37 api_token character varying(255) NOT NULL,
38 api_client_id integer NOT NULL,
39 user_id integer NOT NULL,
40 created_by_ip_address character varying(255),
41 last_used_by_ip_address character varying(255),
42 last_used_at timestamp without time zone,
43 expires_at timestamp without time zone,
44 created_at timestamp without time zone NOT NULL,
45 updated_at timestamp without time zone NOT NULL,
46 default_owner_uuid character varying(255),
47 scopes text DEFAULT '---
54 -- Name: api_client_authorizations_id_seq; Type: SEQUENCE; Schema: public; Owner: -
57 CREATE SEQUENCE api_client_authorizations_id_seq
66 -- Name: api_client_authorizations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
69 ALTER SEQUENCE api_client_authorizations_id_seq OWNED BY api_client_authorizations.id;
73 -- Name: api_clients; Type: TABLE; Schema: public; Owner: -; Tablespace:
76 CREATE TABLE api_clients (
78 uuid character varying(255),
79 owner_uuid character varying(255),
80 modified_by_client_uuid character varying(255),
81 modified_by_user_uuid character varying(255),
82 modified_at timestamp without time zone,
83 name character varying(255),
84 url_prefix character varying(255),
85 created_at timestamp without time zone NOT NULL,
86 updated_at timestamp without time zone NOT NULL,
87 is_trusted boolean DEFAULT false
92 -- Name: api_clients_id_seq; Type: SEQUENCE; Schema: public; Owner: -
95 CREATE SEQUENCE api_clients_id_seq
104 -- Name: api_clients_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
107 ALTER SEQUENCE api_clients_id_seq OWNED BY api_clients.id;
111 -- Name: authorized_keys; Type: TABLE; Schema: public; Owner: -; Tablespace:
114 CREATE TABLE authorized_keys (
116 uuid character varying(255) NOT NULL,
117 owner_uuid character varying(255) NOT NULL,
118 modified_by_client_uuid character varying(255),
119 modified_by_user_uuid character varying(255),
120 modified_at timestamp without time zone,
121 name character varying(255),
122 key_type character varying(255),
123 authorized_user_uuid character varying(255),
125 expires_at timestamp without time zone,
126 created_at timestamp without time zone NOT NULL,
127 updated_at timestamp without time zone NOT NULL
132 -- Name: authorized_keys_id_seq; Type: SEQUENCE; Schema: public; Owner: -
135 CREATE SEQUENCE authorized_keys_id_seq
144 -- Name: authorized_keys_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
147 ALTER SEQUENCE authorized_keys_id_seq OWNED BY authorized_keys.id;
151 -- Name: collections; Type: TABLE; Schema: public; Owner: -; Tablespace:
154 CREATE TABLE collections (
156 owner_uuid character varying(255),
157 created_at timestamp without time zone NOT NULL,
158 modified_by_client_uuid character varying(255),
159 modified_by_user_uuid character varying(255),
160 modified_at timestamp without time zone,
161 portable_data_hash character varying(255),
163 redundancy_confirmed_by_client_uuid character varying(255),
164 redundancy_confirmed_at timestamp without time zone,
165 redundancy_confirmed_as integer,
166 updated_at timestamp without time zone NOT NULL,
167 uuid character varying(255),
169 name character varying(255),
170 description character varying(524288),
173 file_names character varying(8192)
178 -- Name: collections_id_seq; Type: SEQUENCE; Schema: public; Owner: -
181 CREATE SEQUENCE collections_id_seq
190 -- Name: collections_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
193 ALTER SEQUENCE collections_id_seq OWNED BY collections.id;
197 -- Name: commit_ancestors; Type: TABLE; Schema: public; Owner: -; Tablespace:
200 CREATE TABLE commit_ancestors (
202 repository_name character varying(255),
203 descendant character varying(255) NOT NULL,
204 ancestor character varying(255) NOT NULL,
205 "is" boolean DEFAULT false NOT NULL,
206 created_at timestamp without time zone NOT NULL,
207 updated_at timestamp without time zone NOT NULL
212 -- Name: commit_ancestors_id_seq; Type: SEQUENCE; Schema: public; Owner: -
215 CREATE SEQUENCE commit_ancestors_id_seq
224 -- Name: commit_ancestors_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
227 ALTER SEQUENCE commit_ancestors_id_seq OWNED BY commit_ancestors.id;
231 -- Name: commits; Type: TABLE; Schema: public; Owner: -; Tablespace:
234 CREATE TABLE commits (
236 repository_name character varying(255),
237 sha1 character varying(255),
238 message character varying(255),
239 created_at timestamp without time zone NOT NULL,
240 updated_at timestamp without time zone NOT NULL
245 -- Name: commits_id_seq; Type: SEQUENCE; Schema: public; Owner: -
248 CREATE SEQUENCE commits_id_seq
257 -- Name: commits_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
260 ALTER SEQUENCE commits_id_seq OWNED BY commits.id;
264 -- Name: groups; Type: TABLE; Schema: public; Owner: -; Tablespace:
267 CREATE TABLE groups (
269 uuid character varying(255),
270 owner_uuid character varying(255),
271 created_at timestamp without time zone NOT NULL,
272 modified_by_client_uuid character varying(255),
273 modified_by_user_uuid character varying(255),
274 modified_at timestamp without time zone,
275 name character varying(255) NOT NULL,
276 description character varying(524288),
277 updated_at timestamp without time zone NOT NULL,
278 group_class character varying(255)
283 -- Name: groups_id_seq; Type: SEQUENCE; Schema: public; Owner: -
286 CREATE SEQUENCE groups_id_seq
295 -- Name: groups_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
298 ALTER SEQUENCE groups_id_seq OWNED BY groups.id;
302 -- Name: humans; Type: TABLE; Schema: public; Owner: -; Tablespace:
305 CREATE TABLE humans (
307 uuid character varying(255) NOT NULL,
308 owner_uuid character varying(255) NOT NULL,
309 modified_by_client_uuid character varying(255),
310 modified_by_user_uuid character varying(255),
311 modified_at timestamp without time zone,
313 created_at timestamp without time zone NOT NULL,
314 updated_at timestamp without time zone NOT NULL
319 -- Name: humans_id_seq; Type: SEQUENCE; Schema: public; Owner: -
322 CREATE SEQUENCE humans_id_seq
331 -- Name: humans_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
334 ALTER SEQUENCE humans_id_seq OWNED BY humans.id;
338 -- Name: job_tasks; Type: TABLE; Schema: public; Owner: -; Tablespace:
341 CREATE TABLE job_tasks (
343 uuid character varying(255),
344 owner_uuid character varying(255),
345 modified_by_client_uuid character varying(255),
346 modified_by_user_uuid character varying(255),
347 modified_at timestamp without time zone,
348 job_uuid character varying(255),
352 progress double precision,
354 created_at timestamp without time zone NOT NULL,
355 updated_at timestamp without time zone NOT NULL,
356 created_by_job_task_uuid character varying(255),
358 started_at timestamp without time zone,
359 finished_at timestamp without time zone
364 -- Name: job_tasks_id_seq; Type: SEQUENCE; Schema: public; Owner: -
367 CREATE SEQUENCE job_tasks_id_seq
376 -- Name: job_tasks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
379 ALTER SEQUENCE job_tasks_id_seq OWNED BY job_tasks.id;
383 -- Name: job_tasks_qsequence_seq; Type: SEQUENCE; Schema: public; Owner: -
386 CREATE SEQUENCE job_tasks_qsequence_seq
395 -- Name: job_tasks_qsequence_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
398 ALTER SEQUENCE job_tasks_qsequence_seq OWNED BY job_tasks.qsequence;
402 -- Name: jobs; Type: TABLE; Schema: public; Owner: -; Tablespace:
407 uuid character varying(255),
408 owner_uuid character varying(255),
409 modified_by_client_uuid character varying(255),
410 modified_by_user_uuid character varying(255),
411 modified_at timestamp without time zone,
412 submit_id character varying(255),
413 script character varying(255),
414 script_version character varying(255),
415 script_parameters text,
416 cancelled_by_client_uuid character varying(255),
417 cancelled_by_user_uuid character varying(255),
418 cancelled_at timestamp without time zone,
419 started_at timestamp without time zone,
420 finished_at timestamp without time zone,
423 output character varying(255),
424 created_at timestamp without time zone NOT NULL,
425 updated_at timestamp without time zone NOT NULL,
426 is_locked_by_uuid character varying(255),
427 log character varying(255),
429 runtime_constraints text,
430 nondeterministic boolean,
431 repository character varying(255),
432 supplied_script_version character varying(255),
433 docker_image_locator character varying(255),
434 priority integer DEFAULT 0 NOT NULL,
435 description character varying(524288),
436 state character varying(255),
437 arvados_sdk_version character varying(255)
442 -- Name: jobs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
445 CREATE SEQUENCE jobs_id_seq
454 -- Name: jobs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
457 ALTER SEQUENCE jobs_id_seq OWNED BY jobs.id;
461 -- Name: keep_disks; Type: TABLE; Schema: public; Owner: -; Tablespace:
464 CREATE TABLE keep_disks (
466 uuid character varying(255) NOT NULL,
467 owner_uuid character varying(255) NOT NULL,
468 modified_by_client_uuid character varying(255),
469 modified_by_user_uuid character varying(255),
470 modified_at timestamp without time zone,
471 ping_secret character varying(255) NOT NULL,
472 node_uuid character varying(255),
473 filesystem_uuid character varying(255),
476 is_readable boolean DEFAULT true NOT NULL,
477 is_writable boolean DEFAULT true NOT NULL,
478 last_read_at timestamp without time zone,
479 last_write_at timestamp without time zone,
480 last_ping_at timestamp without time zone,
481 created_at timestamp without time zone NOT NULL,
482 updated_at timestamp without time zone NOT NULL,
483 keep_service_uuid character varying(255)
488 -- Name: keep_disks_id_seq; Type: SEQUENCE; Schema: public; Owner: -
491 CREATE SEQUENCE keep_disks_id_seq
500 -- Name: keep_disks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
503 ALTER SEQUENCE keep_disks_id_seq OWNED BY keep_disks.id;
507 -- Name: keep_services; Type: TABLE; Schema: public; Owner: -; Tablespace:
510 CREATE TABLE keep_services (
512 uuid character varying(255) NOT NULL,
513 owner_uuid character varying(255) NOT NULL,
514 modified_by_client_uuid character varying(255),
515 modified_by_user_uuid character varying(255),
516 modified_at timestamp without time zone,
517 service_host character varying(255),
518 service_port integer,
519 service_ssl_flag boolean,
520 service_type character varying(255),
521 created_at timestamp without time zone NOT NULL,
522 updated_at timestamp without time zone NOT NULL
527 -- Name: keep_services_id_seq; Type: SEQUENCE; Schema: public; Owner: -
530 CREATE SEQUENCE keep_services_id_seq
539 -- Name: keep_services_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
542 ALTER SEQUENCE keep_services_id_seq OWNED BY keep_services.id;
546 -- Name: links; Type: TABLE; Schema: public; Owner: -; Tablespace:
551 uuid character varying(255),
552 owner_uuid character varying(255),
553 created_at timestamp without time zone NOT NULL,
554 modified_by_client_uuid character varying(255),
555 modified_by_user_uuid character varying(255),
556 modified_at timestamp without time zone,
557 tail_uuid character varying(255),
558 link_class character varying(255),
559 name character varying(255),
560 head_uuid character varying(255),
562 updated_at timestamp without time zone NOT NULL
567 -- Name: links_id_seq; Type: SEQUENCE; Schema: public; Owner: -
570 CREATE SEQUENCE links_id_seq
579 -- Name: links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
582 ALTER SEQUENCE links_id_seq OWNED BY links.id;
586 -- Name: logs; Type: TABLE; Schema: public; Owner: -; Tablespace:
591 uuid character varying(255),
592 owner_uuid character varying(255),
593 modified_by_client_uuid character varying(255),
594 modified_by_user_uuid character varying(255),
595 object_uuid character varying(255),
596 event_at timestamp without time zone,
597 event_type character varying(255),
600 created_at timestamp without time zone NOT NULL,
601 updated_at timestamp without time zone NOT NULL,
602 modified_at timestamp without time zone,
603 object_owner_uuid character varying(255)
608 -- Name: logs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
611 CREATE SEQUENCE logs_id_seq
620 -- Name: logs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
623 ALTER SEQUENCE logs_id_seq OWNED BY logs.id;
627 -- Name: nodes; Type: TABLE; Schema: public; Owner: -; Tablespace:
632 uuid character varying(255),
633 owner_uuid character varying(255),
634 created_at timestamp without time zone NOT NULL,
635 modified_by_client_uuid character varying(255),
636 modified_by_user_uuid character varying(255),
637 modified_at timestamp without time zone,
639 hostname character varying(255),
640 domain character varying(255),
641 ip_address character varying(255),
642 first_ping_at timestamp without time zone,
643 last_ping_at timestamp without time zone,
645 updated_at timestamp without time zone NOT NULL,
647 job_uuid character varying(255)
652 -- Name: nodes_id_seq; Type: SEQUENCE; Schema: public; Owner: -
655 CREATE SEQUENCE nodes_id_seq
664 -- Name: nodes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
667 ALTER SEQUENCE nodes_id_seq OWNED BY nodes.id;
671 -- Name: pipeline_instances; Type: TABLE; Schema: public; Owner: -; Tablespace:
674 CREATE TABLE pipeline_instances (
676 uuid character varying(255),
677 owner_uuid character varying(255),
678 created_at timestamp without time zone NOT NULL,
679 modified_by_client_uuid character varying(255),
680 modified_by_user_uuid character varying(255),
681 modified_at timestamp without time zone,
682 pipeline_template_uuid character varying(255),
683 name character varying(255),
685 updated_at timestamp without time zone NOT NULL,
687 state character varying(255),
688 components_summary text,
689 started_at timestamp without time zone,
690 finished_at timestamp without time zone,
691 description character varying(524288)
696 -- Name: pipeline_instances_id_seq; Type: SEQUENCE; Schema: public; Owner: -
699 CREATE SEQUENCE pipeline_instances_id_seq
708 -- Name: pipeline_instances_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
711 ALTER SEQUENCE pipeline_instances_id_seq OWNED BY pipeline_instances.id;
715 -- Name: pipeline_templates; Type: TABLE; Schema: public; Owner: -; Tablespace:
718 CREATE TABLE pipeline_templates (
720 uuid character varying(255),
721 owner_uuid character varying(255),
722 created_at timestamp without time zone NOT NULL,
723 modified_by_client_uuid character varying(255),
724 modified_by_user_uuid character varying(255),
725 modified_at timestamp without time zone,
726 name character varying(255),
728 updated_at timestamp without time zone NOT NULL,
729 description character varying(524288)
734 -- Name: pipeline_templates_id_seq; Type: SEQUENCE; Schema: public; Owner: -
737 CREATE SEQUENCE pipeline_templates_id_seq
746 -- Name: pipeline_templates_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
749 ALTER SEQUENCE pipeline_templates_id_seq OWNED BY pipeline_templates.id;
753 -- Name: repositories; Type: TABLE; Schema: public; Owner: -; Tablespace:
756 CREATE TABLE repositories (
758 uuid character varying(255) NOT NULL,
759 owner_uuid character varying(255) NOT NULL,
760 modified_by_client_uuid character varying(255),
761 modified_by_user_uuid character varying(255),
762 modified_at timestamp without time zone,
763 name character varying(255),
764 fetch_url character varying(255),
765 push_url character varying(255),
766 created_at timestamp without time zone NOT NULL,
767 updated_at timestamp without time zone NOT NULL
772 -- Name: repositories_id_seq; Type: SEQUENCE; Schema: public; Owner: -
775 CREATE SEQUENCE repositories_id_seq
784 -- Name: repositories_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
787 ALTER SEQUENCE repositories_id_seq OWNED BY repositories.id;
791 -- Name: schema_migrations; Type: TABLE; Schema: public; Owner: -; Tablespace:
794 CREATE TABLE schema_migrations (
795 version character varying(255) NOT NULL
800 -- Name: specimens; Type: TABLE; Schema: public; Owner: -; Tablespace:
803 CREATE TABLE specimens (
805 uuid character varying(255),
806 owner_uuid character varying(255),
807 created_at timestamp without time zone NOT NULL,
808 modified_by_client_uuid character varying(255),
809 modified_by_user_uuid character varying(255),
810 modified_at timestamp without time zone,
811 material character varying(255),
812 updated_at timestamp without time zone NOT NULL,
818 -- Name: specimens_id_seq; Type: SEQUENCE; Schema: public; Owner: -
821 CREATE SEQUENCE specimens_id_seq
830 -- Name: specimens_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
833 ALTER SEQUENCE specimens_id_seq OWNED BY specimens.id;
837 -- Name: traits; Type: TABLE; Schema: public; Owner: -; Tablespace:
840 CREATE TABLE traits (
842 uuid character varying(255) NOT NULL,
843 owner_uuid character varying(255) NOT NULL,
844 modified_by_client_uuid character varying(255),
845 modified_by_user_uuid character varying(255),
846 modified_at timestamp without time zone,
847 name character varying(255),
849 created_at timestamp without time zone NOT NULL,
850 updated_at timestamp without time zone NOT NULL
855 -- Name: traits_id_seq; Type: SEQUENCE; Schema: public; Owner: -
858 CREATE SEQUENCE traits_id_seq
867 -- Name: traits_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
870 ALTER SEQUENCE traits_id_seq OWNED BY traits.id;
874 -- Name: users; Type: TABLE; Schema: public; Owner: -; Tablespace:
879 uuid character varying(255),
880 owner_uuid character varying(255) NOT NULL,
881 created_at timestamp without time zone NOT NULL,
882 modified_by_client_uuid character varying(255),
883 modified_by_user_uuid character varying(255),
884 modified_at timestamp without time zone,
885 email character varying(255),
886 first_name character varying(255),
887 last_name character varying(255),
888 identity_url character varying(255),
891 updated_at timestamp without time zone NOT NULL,
892 default_owner_uuid character varying(255),
893 is_active boolean DEFAULT false
898 -- Name: users_id_seq; Type: SEQUENCE; Schema: public; Owner: -
901 CREATE SEQUENCE users_id_seq
910 -- Name: users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
913 ALTER SEQUENCE users_id_seq OWNED BY users.id;
917 -- Name: virtual_machines; Type: TABLE; Schema: public; Owner: -; Tablespace:
920 CREATE TABLE virtual_machines (
922 uuid character varying(255) NOT NULL,
923 owner_uuid character varying(255) NOT NULL,
924 modified_by_client_uuid character varying(255),
925 modified_by_user_uuid character varying(255),
926 modified_at timestamp without time zone,
927 hostname character varying(255),
928 created_at timestamp without time zone NOT NULL,
929 updated_at timestamp without time zone NOT NULL
934 -- Name: virtual_machines_id_seq; Type: SEQUENCE; Schema: public; Owner: -
937 CREATE SEQUENCE virtual_machines_id_seq
946 -- Name: virtual_machines_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
949 ALTER SEQUENCE virtual_machines_id_seq OWNED BY virtual_machines.id;
953 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
956 ALTER TABLE ONLY api_client_authorizations ALTER COLUMN id SET DEFAULT nextval('api_client_authorizations_id_seq'::regclass);
960 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
963 ALTER TABLE ONLY api_clients ALTER COLUMN id SET DEFAULT nextval('api_clients_id_seq'::regclass);
967 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
970 ALTER TABLE ONLY authorized_keys ALTER COLUMN id SET DEFAULT nextval('authorized_keys_id_seq'::regclass);
974 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
977 ALTER TABLE ONLY collections ALTER COLUMN id SET DEFAULT nextval('collections_id_seq'::regclass);
981 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
984 ALTER TABLE ONLY commit_ancestors ALTER COLUMN id SET DEFAULT nextval('commit_ancestors_id_seq'::regclass);
988 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
991 ALTER TABLE ONLY commits ALTER COLUMN id SET DEFAULT nextval('commits_id_seq'::regclass);
995 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
998 ALTER TABLE ONLY groups ALTER COLUMN id SET DEFAULT nextval('groups_id_seq'::regclass);
1002 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1005 ALTER TABLE ONLY humans ALTER COLUMN id SET DEFAULT nextval('humans_id_seq'::regclass);
1009 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1012 ALTER TABLE ONLY job_tasks ALTER COLUMN id SET DEFAULT nextval('job_tasks_id_seq'::regclass);
1016 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1019 ALTER TABLE ONLY jobs ALTER COLUMN id SET DEFAULT nextval('jobs_id_seq'::regclass);
1023 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1026 ALTER TABLE ONLY keep_disks ALTER COLUMN id SET DEFAULT nextval('keep_disks_id_seq'::regclass);
1030 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1033 ALTER TABLE ONLY keep_services ALTER COLUMN id SET DEFAULT nextval('keep_services_id_seq'::regclass);
1037 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1040 ALTER TABLE ONLY links ALTER COLUMN id SET DEFAULT nextval('links_id_seq'::regclass);
1044 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1047 ALTER TABLE ONLY logs ALTER COLUMN id SET DEFAULT nextval('logs_id_seq'::regclass);
1051 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1054 ALTER TABLE ONLY nodes ALTER COLUMN id SET DEFAULT nextval('nodes_id_seq'::regclass);
1058 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1061 ALTER TABLE ONLY pipeline_instances ALTER COLUMN id SET DEFAULT nextval('pipeline_instances_id_seq'::regclass);
1065 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1068 ALTER TABLE ONLY pipeline_templates ALTER COLUMN id SET DEFAULT nextval('pipeline_templates_id_seq'::regclass);
1072 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1075 ALTER TABLE ONLY repositories ALTER COLUMN id SET DEFAULT nextval('repositories_id_seq'::regclass);
1079 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1082 ALTER TABLE ONLY specimens ALTER COLUMN id SET DEFAULT nextval('specimens_id_seq'::regclass);
1086 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1089 ALTER TABLE ONLY traits ALTER COLUMN id SET DEFAULT nextval('traits_id_seq'::regclass);
1093 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1096 ALTER TABLE ONLY users ALTER COLUMN id SET DEFAULT nextval('users_id_seq'::regclass);
1100 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1103 ALTER TABLE ONLY virtual_machines ALTER COLUMN id SET DEFAULT nextval('virtual_machines_id_seq'::regclass);
1107 -- Name: api_client_authorizations_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1110 ALTER TABLE ONLY api_client_authorizations
1111 ADD CONSTRAINT api_client_authorizations_pkey PRIMARY KEY (id);
1115 -- Name: api_clients_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1118 ALTER TABLE ONLY api_clients
1119 ADD CONSTRAINT api_clients_pkey PRIMARY KEY (id);
1123 -- Name: authorized_keys_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1126 ALTER TABLE ONLY authorized_keys
1127 ADD CONSTRAINT authorized_keys_pkey PRIMARY KEY (id);
1131 -- Name: collections_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1134 ALTER TABLE ONLY collections
1135 ADD CONSTRAINT collections_pkey PRIMARY KEY (id);
1139 -- Name: commit_ancestors_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1142 ALTER TABLE ONLY commit_ancestors
1143 ADD CONSTRAINT commit_ancestors_pkey PRIMARY KEY (id);
1147 -- Name: commits_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1150 ALTER TABLE ONLY commits
1151 ADD CONSTRAINT commits_pkey PRIMARY KEY (id);
1155 -- Name: groups_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1158 ALTER TABLE ONLY groups
1159 ADD CONSTRAINT groups_pkey PRIMARY KEY (id);
1163 -- Name: humans_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1166 ALTER TABLE ONLY humans
1167 ADD CONSTRAINT humans_pkey PRIMARY KEY (id);
1171 -- Name: job_tasks_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1174 ALTER TABLE ONLY job_tasks
1175 ADD CONSTRAINT job_tasks_pkey PRIMARY KEY (id);
1179 -- Name: jobs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1182 ALTER TABLE ONLY jobs
1183 ADD CONSTRAINT jobs_pkey PRIMARY KEY (id);
1187 -- Name: keep_disks_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1190 ALTER TABLE ONLY keep_disks
1191 ADD CONSTRAINT keep_disks_pkey PRIMARY KEY (id);
1195 -- Name: keep_services_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1198 ALTER TABLE ONLY keep_services
1199 ADD CONSTRAINT keep_services_pkey PRIMARY KEY (id);
1203 -- Name: links_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1206 ALTER TABLE ONLY links
1207 ADD CONSTRAINT links_pkey PRIMARY KEY (id);
1211 -- Name: logs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1214 ALTER TABLE ONLY logs
1215 ADD CONSTRAINT logs_pkey PRIMARY KEY (id);
1219 -- Name: nodes_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1222 ALTER TABLE ONLY nodes
1223 ADD CONSTRAINT nodes_pkey PRIMARY KEY (id);
1227 -- Name: pipeline_instances_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1230 ALTER TABLE ONLY pipeline_instances
1231 ADD CONSTRAINT pipeline_instances_pkey PRIMARY KEY (id);
1235 -- Name: pipeline_templates_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1238 ALTER TABLE ONLY pipeline_templates
1239 ADD CONSTRAINT pipeline_templates_pkey PRIMARY KEY (id);
1243 -- Name: repositories_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1246 ALTER TABLE ONLY repositories
1247 ADD CONSTRAINT repositories_pkey PRIMARY KEY (id);
1251 -- Name: specimens_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1254 ALTER TABLE ONLY specimens
1255 ADD CONSTRAINT specimens_pkey PRIMARY KEY (id);
1259 -- Name: traits_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1262 ALTER TABLE ONLY traits
1263 ADD CONSTRAINT traits_pkey PRIMARY KEY (id);
1267 -- Name: users_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1270 ALTER TABLE ONLY users
1271 ADD CONSTRAINT users_pkey PRIMARY KEY (id);
1275 -- Name: virtual_machines_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1278 ALTER TABLE ONLY virtual_machines
1279 ADD CONSTRAINT virtual_machines_pkey PRIMARY KEY (id);
1283 -- Name: api_client_authorizations_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1286 CREATE INDEX api_client_authorizations_search_index ON api_client_authorizations USING btree (api_token, created_by_ip_address, last_used_by_ip_address, default_owner_uuid);
1290 -- Name: api_clients_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1293 CREATE INDEX api_clients_search_index ON api_clients USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name, url_prefix);
1297 -- Name: authorized_keys_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1300 CREATE INDEX authorized_keys_search_index ON authorized_keys USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name, key_type, authorized_user_uuid);
1304 -- Name: collection_owner_uuid_name_unique; Type: INDEX; Schema: public; Owner: -; Tablespace:
1307 CREATE UNIQUE INDEX collection_owner_uuid_name_unique ON collections USING btree (owner_uuid, name);
1311 -- Name: collections_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1314 CREATE INDEX collections_search_index ON collections USING btree (owner_uuid, modified_by_client_uuid, modified_by_user_uuid, portable_data_hash, redundancy_confirmed_by_client_uuid, uuid, name, file_names);
1318 -- Name: groups_owner_uuid_name_unique; Type: INDEX; Schema: public; Owner: -; Tablespace:
1321 CREATE UNIQUE INDEX groups_owner_uuid_name_unique ON groups USING btree (owner_uuid, name);
1325 -- Name: groups_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1328 CREATE INDEX groups_search_index ON groups USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name, group_class);
1332 -- Name: humans_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1335 CREATE INDEX humans_search_index ON humans USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid);
1339 -- Name: index_api_client_authorizations_on_api_client_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
1342 CREATE INDEX index_api_client_authorizations_on_api_client_id ON api_client_authorizations USING btree (api_client_id);
1346 -- Name: index_api_client_authorizations_on_api_token; Type: INDEX; Schema: public; Owner: -; Tablespace:
1349 CREATE UNIQUE INDEX index_api_client_authorizations_on_api_token ON api_client_authorizations USING btree (api_token);
1353 -- Name: index_api_client_authorizations_on_expires_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1356 CREATE INDEX index_api_client_authorizations_on_expires_at ON api_client_authorizations USING btree (expires_at);
1360 -- Name: index_api_client_authorizations_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
1363 CREATE INDEX index_api_client_authorizations_on_user_id ON api_client_authorizations USING btree (user_id);
1367 -- Name: index_api_clients_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1370 CREATE INDEX index_api_clients_on_created_at ON api_clients USING btree (created_at);
1374 -- Name: index_api_clients_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1377 CREATE INDEX index_api_clients_on_modified_at ON api_clients USING btree (modified_at);
1381 -- Name: index_api_clients_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1384 CREATE INDEX index_api_clients_on_owner_uuid ON api_clients USING btree (owner_uuid);
1388 -- Name: index_api_clients_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1391 CREATE UNIQUE INDEX index_api_clients_on_uuid ON api_clients USING btree (uuid);
1395 -- Name: index_authkeys_on_user_and_expires_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1398 CREATE INDEX index_authkeys_on_user_and_expires_at ON authorized_keys USING btree (authorized_user_uuid, expires_at);
1402 -- Name: index_authorized_keys_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1405 CREATE INDEX index_authorized_keys_on_owner_uuid ON authorized_keys USING btree (owner_uuid);
1409 -- Name: index_authorized_keys_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1412 CREATE UNIQUE INDEX index_authorized_keys_on_uuid ON authorized_keys USING btree (uuid);
1416 -- Name: index_collections_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1419 CREATE INDEX index_collections_on_created_at ON collections USING btree (created_at);
1423 -- Name: index_collections_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1426 CREATE INDEX index_collections_on_modified_at ON collections USING btree (modified_at);
1430 -- Name: index_collections_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1433 CREATE INDEX index_collections_on_owner_uuid ON collections USING btree (owner_uuid);
1437 -- Name: index_collections_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1440 CREATE UNIQUE INDEX index_collections_on_uuid ON collections USING btree (uuid);
1444 -- Name: index_commit_ancestors_on_descendant_and_ancestor; Type: INDEX; Schema: public; Owner: -; Tablespace:
1447 CREATE UNIQUE INDEX index_commit_ancestors_on_descendant_and_ancestor ON commit_ancestors USING btree (descendant, ancestor);
1451 -- Name: index_commits_on_repository_name_and_sha1; Type: INDEX; Schema: public; Owner: -; Tablespace:
1454 CREATE UNIQUE INDEX index_commits_on_repository_name_and_sha1 ON commits USING btree (repository_name, sha1);
1458 -- Name: index_groups_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1461 CREATE INDEX index_groups_on_created_at ON groups USING btree (created_at);
1465 -- Name: index_groups_on_group_class; Type: INDEX; Schema: public; Owner: -; Tablespace:
1468 CREATE INDEX index_groups_on_group_class ON groups USING btree (group_class);
1472 -- Name: index_groups_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1475 CREATE INDEX index_groups_on_modified_at ON groups USING btree (modified_at);
1479 -- Name: index_groups_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1482 CREATE INDEX index_groups_on_owner_uuid ON groups USING btree (owner_uuid);
1486 -- Name: index_groups_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1489 CREATE UNIQUE INDEX index_groups_on_uuid ON groups USING btree (uuid);
1493 -- Name: index_humans_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1496 CREATE INDEX index_humans_on_owner_uuid ON humans USING btree (owner_uuid);
1500 -- Name: index_humans_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1503 CREATE UNIQUE INDEX index_humans_on_uuid ON humans USING btree (uuid);
1507 -- Name: index_job_tasks_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1510 CREATE INDEX index_job_tasks_on_created_at ON job_tasks USING btree (created_at);
1514 -- Name: index_job_tasks_on_job_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1517 CREATE INDEX index_job_tasks_on_job_uuid ON job_tasks USING btree (job_uuid);
1521 -- Name: index_job_tasks_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1524 CREATE INDEX index_job_tasks_on_modified_at ON job_tasks USING btree (modified_at);
1528 -- Name: index_job_tasks_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1531 CREATE INDEX index_job_tasks_on_owner_uuid ON job_tasks USING btree (owner_uuid);
1535 -- Name: index_job_tasks_on_sequence; Type: INDEX; Schema: public; Owner: -; Tablespace:
1538 CREATE INDEX index_job_tasks_on_sequence ON job_tasks USING btree (sequence);
1542 -- Name: index_job_tasks_on_success; Type: INDEX; Schema: public; Owner: -; Tablespace:
1545 CREATE INDEX index_job_tasks_on_success ON job_tasks USING btree (success);
1549 -- Name: index_job_tasks_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1552 CREATE UNIQUE INDEX index_job_tasks_on_uuid ON job_tasks USING btree (uuid);
1556 -- Name: index_jobs_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1559 CREATE INDEX index_jobs_on_created_at ON jobs USING btree (created_at);
1563 -- Name: index_jobs_on_finished_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1566 CREATE INDEX index_jobs_on_finished_at ON jobs USING btree (finished_at);
1570 -- Name: index_jobs_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1573 CREATE INDEX index_jobs_on_modified_at ON jobs USING btree (modified_at);
1577 -- Name: index_jobs_on_output; Type: INDEX; Schema: public; Owner: -; Tablespace:
1580 CREATE INDEX index_jobs_on_output ON jobs USING btree (output);
1584 -- Name: index_jobs_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1587 CREATE INDEX index_jobs_on_owner_uuid ON jobs USING btree (owner_uuid);
1591 -- Name: index_jobs_on_script; Type: INDEX; Schema: public; Owner: -; Tablespace:
1594 CREATE INDEX index_jobs_on_script ON jobs USING btree (script);
1598 -- Name: index_jobs_on_started_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1601 CREATE INDEX index_jobs_on_started_at ON jobs USING btree (started_at);
1605 -- Name: index_jobs_on_submit_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
1608 CREATE UNIQUE INDEX index_jobs_on_submit_id ON jobs USING btree (submit_id);
1612 -- Name: index_jobs_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1615 CREATE UNIQUE INDEX index_jobs_on_uuid ON jobs USING btree (uuid);
1619 -- Name: index_keep_disks_on_filesystem_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1622 CREATE INDEX index_keep_disks_on_filesystem_uuid ON keep_disks USING btree (filesystem_uuid);
1626 -- Name: index_keep_disks_on_last_ping_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1629 CREATE INDEX index_keep_disks_on_last_ping_at ON keep_disks USING btree (last_ping_at);
1633 -- Name: index_keep_disks_on_node_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1636 CREATE INDEX index_keep_disks_on_node_uuid ON keep_disks USING btree (node_uuid);
1640 -- Name: index_keep_disks_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1643 CREATE INDEX index_keep_disks_on_owner_uuid ON keep_disks USING btree (owner_uuid);
1647 -- Name: index_keep_disks_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1650 CREATE UNIQUE INDEX index_keep_disks_on_uuid ON keep_disks USING btree (uuid);
1654 -- Name: index_keep_services_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1657 CREATE INDEX index_keep_services_on_owner_uuid ON keep_services USING btree (owner_uuid);
1661 -- Name: index_keep_services_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1664 CREATE UNIQUE INDEX index_keep_services_on_uuid ON keep_services USING btree (uuid);
1668 -- Name: index_links_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1671 CREATE INDEX index_links_on_created_at ON links USING btree (created_at);
1675 -- Name: index_links_on_head_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1678 CREATE INDEX index_links_on_head_uuid ON links USING btree (head_uuid);
1682 -- Name: index_links_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1685 CREATE INDEX index_links_on_modified_at ON links USING btree (modified_at);
1689 -- Name: index_links_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1692 CREATE INDEX index_links_on_owner_uuid ON links USING btree (owner_uuid);
1696 -- Name: index_links_on_tail_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1699 CREATE INDEX index_links_on_tail_uuid ON links USING btree (tail_uuid);
1703 -- Name: index_links_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1706 CREATE UNIQUE INDEX index_links_on_uuid ON links USING btree (uuid);
1710 -- Name: index_logs_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1713 CREATE INDEX index_logs_on_created_at ON logs USING btree (created_at);
1717 -- Name: index_logs_on_event_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1720 CREATE INDEX index_logs_on_event_at ON logs USING btree (event_at);
1724 -- Name: index_logs_on_event_type; Type: INDEX; Schema: public; Owner: -; Tablespace:
1727 CREATE INDEX index_logs_on_event_type ON logs USING btree (event_type);
1731 -- Name: index_logs_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1734 CREATE INDEX index_logs_on_modified_at ON logs USING btree (modified_at);
1738 -- Name: index_logs_on_object_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1741 CREATE INDEX index_logs_on_object_uuid ON logs USING btree (object_uuid);
1745 -- Name: index_logs_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1748 CREATE INDEX index_logs_on_owner_uuid ON logs USING btree (owner_uuid);
1752 -- Name: index_logs_on_summary; Type: INDEX; Schema: public; Owner: -; Tablespace:
1755 CREATE INDEX index_logs_on_summary ON logs USING btree (summary);
1759 -- Name: index_logs_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1762 CREATE UNIQUE INDEX index_logs_on_uuid ON logs USING btree (uuid);
1766 -- Name: index_nodes_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1769 CREATE INDEX index_nodes_on_created_at ON nodes USING btree (created_at);
1773 -- Name: index_nodes_on_hostname; Type: INDEX; Schema: public; Owner: -; Tablespace:
1776 CREATE INDEX index_nodes_on_hostname ON nodes USING btree (hostname);
1780 -- Name: index_nodes_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1783 CREATE INDEX index_nodes_on_modified_at ON nodes USING btree (modified_at);
1787 -- Name: index_nodes_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1790 CREATE INDEX index_nodes_on_owner_uuid ON nodes USING btree (owner_uuid);
1794 -- Name: index_nodes_on_slot_number; Type: INDEX; Schema: public; Owner: -; Tablespace:
1797 CREATE UNIQUE INDEX index_nodes_on_slot_number ON nodes USING btree (slot_number);
1801 -- Name: index_nodes_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1804 CREATE UNIQUE INDEX index_nodes_on_uuid ON nodes USING btree (uuid);
1808 -- Name: index_pipeline_instances_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1811 CREATE INDEX index_pipeline_instances_on_created_at ON pipeline_instances USING btree (created_at);
1815 -- Name: index_pipeline_instances_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1818 CREATE INDEX index_pipeline_instances_on_modified_at ON pipeline_instances USING btree (modified_at);
1822 -- Name: index_pipeline_instances_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1825 CREATE INDEX index_pipeline_instances_on_owner_uuid ON pipeline_instances USING btree (owner_uuid);
1829 -- Name: index_pipeline_instances_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1832 CREATE UNIQUE INDEX index_pipeline_instances_on_uuid ON pipeline_instances USING btree (uuid);
1836 -- Name: index_pipeline_templates_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1839 CREATE INDEX index_pipeline_templates_on_created_at ON pipeline_templates USING btree (created_at);
1843 -- Name: index_pipeline_templates_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1846 CREATE INDEX index_pipeline_templates_on_modified_at ON pipeline_templates USING btree (modified_at);
1850 -- Name: index_pipeline_templates_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1853 CREATE INDEX index_pipeline_templates_on_owner_uuid ON pipeline_templates USING btree (owner_uuid);
1857 -- Name: index_pipeline_templates_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1860 CREATE UNIQUE INDEX index_pipeline_templates_on_uuid ON pipeline_templates USING btree (uuid);
1864 -- Name: index_repositories_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
1867 CREATE UNIQUE INDEX index_repositories_on_name ON repositories USING btree (name);
1871 -- Name: index_repositories_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1874 CREATE INDEX index_repositories_on_owner_uuid ON repositories USING btree (owner_uuid);
1878 -- Name: index_repositories_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1881 CREATE UNIQUE INDEX index_repositories_on_uuid ON repositories USING btree (uuid);
1885 -- Name: index_specimens_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1888 CREATE INDEX index_specimens_on_created_at ON specimens USING btree (created_at);
1892 -- Name: index_specimens_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1895 CREATE INDEX index_specimens_on_modified_at ON specimens USING btree (modified_at);
1899 -- Name: index_specimens_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1902 CREATE INDEX index_specimens_on_owner_uuid ON specimens USING btree (owner_uuid);
1906 -- Name: index_specimens_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1909 CREATE UNIQUE INDEX index_specimens_on_uuid ON specimens USING btree (uuid);
1913 -- Name: index_traits_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
1916 CREATE INDEX index_traits_on_name ON traits USING btree (name);
1920 -- Name: index_traits_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1923 CREATE INDEX index_traits_on_owner_uuid ON traits USING btree (owner_uuid);
1927 -- Name: index_traits_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1930 CREATE UNIQUE INDEX index_traits_on_uuid ON traits USING btree (uuid);
1934 -- Name: index_users_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1937 CREATE INDEX index_users_on_created_at ON users USING btree (created_at);
1941 -- Name: index_users_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1944 CREATE INDEX index_users_on_modified_at ON users USING btree (modified_at);
1948 -- Name: index_users_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1951 CREATE INDEX index_users_on_owner_uuid ON users USING btree (owner_uuid);
1955 -- Name: index_users_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1958 CREATE UNIQUE INDEX index_users_on_uuid ON users USING btree (uuid);
1962 -- Name: index_virtual_machines_on_hostname; Type: INDEX; Schema: public; Owner: -; Tablespace:
1965 CREATE INDEX index_virtual_machines_on_hostname ON virtual_machines USING btree (hostname);
1969 -- Name: index_virtual_machines_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1972 CREATE INDEX index_virtual_machines_on_owner_uuid ON virtual_machines USING btree (owner_uuid);
1976 -- Name: index_virtual_machines_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1979 CREATE UNIQUE INDEX index_virtual_machines_on_uuid ON virtual_machines USING btree (uuid);
1983 -- Name: job_tasks_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1986 CREATE INDEX job_tasks_search_index ON job_tasks USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, job_uuid, created_by_job_task_uuid);
1990 -- Name: jobs_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1993 CREATE INDEX jobs_search_index ON jobs USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, submit_id, script, script_version, cancelled_by_client_uuid, cancelled_by_user_uuid, output, is_locked_by_uuid, log, repository, supplied_script_version, docker_image_locator, state, arvados_sdk_version);
1997 -- Name: keep_disks_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2000 CREATE INDEX keep_disks_search_index ON keep_disks USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, ping_secret, node_uuid, filesystem_uuid, keep_service_uuid);
2004 -- Name: keep_services_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2007 CREATE INDEX keep_services_search_index ON keep_services USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, service_host, service_type);
2011 -- Name: links_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2014 CREATE INDEX links_search_index ON links USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, tail_uuid, link_class, name, head_uuid);
2018 -- Name: links_tail_name_unique_if_link_class_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
2021 CREATE UNIQUE INDEX links_tail_name_unique_if_link_class_name ON links USING btree (tail_uuid, name) WHERE ((link_class)::text = 'name'::text);
2025 -- Name: logs_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2028 CREATE INDEX logs_search_index ON logs USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, object_uuid, event_type, object_owner_uuid);
2032 -- Name: nodes_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2035 CREATE INDEX nodes_search_index ON nodes USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, hostname, domain, ip_address, job_uuid);
2039 -- Name: pipeline_instances_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2042 CREATE INDEX pipeline_instances_search_index ON pipeline_instances USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, pipeline_template_uuid, name, state);
2046 -- Name: pipeline_template_owner_uuid_name_unique; Type: INDEX; Schema: public; Owner: -; Tablespace:
2049 CREATE UNIQUE INDEX pipeline_template_owner_uuid_name_unique ON pipeline_templates USING btree (owner_uuid, name);
2053 -- Name: pipeline_templates_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2056 CREATE INDEX pipeline_templates_search_index ON pipeline_templates USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2060 -- Name: repositories_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2063 CREATE INDEX repositories_search_index ON repositories USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name, fetch_url, push_url);
2067 -- Name: specimens_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2070 CREATE INDEX specimens_search_index ON specimens USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, material);
2074 -- Name: traits_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2077 CREATE INDEX traits_search_index ON traits USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2081 -- Name: unique_schema_migrations; Type: INDEX; Schema: public; Owner: -; Tablespace:
2084 CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations USING btree (version);
2088 -- Name: users_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2091 CREATE INDEX users_search_index ON users USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, email, first_name, last_name, identity_url, default_owner_uuid);
2095 -- Name: virtual_machines_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2098 CREATE INDEX virtual_machines_search_index ON virtual_machines USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, hostname);
2102 -- PostgreSQL database dump complete
2105 SET search_path TO "$user",public;
2107 INSERT INTO schema_migrations (version) VALUES ('20121016005009');
2109 INSERT INTO schema_migrations (version) VALUES ('20130105203021');
2111 INSERT INTO schema_migrations (version) VALUES ('20130105224358');
2113 INSERT INTO schema_migrations (version) VALUES ('20130105224618');
2115 INSERT INTO schema_migrations (version) VALUES ('20130107181109');
2117 INSERT INTO schema_migrations (version) VALUES ('20130107212832');
2119 INSERT INTO schema_migrations (version) VALUES ('20130109175700');
2121 INSERT INTO schema_migrations (version) VALUES ('20130109220548');
2123 INSERT INTO schema_migrations (version) VALUES ('20130113214204');
2125 INSERT INTO schema_migrations (version) VALUES ('20130116024233');
2127 INSERT INTO schema_migrations (version) VALUES ('20130116215213');
2129 INSERT INTO schema_migrations (version) VALUES ('20130118002239');
2131 INSERT INTO schema_migrations (version) VALUES ('20130122020042');
2133 INSERT INTO schema_migrations (version) VALUES ('20130122201442');
2135 INSERT INTO schema_migrations (version) VALUES ('20130122221616');
2137 INSERT INTO schema_migrations (version) VALUES ('20130123174514');
2139 INSERT INTO schema_migrations (version) VALUES ('20130123180224');
2141 INSERT INTO schema_migrations (version) VALUES ('20130123180228');
2143 INSERT INTO schema_migrations (version) VALUES ('20130125220425');
2145 INSERT INTO schema_migrations (version) VALUES ('20130128202518');
2147 INSERT INTO schema_migrations (version) VALUES ('20130128231343');
2149 INSERT INTO schema_migrations (version) VALUES ('20130130205749');
2151 INSERT INTO schema_migrations (version) VALUES ('20130203104818');
2153 INSERT INTO schema_migrations (version) VALUES ('20130203104824');
2155 INSERT INTO schema_migrations (version) VALUES ('20130203115329');
2157 INSERT INTO schema_migrations (version) VALUES ('20130207195855');
2159 INSERT INTO schema_migrations (version) VALUES ('20130218181504');
2161 INSERT INTO schema_migrations (version) VALUES ('20130226170000');
2163 INSERT INTO schema_migrations (version) VALUES ('20130313175417');
2165 INSERT INTO schema_migrations (version) VALUES ('20130315155820');
2167 INSERT INTO schema_migrations (version) VALUES ('20130315183626');
2169 INSERT INTO schema_migrations (version) VALUES ('20130315213205');
2171 INSERT INTO schema_migrations (version) VALUES ('20130318002138');
2173 INSERT INTO schema_migrations (version) VALUES ('20130319165853');
2175 INSERT INTO schema_migrations (version) VALUES ('20130319180730');
2177 INSERT INTO schema_migrations (version) VALUES ('20130319194637');
2179 INSERT INTO schema_migrations (version) VALUES ('20130319201431');
2181 INSERT INTO schema_migrations (version) VALUES ('20130319235957');
2183 INSERT INTO schema_migrations (version) VALUES ('20130320000107');
2185 INSERT INTO schema_migrations (version) VALUES ('20130326173804');
2187 INSERT INTO schema_migrations (version) VALUES ('20130326182917');
2189 INSERT INTO schema_migrations (version) VALUES ('20130415020241');
2191 INSERT INTO schema_migrations (version) VALUES ('20130425024459');
2193 INSERT INTO schema_migrations (version) VALUES ('20130425214427');
2195 INSERT INTO schema_migrations (version) VALUES ('20130523060112');
2197 INSERT INTO schema_migrations (version) VALUES ('20130523060213');
2199 INSERT INTO schema_migrations (version) VALUES ('20130524042319');
2201 INSERT INTO schema_migrations (version) VALUES ('20130528134100');
2203 INSERT INTO schema_migrations (version) VALUES ('20130606183519');
2205 INSERT INTO schema_migrations (version) VALUES ('20130608053730');
2207 INSERT INTO schema_migrations (version) VALUES ('20130610202538');
2209 INSERT INTO schema_migrations (version) VALUES ('20130611163736');
2211 INSERT INTO schema_migrations (version) VALUES ('20130612042554');
2213 INSERT INTO schema_migrations (version) VALUES ('20130617150007');
2215 INSERT INTO schema_migrations (version) VALUES ('20130626002829');
2217 INSERT INTO schema_migrations (version) VALUES ('20130626022810');
2219 INSERT INTO schema_migrations (version) VALUES ('20130627154537');
2221 INSERT INTO schema_migrations (version) VALUES ('20130627184333');
2223 INSERT INTO schema_migrations (version) VALUES ('20130708163414');
2225 INSERT INTO schema_migrations (version) VALUES ('20130708182912');
2227 INSERT INTO schema_migrations (version) VALUES ('20130708185153');
2229 INSERT INTO schema_migrations (version) VALUES ('20130724153034');
2231 INSERT INTO schema_migrations (version) VALUES ('20131007180607');
2233 INSERT INTO schema_migrations (version) VALUES ('20140117231056');
2235 INSERT INTO schema_migrations (version) VALUES ('20140124222114');
2237 INSERT INTO schema_migrations (version) VALUES ('20140129184311');
2239 INSERT INTO schema_migrations (version) VALUES ('20140317135600');
2241 INSERT INTO schema_migrations (version) VALUES ('20140319160547');
2243 INSERT INTO schema_migrations (version) VALUES ('20140321191343');
2245 INSERT INTO schema_migrations (version) VALUES ('20140324024606');
2247 INSERT INTO schema_migrations (version) VALUES ('20140325175653');
2249 INSERT INTO schema_migrations (version) VALUES ('20140402001908');
2251 INSERT INTO schema_migrations (version) VALUES ('20140407184311');
2253 INSERT INTO schema_migrations (version) VALUES ('20140421140924');
2255 INSERT INTO schema_migrations (version) VALUES ('20140421151939');
2257 INSERT INTO schema_migrations (version) VALUES ('20140421151940');
2259 INSERT INTO schema_migrations (version) VALUES ('20140422011506');
2261 INSERT INTO schema_migrations (version) VALUES ('20140423132913');
2263 INSERT INTO schema_migrations (version) VALUES ('20140423133559');
2265 INSERT INTO schema_migrations (version) VALUES ('20140501165548');
2267 INSERT INTO schema_migrations (version) VALUES ('20140519205916');
2269 INSERT INTO schema_migrations (version) VALUES ('20140527152921');
2271 INSERT INTO schema_migrations (version) VALUES ('20140530200539');
2273 INSERT INTO schema_migrations (version) VALUES ('20140601022548');
2275 INSERT INTO schema_migrations (version) VALUES ('20140602143352');
2277 INSERT INTO schema_migrations (version) VALUES ('20140607150616');
2279 INSERT INTO schema_migrations (version) VALUES ('20140611173003');
2281 INSERT INTO schema_migrations (version) VALUES ('20140627210837');
2283 INSERT INTO schema_migrations (version) VALUES ('20140709172343');
2285 INSERT INTO schema_migrations (version) VALUES ('20140714184006');
2287 INSERT INTO schema_migrations (version) VALUES ('20140811184643');
2289 INSERT INTO schema_migrations (version) VALUES ('20140817035914');
2291 INSERT INTO schema_migrations (version) VALUES ('20140818125735');
2293 INSERT INTO schema_migrations (version) VALUES ('20140826180337');
2295 INSERT INTO schema_migrations (version) VALUES ('20140828141043');
2297 INSERT INTO schema_migrations (version) VALUES ('20140909183946');
2299 INSERT INTO schema_migrations (version) VALUES ('20140911221252');
2301 INSERT INTO schema_migrations (version) VALUES ('20140918141529');
2303 INSERT INTO schema_migrations (version) VALUES ('20140918153541');
2305 INSERT INTO schema_migrations (version) VALUES ('20140918153705');
2307 INSERT INTO schema_migrations (version) VALUES ('20140924091559');
2309 INSERT INTO schema_migrations (version) VALUES ('20141111133038');
2311 INSERT INTO schema_migrations (version) VALUES ('20141208164553');
2313 INSERT INTO schema_migrations (version) VALUES ('20141208174553');
2315 INSERT INTO schema_migrations (version) VALUES ('20141208174653');
2317 INSERT INTO schema_migrations (version) VALUES ('20141208185217');
2319 INSERT INTO schema_migrations (version) VALUES ('20150122175935');
2321 INSERT INTO schema_migrations (version) VALUES ('20150203180223');