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),
162 replication_desired integer,
163 replication_confirmed_at timestamp without time zone,
164 replication_confirmed integer,
165 updated_at timestamp without time zone NOT NULL,
166 uuid character varying(255),
168 name character varying(255),
169 description character varying(524288),
171 expires_at timestamp without time zone,
172 file_names character varying(8192)
177 -- Name: collections_id_seq; Type: SEQUENCE; Schema: public; Owner: -
180 CREATE SEQUENCE collections_id_seq
189 -- Name: collections_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
192 ALTER SEQUENCE collections_id_seq OWNED BY collections.id;
196 -- Name: commit_ancestors; Type: TABLE; Schema: public; Owner: -; Tablespace:
199 CREATE TABLE commit_ancestors (
201 repository_name character varying(255),
202 descendant character varying(255) NOT NULL,
203 ancestor character varying(255) NOT NULL,
204 "is" boolean DEFAULT false NOT NULL,
205 created_at timestamp without time zone NOT NULL,
206 updated_at timestamp without time zone NOT NULL
211 -- Name: commit_ancestors_id_seq; Type: SEQUENCE; Schema: public; Owner: -
214 CREATE SEQUENCE commit_ancestors_id_seq
223 -- Name: commit_ancestors_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
226 ALTER SEQUENCE commit_ancestors_id_seq OWNED BY commit_ancestors.id;
230 -- Name: commits; Type: TABLE; Schema: public; Owner: -; Tablespace:
233 CREATE TABLE commits (
235 repository_name character varying(255),
236 sha1 character varying(255),
237 message character varying(255),
238 created_at timestamp without time zone NOT NULL,
239 updated_at timestamp without time zone NOT NULL
244 -- Name: commits_id_seq; Type: SEQUENCE; Schema: public; Owner: -
247 CREATE SEQUENCE commits_id_seq
256 -- Name: commits_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
259 ALTER SEQUENCE commits_id_seq OWNED BY commits.id;
263 -- Name: groups; Type: TABLE; Schema: public; Owner: -; Tablespace:
266 CREATE TABLE groups (
268 uuid character varying(255),
269 owner_uuid character varying(255),
270 created_at timestamp without time zone NOT NULL,
271 modified_by_client_uuid character varying(255),
272 modified_by_user_uuid character varying(255),
273 modified_at timestamp without time zone,
274 name character varying(255) NOT NULL,
275 description character varying(524288),
276 updated_at timestamp without time zone NOT NULL,
277 group_class character varying(255)
282 -- Name: groups_id_seq; Type: SEQUENCE; Schema: public; Owner: -
285 CREATE SEQUENCE groups_id_seq
294 -- Name: groups_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
297 ALTER SEQUENCE groups_id_seq OWNED BY groups.id;
301 -- Name: humans; Type: TABLE; Schema: public; Owner: -; Tablespace:
304 CREATE TABLE humans (
306 uuid character varying(255) NOT NULL,
307 owner_uuid character varying(255) NOT NULL,
308 modified_by_client_uuid character varying(255),
309 modified_by_user_uuid character varying(255),
310 modified_at timestamp without time zone,
312 created_at timestamp without time zone NOT NULL,
313 updated_at timestamp without time zone NOT NULL
318 -- Name: humans_id_seq; Type: SEQUENCE; Schema: public; Owner: -
321 CREATE SEQUENCE humans_id_seq
330 -- Name: humans_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
333 ALTER SEQUENCE humans_id_seq OWNED BY humans.id;
337 -- Name: job_tasks; Type: TABLE; Schema: public; Owner: -; Tablespace:
340 CREATE TABLE job_tasks (
342 uuid character varying(255),
343 owner_uuid character varying(255),
344 modified_by_client_uuid character varying(255),
345 modified_by_user_uuid character varying(255),
346 modified_at timestamp without time zone,
347 job_uuid character varying(255),
351 progress double precision,
353 created_at timestamp without time zone NOT NULL,
354 updated_at timestamp without time zone NOT NULL,
355 created_by_job_task_uuid character varying(255),
357 started_at timestamp without time zone,
358 finished_at timestamp without time zone
363 -- Name: job_tasks_id_seq; Type: SEQUENCE; Schema: public; Owner: -
366 CREATE SEQUENCE job_tasks_id_seq
375 -- Name: job_tasks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
378 ALTER SEQUENCE job_tasks_id_seq OWNED BY job_tasks.id;
382 -- Name: job_tasks_qsequence_seq; Type: SEQUENCE; Schema: public; Owner: -
385 CREATE SEQUENCE job_tasks_qsequence_seq
394 -- Name: job_tasks_qsequence_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
397 ALTER SEQUENCE job_tasks_qsequence_seq OWNED BY job_tasks.qsequence;
401 -- Name: jobs; Type: TABLE; Schema: public; Owner: -; Tablespace:
406 uuid character varying(255),
407 owner_uuid character varying(255),
408 modified_by_client_uuid character varying(255),
409 modified_by_user_uuid character varying(255),
410 modified_at timestamp without time zone,
411 submit_id character varying(255),
412 script character varying(255),
413 script_version character varying(255),
414 script_parameters text,
415 cancelled_by_client_uuid character varying(255),
416 cancelled_by_user_uuid character varying(255),
417 cancelled_at timestamp without time zone,
418 started_at timestamp without time zone,
419 finished_at timestamp without time zone,
422 output character varying(255),
423 created_at timestamp without time zone NOT NULL,
424 updated_at timestamp without time zone NOT NULL,
425 is_locked_by_uuid character varying(255),
426 log character varying(255),
428 runtime_constraints text,
429 nondeterministic boolean,
430 repository character varying(255),
431 supplied_script_version character varying(255),
432 docker_image_locator character varying(255),
433 priority integer DEFAULT 0 NOT NULL,
434 description character varying(524288),
435 arvados_sdk_version character varying(255),
436 state character varying(255)
441 -- Name: jobs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
444 CREATE SEQUENCE jobs_id_seq
453 -- Name: jobs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
456 ALTER SEQUENCE jobs_id_seq OWNED BY jobs.id;
460 -- Name: keep_disks; Type: TABLE; Schema: public; Owner: -; Tablespace:
463 CREATE TABLE keep_disks (
465 uuid character varying(255) NOT NULL,
466 owner_uuid character varying(255) NOT NULL,
467 modified_by_client_uuid character varying(255),
468 modified_by_user_uuid character varying(255),
469 modified_at timestamp without time zone,
470 ping_secret character varying(255) NOT NULL,
471 node_uuid character varying(255),
472 filesystem_uuid character varying(255),
475 is_readable boolean DEFAULT true NOT NULL,
476 is_writable boolean DEFAULT true NOT NULL,
477 last_read_at timestamp without time zone,
478 last_write_at timestamp without time zone,
479 last_ping_at timestamp without time zone,
480 created_at timestamp without time zone NOT NULL,
481 updated_at timestamp without time zone NOT NULL,
482 keep_service_uuid character varying(255)
487 -- Name: keep_disks_id_seq; Type: SEQUENCE; Schema: public; Owner: -
490 CREATE SEQUENCE keep_disks_id_seq
499 -- Name: keep_disks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
502 ALTER SEQUENCE keep_disks_id_seq OWNED BY keep_disks.id;
506 -- Name: keep_services; Type: TABLE; Schema: public; Owner: -; Tablespace:
509 CREATE TABLE keep_services (
511 uuid character varying(255) NOT NULL,
512 owner_uuid character varying(255) NOT NULL,
513 modified_by_client_uuid character varying(255),
514 modified_by_user_uuid character varying(255),
515 modified_at timestamp without time zone,
516 service_host character varying(255),
517 service_port integer,
518 service_ssl_flag boolean,
519 service_type character varying(255),
520 created_at timestamp without time zone NOT NULL,
521 updated_at timestamp without time zone NOT NULL
526 -- Name: keep_services_id_seq; Type: SEQUENCE; Schema: public; Owner: -
529 CREATE SEQUENCE keep_services_id_seq
538 -- Name: keep_services_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
541 ALTER SEQUENCE keep_services_id_seq OWNED BY keep_services.id;
545 -- Name: links; Type: TABLE; Schema: public; Owner: -; Tablespace:
550 uuid character varying(255),
551 owner_uuid character varying(255),
552 created_at timestamp without time zone NOT NULL,
553 modified_by_client_uuid character varying(255),
554 modified_by_user_uuid character varying(255),
555 modified_at timestamp without time zone,
556 tail_uuid character varying(255),
557 link_class character varying(255),
558 name character varying(255),
559 head_uuid character varying(255),
561 updated_at timestamp without time zone NOT NULL
566 -- Name: links_id_seq; Type: SEQUENCE; Schema: public; Owner: -
569 CREATE SEQUENCE links_id_seq
578 -- Name: links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
581 ALTER SEQUENCE links_id_seq OWNED BY links.id;
585 -- Name: logs; Type: TABLE; Schema: public; Owner: -; Tablespace:
590 uuid character varying(255),
591 owner_uuid character varying(255),
592 modified_by_client_uuid character varying(255),
593 modified_by_user_uuid character varying(255),
594 object_uuid character varying(255),
595 event_at timestamp without time zone,
596 event_type character varying(255),
599 created_at timestamp without time zone NOT NULL,
600 updated_at timestamp without time zone NOT NULL,
601 modified_at timestamp without time zone,
602 object_owner_uuid character varying(255)
607 -- Name: logs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
610 CREATE SEQUENCE logs_id_seq
619 -- Name: logs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
622 ALTER SEQUENCE logs_id_seq OWNED BY logs.id;
626 -- Name: nodes; Type: TABLE; Schema: public; Owner: -; Tablespace:
631 uuid character varying(255),
632 owner_uuid character varying(255),
633 created_at timestamp without time zone NOT NULL,
634 modified_by_client_uuid character varying(255),
635 modified_by_user_uuid character varying(255),
636 modified_at timestamp without time zone,
638 hostname character varying(255),
639 domain character varying(255),
640 ip_address character varying(255),
641 first_ping_at timestamp without time zone,
642 last_ping_at timestamp without time zone,
644 updated_at timestamp without time zone NOT NULL,
646 job_uuid character varying(255)
651 -- Name: nodes_id_seq; Type: SEQUENCE; Schema: public; Owner: -
654 CREATE SEQUENCE nodes_id_seq
663 -- Name: nodes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
666 ALTER SEQUENCE nodes_id_seq OWNED BY nodes.id;
670 -- Name: pipeline_instances; Type: TABLE; Schema: public; Owner: -; Tablespace:
673 CREATE TABLE pipeline_instances (
675 uuid character varying(255),
676 owner_uuid character varying(255),
677 created_at timestamp without time zone NOT NULL,
678 modified_by_client_uuid character varying(255),
679 modified_by_user_uuid character varying(255),
680 modified_at timestamp without time zone,
681 pipeline_template_uuid character varying(255),
682 name character varying(255),
684 updated_at timestamp without time zone NOT NULL,
686 state character varying(255),
687 components_summary text,
688 started_at timestamp without time zone,
689 finished_at timestamp without time zone,
690 description character varying(524288)
695 -- Name: pipeline_instances_id_seq; Type: SEQUENCE; Schema: public; Owner: -
698 CREATE SEQUENCE pipeline_instances_id_seq
707 -- Name: pipeline_instances_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
710 ALTER SEQUENCE pipeline_instances_id_seq OWNED BY pipeline_instances.id;
714 -- Name: pipeline_templates; Type: TABLE; Schema: public; Owner: -; Tablespace:
717 CREATE TABLE pipeline_templates (
719 uuid character varying(255),
720 owner_uuid character varying(255),
721 created_at timestamp without time zone NOT NULL,
722 modified_by_client_uuid character varying(255),
723 modified_by_user_uuid character varying(255),
724 modified_at timestamp without time zone,
725 name character varying(255),
727 updated_at timestamp without time zone NOT NULL,
728 description character varying(524288)
733 -- Name: pipeline_templates_id_seq; Type: SEQUENCE; Schema: public; Owner: -
736 CREATE SEQUENCE pipeline_templates_id_seq
745 -- Name: pipeline_templates_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
748 ALTER SEQUENCE pipeline_templates_id_seq OWNED BY pipeline_templates.id;
752 -- Name: repositories; Type: TABLE; Schema: public; Owner: -; Tablespace:
755 CREATE TABLE repositories (
757 uuid character varying(255) NOT NULL,
758 owner_uuid character varying(255) NOT NULL,
759 modified_by_client_uuid character varying(255),
760 modified_by_user_uuid character varying(255),
761 modified_at timestamp without time zone,
762 name character varying(255),
763 created_at timestamp without time zone NOT NULL,
764 updated_at timestamp without time zone NOT NULL
769 -- Name: repositories_id_seq; Type: SEQUENCE; Schema: public; Owner: -
772 CREATE SEQUENCE repositories_id_seq
781 -- Name: repositories_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
784 ALTER SEQUENCE repositories_id_seq OWNED BY repositories.id;
788 -- Name: schema_migrations; Type: TABLE; Schema: public; Owner: -; Tablespace:
791 CREATE TABLE schema_migrations (
792 version character varying(255) NOT NULL
797 -- Name: specimens; Type: TABLE; Schema: public; Owner: -; Tablespace:
800 CREATE TABLE specimens (
802 uuid character varying(255),
803 owner_uuid character varying(255),
804 created_at timestamp without time zone NOT NULL,
805 modified_by_client_uuid character varying(255),
806 modified_by_user_uuid character varying(255),
807 modified_at timestamp without time zone,
808 material character varying(255),
809 updated_at timestamp without time zone NOT NULL,
815 -- Name: specimens_id_seq; Type: SEQUENCE; Schema: public; Owner: -
818 CREATE SEQUENCE specimens_id_seq
827 -- Name: specimens_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
830 ALTER SEQUENCE specimens_id_seq OWNED BY specimens.id;
834 -- Name: traits; Type: TABLE; Schema: public; Owner: -; Tablespace:
837 CREATE TABLE traits (
839 uuid character varying(255) NOT NULL,
840 owner_uuid character varying(255) NOT NULL,
841 modified_by_client_uuid character varying(255),
842 modified_by_user_uuid character varying(255),
843 modified_at timestamp without time zone,
844 name character varying(255),
846 created_at timestamp without time zone NOT NULL,
847 updated_at timestamp without time zone NOT NULL
852 -- Name: traits_id_seq; Type: SEQUENCE; Schema: public; Owner: -
855 CREATE SEQUENCE traits_id_seq
864 -- Name: traits_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
867 ALTER SEQUENCE traits_id_seq OWNED BY traits.id;
871 -- Name: users; Type: TABLE; Schema: public; Owner: -; Tablespace:
876 uuid character varying(255),
877 owner_uuid character varying(255) NOT NULL,
878 created_at timestamp without time zone NOT NULL,
879 modified_by_client_uuid character varying(255),
880 modified_by_user_uuid character varying(255),
881 modified_at timestamp without time zone,
882 email character varying(255),
883 first_name character varying(255),
884 last_name character varying(255),
885 identity_url character varying(255),
888 updated_at timestamp without time zone NOT NULL,
889 default_owner_uuid character varying(255),
890 is_active boolean DEFAULT false,
891 username character varying(255)
896 -- Name: users_id_seq; Type: SEQUENCE; Schema: public; Owner: -
899 CREATE SEQUENCE users_id_seq
908 -- Name: users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
911 ALTER SEQUENCE users_id_seq OWNED BY users.id;
915 -- Name: virtual_machines; Type: TABLE; Schema: public; Owner: -; Tablespace:
918 CREATE TABLE virtual_machines (
920 uuid character varying(255) NOT NULL,
921 owner_uuid character varying(255) NOT NULL,
922 modified_by_client_uuid character varying(255),
923 modified_by_user_uuid character varying(255),
924 modified_at timestamp without time zone,
925 hostname character varying(255),
926 created_at timestamp without time zone NOT NULL,
927 updated_at timestamp without time zone NOT NULL
932 -- Name: virtual_machines_id_seq; Type: SEQUENCE; Schema: public; Owner: -
935 CREATE SEQUENCE virtual_machines_id_seq
944 -- Name: virtual_machines_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
947 ALTER SEQUENCE virtual_machines_id_seq OWNED BY virtual_machines.id;
951 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
954 ALTER TABLE ONLY api_client_authorizations ALTER COLUMN id SET DEFAULT nextval('api_client_authorizations_id_seq'::regclass);
958 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
961 ALTER TABLE ONLY api_clients ALTER COLUMN id SET DEFAULT nextval('api_clients_id_seq'::regclass);
965 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
968 ALTER TABLE ONLY authorized_keys ALTER COLUMN id SET DEFAULT nextval('authorized_keys_id_seq'::regclass);
972 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
975 ALTER TABLE ONLY collections ALTER COLUMN id SET DEFAULT nextval('collections_id_seq'::regclass);
979 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
982 ALTER TABLE ONLY commit_ancestors ALTER COLUMN id SET DEFAULT nextval('commit_ancestors_id_seq'::regclass);
986 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
989 ALTER TABLE ONLY commits ALTER COLUMN id SET DEFAULT nextval('commits_id_seq'::regclass);
993 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
996 ALTER TABLE ONLY groups ALTER COLUMN id SET DEFAULT nextval('groups_id_seq'::regclass);
1000 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1003 ALTER TABLE ONLY humans ALTER COLUMN id SET DEFAULT nextval('humans_id_seq'::regclass);
1007 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1010 ALTER TABLE ONLY job_tasks ALTER COLUMN id SET DEFAULT nextval('job_tasks_id_seq'::regclass);
1014 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1017 ALTER TABLE ONLY jobs ALTER COLUMN id SET DEFAULT nextval('jobs_id_seq'::regclass);
1021 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1024 ALTER TABLE ONLY keep_disks ALTER COLUMN id SET DEFAULT nextval('keep_disks_id_seq'::regclass);
1028 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1031 ALTER TABLE ONLY keep_services ALTER COLUMN id SET DEFAULT nextval('keep_services_id_seq'::regclass);
1035 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1038 ALTER TABLE ONLY links ALTER COLUMN id SET DEFAULT nextval('links_id_seq'::regclass);
1042 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1045 ALTER TABLE ONLY logs ALTER COLUMN id SET DEFAULT nextval('logs_id_seq'::regclass);
1049 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1052 ALTER TABLE ONLY nodes ALTER COLUMN id SET DEFAULT nextval('nodes_id_seq'::regclass);
1056 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1059 ALTER TABLE ONLY pipeline_instances ALTER COLUMN id SET DEFAULT nextval('pipeline_instances_id_seq'::regclass);
1063 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1066 ALTER TABLE ONLY pipeline_templates ALTER COLUMN id SET DEFAULT nextval('pipeline_templates_id_seq'::regclass);
1070 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1073 ALTER TABLE ONLY repositories ALTER COLUMN id SET DEFAULT nextval('repositories_id_seq'::regclass);
1077 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1080 ALTER TABLE ONLY specimens ALTER COLUMN id SET DEFAULT nextval('specimens_id_seq'::regclass);
1084 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1087 ALTER TABLE ONLY traits ALTER COLUMN id SET DEFAULT nextval('traits_id_seq'::regclass);
1091 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1094 ALTER TABLE ONLY users ALTER COLUMN id SET DEFAULT nextval('users_id_seq'::regclass);
1098 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1101 ALTER TABLE ONLY virtual_machines ALTER COLUMN id SET DEFAULT nextval('virtual_machines_id_seq'::regclass);
1105 -- Name: api_client_authorizations_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1108 ALTER TABLE ONLY api_client_authorizations
1109 ADD CONSTRAINT api_client_authorizations_pkey PRIMARY KEY (id);
1113 -- Name: api_clients_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1116 ALTER TABLE ONLY api_clients
1117 ADD CONSTRAINT api_clients_pkey PRIMARY KEY (id);
1121 -- Name: authorized_keys_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1124 ALTER TABLE ONLY authorized_keys
1125 ADD CONSTRAINT authorized_keys_pkey PRIMARY KEY (id);
1129 -- Name: collections_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1132 ALTER TABLE ONLY collections
1133 ADD CONSTRAINT collections_pkey PRIMARY KEY (id);
1137 -- Name: commit_ancestors_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1140 ALTER TABLE ONLY commit_ancestors
1141 ADD CONSTRAINT commit_ancestors_pkey PRIMARY KEY (id);
1145 -- Name: commits_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1148 ALTER TABLE ONLY commits
1149 ADD CONSTRAINT commits_pkey PRIMARY KEY (id);
1153 -- Name: groups_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1156 ALTER TABLE ONLY groups
1157 ADD CONSTRAINT groups_pkey PRIMARY KEY (id);
1161 -- Name: humans_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1164 ALTER TABLE ONLY humans
1165 ADD CONSTRAINT humans_pkey PRIMARY KEY (id);
1169 -- Name: job_tasks_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1172 ALTER TABLE ONLY job_tasks
1173 ADD CONSTRAINT job_tasks_pkey PRIMARY KEY (id);
1177 -- Name: jobs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1180 ALTER TABLE ONLY jobs
1181 ADD CONSTRAINT jobs_pkey PRIMARY KEY (id);
1185 -- Name: keep_disks_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1188 ALTER TABLE ONLY keep_disks
1189 ADD CONSTRAINT keep_disks_pkey PRIMARY KEY (id);
1193 -- Name: keep_services_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1196 ALTER TABLE ONLY keep_services
1197 ADD CONSTRAINT keep_services_pkey PRIMARY KEY (id);
1201 -- Name: links_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1204 ALTER TABLE ONLY links
1205 ADD CONSTRAINT links_pkey PRIMARY KEY (id);
1209 -- Name: logs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1212 ALTER TABLE ONLY logs
1213 ADD CONSTRAINT logs_pkey PRIMARY KEY (id);
1217 -- Name: nodes_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1220 ALTER TABLE ONLY nodes
1221 ADD CONSTRAINT nodes_pkey PRIMARY KEY (id);
1225 -- Name: pipeline_instances_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1228 ALTER TABLE ONLY pipeline_instances
1229 ADD CONSTRAINT pipeline_instances_pkey PRIMARY KEY (id);
1233 -- Name: pipeline_templates_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1236 ALTER TABLE ONLY pipeline_templates
1237 ADD CONSTRAINT pipeline_templates_pkey PRIMARY KEY (id);
1241 -- Name: repositories_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1244 ALTER TABLE ONLY repositories
1245 ADD CONSTRAINT repositories_pkey PRIMARY KEY (id);
1249 -- Name: specimens_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1252 ALTER TABLE ONLY specimens
1253 ADD CONSTRAINT specimens_pkey PRIMARY KEY (id);
1257 -- Name: traits_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1260 ALTER TABLE ONLY traits
1261 ADD CONSTRAINT traits_pkey PRIMARY KEY (id);
1265 -- Name: users_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1268 ALTER TABLE ONLY users
1269 ADD CONSTRAINT users_pkey PRIMARY KEY (id);
1273 -- Name: virtual_machines_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1276 ALTER TABLE ONLY virtual_machines
1277 ADD CONSTRAINT virtual_machines_pkey PRIMARY KEY (id);
1281 -- Name: api_client_authorizations_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1284 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);
1288 -- Name: api_clients_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1291 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);
1295 -- Name: authorized_keys_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1298 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);
1302 -- Name: collection_owner_uuid_name_unique; Type: INDEX; Schema: public; Owner: -; Tablespace:
1305 CREATE UNIQUE INDEX collection_owner_uuid_name_unique ON collections USING btree (owner_uuid, name) WHERE (expires_at IS NULL);
1309 -- Name: collections_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
1312 CREATE INDEX collections_full_text_search_idx ON collections USING gin (to_tsvector('english'::regconfig, (((((((((((((((((COALESCE(owner_uuid, ''::character varying))::text || ' '::text) || (COALESCE(modified_by_client_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_user_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(portable_data_hash, ''::character varying))::text) || ' '::text) || (COALESCE(uuid, ''::character varying))::text) || ' '::text) || (COALESCE(name, ''::character varying))::text) || ' '::text) || (COALESCE(description, ''::character varying))::text) || ' '::text) || COALESCE(properties, ''::text)) || ' '::text) || (COALESCE(file_names, ''::character varying))::text)));
1316 -- Name: collections_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1319 CREATE INDEX collections_search_index ON collections USING btree (owner_uuid, modified_by_client_uuid, modified_by_user_uuid, portable_data_hash, uuid, name);
1323 -- Name: groups_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
1326 CREATE INDEX groups_full_text_search_idx ON groups USING gin (to_tsvector('english'::regconfig, (((((((((((((COALESCE(uuid, ''::character varying))::text || ' '::text) || (COALESCE(owner_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_client_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_user_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(name, ''::character varying))::text) || ' '::text) || (COALESCE(description, ''::character varying))::text) || ' '::text) || (COALESCE(group_class, ''::character varying))::text)));
1330 -- Name: groups_owner_uuid_name_unique; Type: INDEX; Schema: public; Owner: -; Tablespace:
1333 CREATE UNIQUE INDEX groups_owner_uuid_name_unique ON groups USING btree (owner_uuid, name);
1337 -- Name: groups_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1340 CREATE INDEX groups_search_index ON groups USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name, group_class);
1344 -- Name: humans_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1347 CREATE INDEX humans_search_index ON humans USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid);
1351 -- Name: index_api_client_authorizations_on_api_client_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
1354 CREATE INDEX index_api_client_authorizations_on_api_client_id ON api_client_authorizations USING btree (api_client_id);
1358 -- Name: index_api_client_authorizations_on_api_token; Type: INDEX; Schema: public; Owner: -; Tablespace:
1361 CREATE UNIQUE INDEX index_api_client_authorizations_on_api_token ON api_client_authorizations USING btree (api_token);
1365 -- Name: index_api_client_authorizations_on_expires_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1368 CREATE INDEX index_api_client_authorizations_on_expires_at ON api_client_authorizations USING btree (expires_at);
1372 -- Name: index_api_client_authorizations_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
1375 CREATE INDEX index_api_client_authorizations_on_user_id ON api_client_authorizations USING btree (user_id);
1379 -- Name: index_api_clients_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1382 CREATE INDEX index_api_clients_on_created_at ON api_clients USING btree (created_at);
1386 -- Name: index_api_clients_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1389 CREATE INDEX index_api_clients_on_modified_at ON api_clients USING btree (modified_at);
1393 -- Name: index_api_clients_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1396 CREATE INDEX index_api_clients_on_owner_uuid ON api_clients USING btree (owner_uuid);
1400 -- Name: index_api_clients_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1403 CREATE UNIQUE INDEX index_api_clients_on_uuid ON api_clients USING btree (uuid);
1407 -- Name: index_authkeys_on_user_and_expires_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1410 CREATE INDEX index_authkeys_on_user_and_expires_at ON authorized_keys USING btree (authorized_user_uuid, expires_at);
1414 -- Name: index_authorized_keys_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1417 CREATE INDEX index_authorized_keys_on_owner_uuid ON authorized_keys USING btree (owner_uuid);
1421 -- Name: index_authorized_keys_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1424 CREATE UNIQUE INDEX index_authorized_keys_on_uuid ON authorized_keys USING btree (uuid);
1428 -- Name: index_collections_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1431 CREATE INDEX index_collections_on_created_at ON collections USING btree (created_at);
1435 -- Name: index_collections_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1438 CREATE INDEX index_collections_on_modified_at ON collections USING btree (modified_at);
1442 -- Name: index_collections_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1445 CREATE INDEX index_collections_on_owner_uuid ON collections USING btree (owner_uuid);
1449 -- Name: index_collections_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1452 CREATE UNIQUE INDEX index_collections_on_uuid ON collections USING btree (uuid);
1456 -- Name: index_commit_ancestors_on_descendant_and_ancestor; Type: INDEX; Schema: public; Owner: -; Tablespace:
1459 CREATE UNIQUE INDEX index_commit_ancestors_on_descendant_and_ancestor ON commit_ancestors USING btree (descendant, ancestor);
1463 -- Name: index_commits_on_repository_name_and_sha1; Type: INDEX; Schema: public; Owner: -; Tablespace:
1466 CREATE UNIQUE INDEX index_commits_on_repository_name_and_sha1 ON commits USING btree (repository_name, sha1);
1470 -- Name: index_groups_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1473 CREATE INDEX index_groups_on_created_at ON groups USING btree (created_at);
1477 -- Name: index_groups_on_group_class; Type: INDEX; Schema: public; Owner: -; Tablespace:
1480 CREATE INDEX index_groups_on_group_class ON groups USING btree (group_class);
1484 -- Name: index_groups_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1487 CREATE INDEX index_groups_on_modified_at ON groups USING btree (modified_at);
1491 -- Name: index_groups_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1494 CREATE INDEX index_groups_on_owner_uuid ON groups USING btree (owner_uuid);
1498 -- Name: index_groups_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1501 CREATE UNIQUE INDEX index_groups_on_uuid ON groups USING btree (uuid);
1505 -- Name: index_humans_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1508 CREATE INDEX index_humans_on_owner_uuid ON humans USING btree (owner_uuid);
1512 -- Name: index_humans_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1515 CREATE UNIQUE INDEX index_humans_on_uuid ON humans USING btree (uuid);
1519 -- Name: index_job_tasks_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1522 CREATE INDEX index_job_tasks_on_created_at ON job_tasks USING btree (created_at);
1526 -- Name: index_job_tasks_on_job_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1529 CREATE INDEX index_job_tasks_on_job_uuid ON job_tasks USING btree (job_uuid);
1533 -- Name: index_job_tasks_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1536 CREATE INDEX index_job_tasks_on_modified_at ON job_tasks USING btree (modified_at);
1540 -- Name: index_job_tasks_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1543 CREATE INDEX index_job_tasks_on_owner_uuid ON job_tasks USING btree (owner_uuid);
1547 -- Name: index_job_tasks_on_sequence; Type: INDEX; Schema: public; Owner: -; Tablespace:
1550 CREATE INDEX index_job_tasks_on_sequence ON job_tasks USING btree (sequence);
1554 -- Name: index_job_tasks_on_success; Type: INDEX; Schema: public; Owner: -; Tablespace:
1557 CREATE INDEX index_job_tasks_on_success ON job_tasks USING btree (success);
1561 -- Name: index_job_tasks_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1564 CREATE UNIQUE INDEX index_job_tasks_on_uuid ON job_tasks USING btree (uuid);
1568 -- Name: index_jobs_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1571 CREATE INDEX index_jobs_on_created_at ON jobs USING btree (created_at);
1575 -- Name: index_jobs_on_finished_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1578 CREATE INDEX index_jobs_on_finished_at ON jobs USING btree (finished_at);
1582 -- Name: index_jobs_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1585 CREATE INDEX index_jobs_on_modified_at ON jobs USING btree (modified_at);
1589 -- Name: index_jobs_on_output; Type: INDEX; Schema: public; Owner: -; Tablespace:
1592 CREATE INDEX index_jobs_on_output ON jobs USING btree (output);
1596 -- Name: index_jobs_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1599 CREATE INDEX index_jobs_on_owner_uuid ON jobs USING btree (owner_uuid);
1603 -- Name: index_jobs_on_script; Type: INDEX; Schema: public; Owner: -; Tablespace:
1606 CREATE INDEX index_jobs_on_script ON jobs USING btree (script);
1610 -- Name: index_jobs_on_started_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1613 CREATE INDEX index_jobs_on_started_at ON jobs USING btree (started_at);
1617 -- Name: index_jobs_on_submit_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
1620 CREATE UNIQUE INDEX index_jobs_on_submit_id ON jobs USING btree (submit_id);
1624 -- Name: index_jobs_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1627 CREATE UNIQUE INDEX index_jobs_on_uuid ON jobs USING btree (uuid);
1631 -- Name: index_keep_disks_on_filesystem_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1634 CREATE INDEX index_keep_disks_on_filesystem_uuid ON keep_disks USING btree (filesystem_uuid);
1638 -- Name: index_keep_disks_on_last_ping_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1641 CREATE INDEX index_keep_disks_on_last_ping_at ON keep_disks USING btree (last_ping_at);
1645 -- Name: index_keep_disks_on_node_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1648 CREATE INDEX index_keep_disks_on_node_uuid ON keep_disks USING btree (node_uuid);
1652 -- Name: index_keep_disks_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1655 CREATE INDEX index_keep_disks_on_owner_uuid ON keep_disks USING btree (owner_uuid);
1659 -- Name: index_keep_disks_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1662 CREATE UNIQUE INDEX index_keep_disks_on_uuid ON keep_disks USING btree (uuid);
1666 -- Name: index_keep_services_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1669 CREATE INDEX index_keep_services_on_owner_uuid ON keep_services USING btree (owner_uuid);
1673 -- Name: index_keep_services_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1676 CREATE UNIQUE INDEX index_keep_services_on_uuid ON keep_services USING btree (uuid);
1680 -- Name: index_links_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1683 CREATE INDEX index_links_on_created_at ON links USING btree (created_at);
1687 -- Name: index_links_on_head_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1690 CREATE INDEX index_links_on_head_uuid ON links USING btree (head_uuid);
1694 -- Name: index_links_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1697 CREATE INDEX index_links_on_modified_at ON links USING btree (modified_at);
1701 -- Name: index_links_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1704 CREATE INDEX index_links_on_owner_uuid ON links USING btree (owner_uuid);
1708 -- Name: index_links_on_tail_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1711 CREATE INDEX index_links_on_tail_uuid ON links USING btree (tail_uuid);
1715 -- Name: index_links_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1718 CREATE UNIQUE INDEX index_links_on_uuid ON links USING btree (uuid);
1722 -- Name: index_logs_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1725 CREATE INDEX index_logs_on_created_at ON logs USING btree (created_at);
1729 -- Name: index_logs_on_event_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1732 CREATE INDEX index_logs_on_event_at ON logs USING btree (event_at);
1736 -- Name: index_logs_on_event_type; Type: INDEX; Schema: public; Owner: -; Tablespace:
1739 CREATE INDEX index_logs_on_event_type ON logs USING btree (event_type);
1743 -- Name: index_logs_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1746 CREATE INDEX index_logs_on_modified_at ON logs USING btree (modified_at);
1750 -- Name: index_logs_on_object_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1753 CREATE INDEX index_logs_on_object_uuid ON logs USING btree (object_uuid);
1757 -- Name: index_logs_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1760 CREATE INDEX index_logs_on_owner_uuid ON logs USING btree (owner_uuid);
1764 -- Name: index_logs_on_summary; Type: INDEX; Schema: public; Owner: -; Tablespace:
1767 CREATE INDEX index_logs_on_summary ON logs USING btree (summary);
1771 -- Name: index_logs_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1774 CREATE UNIQUE INDEX index_logs_on_uuid ON logs USING btree (uuid);
1778 -- Name: index_nodes_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1781 CREATE INDEX index_nodes_on_created_at ON nodes USING btree (created_at);
1785 -- Name: index_nodes_on_hostname; Type: INDEX; Schema: public; Owner: -; Tablespace:
1788 CREATE INDEX index_nodes_on_hostname ON nodes USING btree (hostname);
1792 -- Name: index_nodes_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1795 CREATE INDEX index_nodes_on_modified_at ON nodes USING btree (modified_at);
1799 -- Name: index_nodes_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1802 CREATE INDEX index_nodes_on_owner_uuid ON nodes USING btree (owner_uuid);
1806 -- Name: index_nodes_on_slot_number; Type: INDEX; Schema: public; Owner: -; Tablespace:
1809 CREATE UNIQUE INDEX index_nodes_on_slot_number ON nodes USING btree (slot_number);
1813 -- Name: index_nodes_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1816 CREATE UNIQUE INDEX index_nodes_on_uuid ON nodes USING btree (uuid);
1820 -- Name: index_pipeline_instances_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1823 CREATE INDEX index_pipeline_instances_on_created_at ON pipeline_instances USING btree (created_at);
1827 -- Name: index_pipeline_instances_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1830 CREATE INDEX index_pipeline_instances_on_modified_at ON pipeline_instances USING btree (modified_at);
1834 -- Name: index_pipeline_instances_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1837 CREATE INDEX index_pipeline_instances_on_owner_uuid ON pipeline_instances USING btree (owner_uuid);
1841 -- Name: index_pipeline_instances_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1844 CREATE UNIQUE INDEX index_pipeline_instances_on_uuid ON pipeline_instances USING btree (uuid);
1848 -- Name: index_pipeline_templates_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1851 CREATE INDEX index_pipeline_templates_on_created_at ON pipeline_templates USING btree (created_at);
1855 -- Name: index_pipeline_templates_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1858 CREATE INDEX index_pipeline_templates_on_modified_at ON pipeline_templates USING btree (modified_at);
1862 -- Name: index_pipeline_templates_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1865 CREATE INDEX index_pipeline_templates_on_owner_uuid ON pipeline_templates USING btree (owner_uuid);
1869 -- Name: index_pipeline_templates_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1872 CREATE UNIQUE INDEX index_pipeline_templates_on_uuid ON pipeline_templates USING btree (uuid);
1876 -- Name: index_repositories_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
1879 CREATE UNIQUE INDEX index_repositories_on_name ON repositories USING btree (name);
1883 -- Name: index_repositories_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1886 CREATE INDEX index_repositories_on_owner_uuid ON repositories USING btree (owner_uuid);
1890 -- Name: index_repositories_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1893 CREATE UNIQUE INDEX index_repositories_on_uuid ON repositories USING btree (uuid);
1897 -- Name: index_specimens_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1900 CREATE INDEX index_specimens_on_created_at ON specimens USING btree (created_at);
1904 -- Name: index_specimens_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1907 CREATE INDEX index_specimens_on_modified_at ON specimens USING btree (modified_at);
1911 -- Name: index_specimens_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1914 CREATE INDEX index_specimens_on_owner_uuid ON specimens USING btree (owner_uuid);
1918 -- Name: index_specimens_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1921 CREATE UNIQUE INDEX index_specimens_on_uuid ON specimens USING btree (uuid);
1925 -- Name: index_traits_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
1928 CREATE INDEX index_traits_on_name ON traits USING btree (name);
1932 -- Name: index_traits_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1935 CREATE INDEX index_traits_on_owner_uuid ON traits USING btree (owner_uuid);
1939 -- Name: index_traits_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1942 CREATE UNIQUE INDEX index_traits_on_uuid ON traits USING btree (uuid);
1946 -- Name: index_users_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1949 CREATE INDEX index_users_on_created_at ON users USING btree (created_at);
1953 -- Name: index_users_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1956 CREATE INDEX index_users_on_modified_at ON users USING btree (modified_at);
1960 -- Name: index_users_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1963 CREATE INDEX index_users_on_owner_uuid ON users USING btree (owner_uuid);
1967 -- Name: index_users_on_username; Type: INDEX; Schema: public; Owner: -; Tablespace:
1970 CREATE UNIQUE INDEX index_users_on_username ON users USING btree (username);
1974 -- Name: index_users_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1977 CREATE UNIQUE INDEX index_users_on_uuid ON users USING btree (uuid);
1981 -- Name: index_virtual_machines_on_hostname; Type: INDEX; Schema: public; Owner: -; Tablespace:
1984 CREATE INDEX index_virtual_machines_on_hostname ON virtual_machines USING btree (hostname);
1988 -- Name: index_virtual_machines_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1991 CREATE INDEX index_virtual_machines_on_owner_uuid ON virtual_machines USING btree (owner_uuid);
1995 -- Name: index_virtual_machines_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1998 CREATE UNIQUE INDEX index_virtual_machines_on_uuid ON virtual_machines USING btree (uuid);
2002 -- Name: job_tasks_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2005 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);
2009 -- Name: jobs_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
2012 CREATE INDEX jobs_full_text_search_idx ON jobs USING gin (to_tsvector('english'::regconfig, (((((((((((((((((((((((((((((((((((((((((COALESCE(uuid, ''::character varying))::text || ' '::text) || (COALESCE(owner_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_client_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_user_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(submit_id, ''::character varying))::text) || ' '::text) || (COALESCE(script, ''::character varying))::text) || ' '::text) || (COALESCE(script_version, ''::character varying))::text) || ' '::text) || COALESCE(script_parameters, ''::text)) || ' '::text) || (COALESCE(cancelled_by_client_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(cancelled_by_user_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(output, ''::character varying))::text) || ' '::text) || (COALESCE(is_locked_by_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(log, ''::character varying))::text) || ' '::text) || COALESCE(tasks_summary, ''::text)) || ' '::text) || COALESCE(runtime_constraints, ''::text)) || ' '::text) || (COALESCE(repository, ''::character varying))::text) || ' '::text) || (COALESCE(supplied_script_version, ''::character varying))::text) || ' '::text) || (COALESCE(docker_image_locator, ''::character varying))::text) || ' '::text) || (COALESCE(description, ''::character varying))::text) || ' '::text) || (COALESCE(state, ''::character varying))::text) || ' '::text) || (COALESCE(arvados_sdk_version, ''::character varying))::text)));
2016 -- Name: jobs_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2019 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);
2023 -- Name: keep_disks_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2026 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);
2030 -- Name: keep_services_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2033 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);
2037 -- Name: links_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2040 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);
2044 -- Name: links_tail_name_unique_if_link_class_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
2047 CREATE UNIQUE INDEX links_tail_name_unique_if_link_class_name ON links USING btree (tail_uuid, name) WHERE ((link_class)::text = 'name'::text);
2051 -- Name: logs_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2054 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);
2058 -- Name: nodes_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2061 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);
2065 -- Name: pipeline_instances_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
2068 CREATE INDEX pipeline_instances_full_text_search_idx ON pipeline_instances USING gin (to_tsvector('english'::regconfig, (((((((((((((((((((((COALESCE(uuid, ''::character varying))::text || ' '::text) || (COALESCE(owner_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_client_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_user_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(pipeline_template_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(name, ''::character varying))::text) || ' '::text) || COALESCE(components, ''::text)) || ' '::text) || COALESCE(properties, ''::text)) || ' '::text) || (COALESCE(state, ''::character varying))::text) || ' '::text) || COALESCE(components_summary, ''::text)) || ' '::text) || (COALESCE(description, ''::character varying))::text)));
2072 -- Name: pipeline_instances_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2075 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);
2079 -- Name: pipeline_template_owner_uuid_name_unique; Type: INDEX; Schema: public; Owner: -; Tablespace:
2082 CREATE UNIQUE INDEX pipeline_template_owner_uuid_name_unique ON pipeline_templates USING btree (owner_uuid, name);
2086 -- Name: pipeline_templates_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
2089 CREATE INDEX pipeline_templates_full_text_search_idx ON pipeline_templates USING gin (to_tsvector('english'::regconfig, (((((((((((((COALESCE(uuid, ''::character varying))::text || ' '::text) || (COALESCE(owner_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_client_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_user_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(name, ''::character varying))::text) || ' '::text) || COALESCE(components, ''::text)) || ' '::text) || (COALESCE(description, ''::character varying))::text)));
2093 -- Name: pipeline_templates_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2096 CREATE INDEX pipeline_templates_search_index ON pipeline_templates USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2100 -- Name: repositories_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2103 CREATE INDEX repositories_search_index ON repositories USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2107 -- Name: specimens_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2110 CREATE INDEX specimens_search_index ON specimens USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, material);
2114 -- Name: traits_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2117 CREATE INDEX traits_search_index ON traits USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2121 -- Name: unique_schema_migrations; Type: INDEX; Schema: public; Owner: -; Tablespace:
2124 CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations USING btree (version);
2128 -- Name: users_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2131 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, username);
2135 -- Name: virtual_machines_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2138 CREATE INDEX virtual_machines_search_index ON virtual_machines USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, hostname);
2142 -- PostgreSQL database dump complete
2145 SET search_path TO "$user",public;
2147 INSERT INTO schema_migrations (version) VALUES ('20121016005009');
2149 INSERT INTO schema_migrations (version) VALUES ('20130105203021');
2151 INSERT INTO schema_migrations (version) VALUES ('20130105224358');
2153 INSERT INTO schema_migrations (version) VALUES ('20130105224618');
2155 INSERT INTO schema_migrations (version) VALUES ('20130107181109');
2157 INSERT INTO schema_migrations (version) VALUES ('20130107212832');
2159 INSERT INTO schema_migrations (version) VALUES ('20130109175700');
2161 INSERT INTO schema_migrations (version) VALUES ('20130109220548');
2163 INSERT INTO schema_migrations (version) VALUES ('20130113214204');
2165 INSERT INTO schema_migrations (version) VALUES ('20130116024233');
2167 INSERT INTO schema_migrations (version) VALUES ('20130116215213');
2169 INSERT INTO schema_migrations (version) VALUES ('20130118002239');
2171 INSERT INTO schema_migrations (version) VALUES ('20130122020042');
2173 INSERT INTO schema_migrations (version) VALUES ('20130122201442');
2175 INSERT INTO schema_migrations (version) VALUES ('20130122221616');
2177 INSERT INTO schema_migrations (version) VALUES ('20130123174514');
2179 INSERT INTO schema_migrations (version) VALUES ('20130123180224');
2181 INSERT INTO schema_migrations (version) VALUES ('20130123180228');
2183 INSERT INTO schema_migrations (version) VALUES ('20130125220425');
2185 INSERT INTO schema_migrations (version) VALUES ('20130128202518');
2187 INSERT INTO schema_migrations (version) VALUES ('20130128231343');
2189 INSERT INTO schema_migrations (version) VALUES ('20130130205749');
2191 INSERT INTO schema_migrations (version) VALUES ('20130203104818');
2193 INSERT INTO schema_migrations (version) VALUES ('20130203104824');
2195 INSERT INTO schema_migrations (version) VALUES ('20130203115329');
2197 INSERT INTO schema_migrations (version) VALUES ('20130207195855');
2199 INSERT INTO schema_migrations (version) VALUES ('20130218181504');
2201 INSERT INTO schema_migrations (version) VALUES ('20130226170000');
2203 INSERT INTO schema_migrations (version) VALUES ('20130313175417');
2205 INSERT INTO schema_migrations (version) VALUES ('20130315155820');
2207 INSERT INTO schema_migrations (version) VALUES ('20130315183626');
2209 INSERT INTO schema_migrations (version) VALUES ('20130315213205');
2211 INSERT INTO schema_migrations (version) VALUES ('20130318002138');
2213 INSERT INTO schema_migrations (version) VALUES ('20130319165853');
2215 INSERT INTO schema_migrations (version) VALUES ('20130319180730');
2217 INSERT INTO schema_migrations (version) VALUES ('20130319194637');
2219 INSERT INTO schema_migrations (version) VALUES ('20130319201431');
2221 INSERT INTO schema_migrations (version) VALUES ('20130319235957');
2223 INSERT INTO schema_migrations (version) VALUES ('20130320000107');
2225 INSERT INTO schema_migrations (version) VALUES ('20130326173804');
2227 INSERT INTO schema_migrations (version) VALUES ('20130326182917');
2229 INSERT INTO schema_migrations (version) VALUES ('20130415020241');
2231 INSERT INTO schema_migrations (version) VALUES ('20130425024459');
2233 INSERT INTO schema_migrations (version) VALUES ('20130425214427');
2235 INSERT INTO schema_migrations (version) VALUES ('20130523060112');
2237 INSERT INTO schema_migrations (version) VALUES ('20130523060213');
2239 INSERT INTO schema_migrations (version) VALUES ('20130524042319');
2241 INSERT INTO schema_migrations (version) VALUES ('20130528134100');
2243 INSERT INTO schema_migrations (version) VALUES ('20130606183519');
2245 INSERT INTO schema_migrations (version) VALUES ('20130608053730');
2247 INSERT INTO schema_migrations (version) VALUES ('20130610202538');
2249 INSERT INTO schema_migrations (version) VALUES ('20130611163736');
2251 INSERT INTO schema_migrations (version) VALUES ('20130612042554');
2253 INSERT INTO schema_migrations (version) VALUES ('20130617150007');
2255 INSERT INTO schema_migrations (version) VALUES ('20130626002829');
2257 INSERT INTO schema_migrations (version) VALUES ('20130626022810');
2259 INSERT INTO schema_migrations (version) VALUES ('20130627154537');
2261 INSERT INTO schema_migrations (version) VALUES ('20130627184333');
2263 INSERT INTO schema_migrations (version) VALUES ('20130708163414');
2265 INSERT INTO schema_migrations (version) VALUES ('20130708182912');
2267 INSERT INTO schema_migrations (version) VALUES ('20130708185153');
2269 INSERT INTO schema_migrations (version) VALUES ('20130724153034');
2271 INSERT INTO schema_migrations (version) VALUES ('20131007180607');
2273 INSERT INTO schema_migrations (version) VALUES ('20140117231056');
2275 INSERT INTO schema_migrations (version) VALUES ('20140124222114');
2277 INSERT INTO schema_migrations (version) VALUES ('20140129184311');
2279 INSERT INTO schema_migrations (version) VALUES ('20140317135600');
2281 INSERT INTO schema_migrations (version) VALUES ('20140319160547');
2283 INSERT INTO schema_migrations (version) VALUES ('20140321191343');
2285 INSERT INTO schema_migrations (version) VALUES ('20140324024606');
2287 INSERT INTO schema_migrations (version) VALUES ('20140325175653');
2289 INSERT INTO schema_migrations (version) VALUES ('20140402001908');
2291 INSERT INTO schema_migrations (version) VALUES ('20140407184311');
2293 INSERT INTO schema_migrations (version) VALUES ('20140421140924');
2295 INSERT INTO schema_migrations (version) VALUES ('20140421151939');
2297 INSERT INTO schema_migrations (version) VALUES ('20140421151940');
2299 INSERT INTO schema_migrations (version) VALUES ('20140422011506');
2301 INSERT INTO schema_migrations (version) VALUES ('20140423132913');
2303 INSERT INTO schema_migrations (version) VALUES ('20140423133559');
2305 INSERT INTO schema_migrations (version) VALUES ('20140501165548');
2307 INSERT INTO schema_migrations (version) VALUES ('20140519205916');
2309 INSERT INTO schema_migrations (version) VALUES ('20140527152921');
2311 INSERT INTO schema_migrations (version) VALUES ('20140530200539');
2313 INSERT INTO schema_migrations (version) VALUES ('20140601022548');
2315 INSERT INTO schema_migrations (version) VALUES ('20140602143352');
2317 INSERT INTO schema_migrations (version) VALUES ('20140607150616');
2319 INSERT INTO schema_migrations (version) VALUES ('20140611173003');
2321 INSERT INTO schema_migrations (version) VALUES ('20140627210837');
2323 INSERT INTO schema_migrations (version) VALUES ('20140709172343');
2325 INSERT INTO schema_migrations (version) VALUES ('20140714184006');
2327 INSERT INTO schema_migrations (version) VALUES ('20140811184643');
2329 INSERT INTO schema_migrations (version) VALUES ('20140817035914');
2331 INSERT INTO schema_migrations (version) VALUES ('20140818125735');
2333 INSERT INTO schema_migrations (version) VALUES ('20140826180337');
2335 INSERT INTO schema_migrations (version) VALUES ('20140828141043');
2337 INSERT INTO schema_migrations (version) VALUES ('20140909183946');
2339 INSERT INTO schema_migrations (version) VALUES ('20140911221252');
2341 INSERT INTO schema_migrations (version) VALUES ('20140918141529');
2343 INSERT INTO schema_migrations (version) VALUES ('20140918153541');
2345 INSERT INTO schema_migrations (version) VALUES ('20140918153705');
2347 INSERT INTO schema_migrations (version) VALUES ('20140924091559');
2349 INSERT INTO schema_migrations (version) VALUES ('20141111133038');
2351 INSERT INTO schema_migrations (version) VALUES ('20141208164553');
2353 INSERT INTO schema_migrations (version) VALUES ('20141208174553');
2355 INSERT INTO schema_migrations (version) VALUES ('20141208174653');
2357 INSERT INTO schema_migrations (version) VALUES ('20141208185217');
2359 INSERT INTO schema_migrations (version) VALUES ('20150122175935');
2361 INSERT INTO schema_migrations (version) VALUES ('20150123142953');
2363 INSERT INTO schema_migrations (version) VALUES ('20150203180223');
2365 INSERT INTO schema_migrations (version) VALUES ('20150206210804');
2367 INSERT INTO schema_migrations (version) VALUES ('20150206230342');
2369 INSERT INTO schema_migrations (version) VALUES ('20150216193428');
2371 INSERT INTO schema_migrations (version) VALUES ('20150303210106');
2373 INSERT INTO schema_migrations (version) VALUES ('20150312151136');
2375 INSERT INTO schema_migrations (version) VALUES ('20150317132720');
2377 INSERT INTO schema_migrations (version) VALUES ('20150324152204');
2379 INSERT INTO schema_migrations (version) VALUES ('20150423145759');