1 -- Copyright (C) The Arvados Authors. All rights reserved.
3 -- SPDX-License-Identifier: AGPL-3.0
6 -- PostgreSQL database dump
9 SET statement_timeout = 0;
10 SET client_encoding = 'UTF8';
11 SET standard_conforming_strings = on;
12 SET check_function_bodies = false;
13 SET client_min_messages = warning;
16 -- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: -
19 CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
23 -- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner: -
26 -- COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
29 SET search_path = public, pg_catalog;
31 SET default_tablespace = '';
33 SET default_with_oids = false;
36 -- Name: api_client_authorizations; Type: TABLE; Schema: public; Owner: -; Tablespace:
39 CREATE TABLE api_client_authorizations (
41 api_token character varying(255) NOT NULL,
42 api_client_id integer NOT NULL,
43 user_id integer NOT NULL,
44 created_by_ip_address character varying(255),
45 last_used_by_ip_address character varying(255),
46 last_used_at timestamp without time zone,
47 expires_at timestamp without time zone,
48 created_at timestamp without time zone NOT NULL,
49 updated_at timestamp without time zone NOT NULL,
50 default_owner_uuid character varying(255),
51 scopes text DEFAULT '["all"]'::text,
52 uuid character varying(255) NOT NULL
57 -- Name: api_client_authorizations_id_seq; Type: SEQUENCE; Schema: public; Owner: -
60 CREATE SEQUENCE api_client_authorizations_id_seq
69 -- Name: api_client_authorizations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
72 ALTER SEQUENCE api_client_authorizations_id_seq OWNED BY api_client_authorizations.id;
76 -- Name: api_clients; Type: TABLE; Schema: public; Owner: -; Tablespace:
79 CREATE TABLE api_clients (
81 uuid character varying(255),
82 owner_uuid character varying(255),
83 modified_by_client_uuid character varying(255),
84 modified_by_user_uuid character varying(255),
85 modified_at timestamp without time zone,
86 name character varying(255),
87 url_prefix character varying(255),
88 created_at timestamp without time zone NOT NULL,
89 updated_at timestamp without time zone NOT NULL,
90 is_trusted boolean DEFAULT false
95 -- Name: api_clients_id_seq; Type: SEQUENCE; Schema: public; Owner: -
98 CREATE SEQUENCE api_clients_id_seq
107 -- Name: api_clients_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
110 ALTER SEQUENCE api_clients_id_seq OWNED BY api_clients.id;
114 -- Name: authorized_keys; Type: TABLE; Schema: public; Owner: -; Tablespace:
117 CREATE TABLE authorized_keys (
119 uuid character varying(255) NOT NULL,
120 owner_uuid character varying(255) NOT NULL,
121 modified_by_client_uuid character varying(255),
122 modified_by_user_uuid character varying(255),
123 modified_at timestamp without time zone,
124 name character varying(255),
125 key_type character varying(255),
126 authorized_user_uuid character varying(255),
128 expires_at timestamp without time zone,
129 created_at timestamp without time zone NOT NULL,
130 updated_at timestamp without time zone NOT NULL
135 -- Name: authorized_keys_id_seq; Type: SEQUENCE; Schema: public; Owner: -
138 CREATE SEQUENCE authorized_keys_id_seq
147 -- Name: authorized_keys_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
150 ALTER SEQUENCE authorized_keys_id_seq OWNED BY authorized_keys.id;
154 -- Name: collections; Type: TABLE; Schema: public; Owner: -; Tablespace:
157 CREATE TABLE collections (
159 owner_uuid character varying(255),
160 created_at timestamp without time zone NOT NULL,
161 modified_by_client_uuid character varying(255),
162 modified_by_user_uuid character varying(255),
163 modified_at timestamp without time zone,
164 portable_data_hash character varying(255),
165 replication_desired integer,
166 replication_confirmed_at timestamp without time zone,
167 replication_confirmed integer,
168 updated_at timestamp without time zone NOT NULL,
169 uuid character varying(255),
171 name character varying(255),
172 description character varying(524288),
174 delete_at timestamp without time zone,
175 file_names character varying(8192),
176 trash_at timestamp without time zone,
177 is_trashed boolean DEFAULT false NOT NULL
182 -- Name: collections_id_seq; Type: SEQUENCE; Schema: public; Owner: -
185 CREATE SEQUENCE collections_id_seq
194 -- Name: collections_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
197 ALTER SEQUENCE collections_id_seq OWNED BY collections.id;
201 -- Name: commit_ancestors; Type: TABLE; Schema: public; Owner: -; Tablespace:
204 CREATE TABLE commit_ancestors (
206 repository_name character varying(255),
207 descendant character varying(255) NOT NULL,
208 ancestor character varying(255) NOT NULL,
209 "is" boolean DEFAULT false NOT NULL,
210 created_at timestamp without time zone NOT NULL,
211 updated_at timestamp without time zone NOT NULL
216 -- Name: commit_ancestors_id_seq; Type: SEQUENCE; Schema: public; Owner: -
219 CREATE SEQUENCE commit_ancestors_id_seq
228 -- Name: commit_ancestors_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
231 ALTER SEQUENCE commit_ancestors_id_seq OWNED BY commit_ancestors.id;
235 -- Name: commits; Type: TABLE; Schema: public; Owner: -; Tablespace:
238 CREATE TABLE commits (
240 repository_name character varying(255),
241 sha1 character varying(255),
242 message character varying(255),
243 created_at timestamp without time zone NOT NULL,
244 updated_at timestamp without time zone NOT NULL
249 -- Name: commits_id_seq; Type: SEQUENCE; Schema: public; Owner: -
252 CREATE SEQUENCE commits_id_seq
261 -- Name: commits_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
264 ALTER SEQUENCE commits_id_seq OWNED BY commits.id;
268 -- Name: container_requests; Type: TABLE; Schema: public; Owner: -; Tablespace:
271 CREATE TABLE container_requests (
273 uuid character varying(255),
274 owner_uuid character varying(255),
275 created_at timestamp without time zone NOT NULL,
276 modified_at timestamp without time zone,
277 modified_by_client_uuid character varying(255),
278 modified_by_user_uuid character varying(255),
279 name character varying(255),
282 state character varying(255),
283 requesting_container_uuid character varying(255),
284 container_uuid character varying(255),
285 container_count_max integer,
287 runtime_constraints text,
288 container_image character varying(255),
290 cwd character varying(255),
292 output_path character varying(255),
294 expires_at timestamp without time zone,
296 updated_at timestamp without time zone NOT NULL,
297 container_count integer DEFAULT 0,
298 use_existing boolean DEFAULT true,
299 scheduling_parameters text,
300 output_uuid character varying(255),
301 log_uuid character varying(255),
302 output_name character varying(255) DEFAULT NULL::character varying,
303 output_ttl integer DEFAULT 0 NOT NULL
308 -- Name: container_requests_id_seq; Type: SEQUENCE; Schema: public; Owner: -
311 CREATE SEQUENCE container_requests_id_seq
320 -- Name: container_requests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
323 ALTER SEQUENCE container_requests_id_seq OWNED BY container_requests.id;
327 -- Name: containers; Type: TABLE; Schema: public; Owner: -; Tablespace:
330 CREATE TABLE containers (
332 uuid character varying(255),
333 owner_uuid character varying(255),
334 created_at timestamp without time zone NOT NULL,
335 modified_at timestamp without time zone,
336 modified_by_client_uuid character varying(255),
337 modified_by_user_uuid character varying(255),
338 state character varying(255),
339 started_at timestamp without time zone,
340 finished_at timestamp without time zone,
341 log character varying(255),
343 cwd character varying(255),
345 output_path character varying(255),
347 runtime_constraints text,
348 output character varying(255),
349 container_image character varying(255),
350 progress double precision,
352 updated_at timestamp without time zone NOT NULL,
354 auth_uuid character varying(255),
355 locked_by_uuid character varying(255),
356 scheduling_parameters text
361 -- Name: containers_id_seq; Type: SEQUENCE; Schema: public; Owner: -
364 CREATE SEQUENCE containers_id_seq
373 -- Name: containers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
376 ALTER SEQUENCE containers_id_seq OWNED BY containers.id;
380 -- Name: groups; Type: TABLE; Schema: public; Owner: -; Tablespace:
383 CREATE TABLE groups (
385 uuid character varying(255),
386 owner_uuid character varying(255),
387 created_at timestamp without time zone NOT NULL,
388 modified_by_client_uuid character varying(255),
389 modified_by_user_uuid character varying(255),
390 modified_at timestamp without time zone,
391 name character varying(255) NOT NULL,
392 description character varying(524288),
393 updated_at timestamp without time zone NOT NULL,
394 group_class character varying(255)
399 -- Name: groups_id_seq; Type: SEQUENCE; Schema: public; Owner: -
402 CREATE SEQUENCE groups_id_seq
411 -- Name: groups_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
414 ALTER SEQUENCE groups_id_seq OWNED BY groups.id;
418 -- Name: humans; Type: TABLE; Schema: public; Owner: -; Tablespace:
421 CREATE TABLE humans (
423 uuid character varying(255) NOT NULL,
424 owner_uuid character varying(255) NOT NULL,
425 modified_by_client_uuid character varying(255),
426 modified_by_user_uuid character varying(255),
427 modified_at timestamp without time zone,
429 created_at timestamp without time zone NOT NULL,
430 updated_at timestamp without time zone NOT NULL
435 -- Name: humans_id_seq; Type: SEQUENCE; Schema: public; Owner: -
438 CREATE SEQUENCE humans_id_seq
447 -- Name: humans_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
450 ALTER SEQUENCE humans_id_seq OWNED BY humans.id;
454 -- Name: job_tasks; Type: TABLE; Schema: public; Owner: -; Tablespace:
457 CREATE TABLE job_tasks (
459 uuid character varying(255),
460 owner_uuid character varying(255),
461 modified_by_client_uuid character varying(255),
462 modified_by_user_uuid character varying(255),
463 modified_at timestamp without time zone,
464 job_uuid character varying(255),
468 progress double precision,
470 created_at timestamp without time zone NOT NULL,
471 updated_at timestamp without time zone NOT NULL,
472 created_by_job_task_uuid character varying(255),
474 started_at timestamp without time zone,
475 finished_at timestamp without time zone
480 -- Name: job_tasks_id_seq; Type: SEQUENCE; Schema: public; Owner: -
483 CREATE SEQUENCE job_tasks_id_seq
492 -- Name: job_tasks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
495 ALTER SEQUENCE job_tasks_id_seq OWNED BY job_tasks.id;
499 -- Name: job_tasks_qsequence_seq; Type: SEQUENCE; Schema: public; Owner: -
502 CREATE SEQUENCE job_tasks_qsequence_seq
511 -- Name: job_tasks_qsequence_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
514 ALTER SEQUENCE job_tasks_qsequence_seq OWNED BY job_tasks.qsequence;
518 -- Name: jobs; Type: TABLE; Schema: public; Owner: -; Tablespace:
523 uuid character varying(255),
524 owner_uuid character varying(255),
525 modified_by_client_uuid character varying(255),
526 modified_by_user_uuid character varying(255),
527 modified_at timestamp without time zone,
528 submit_id character varying(255),
529 script character varying(255),
530 script_version character varying(255),
531 script_parameters text,
532 cancelled_by_client_uuid character varying(255),
533 cancelled_by_user_uuid character varying(255),
534 cancelled_at timestamp without time zone,
535 started_at timestamp without time zone,
536 finished_at timestamp without time zone,
539 output character varying(255),
540 created_at timestamp without time zone NOT NULL,
541 updated_at timestamp without time zone NOT NULL,
542 is_locked_by_uuid character varying(255),
543 log character varying(255),
545 runtime_constraints text,
546 nondeterministic boolean,
547 repository character varying(255),
548 supplied_script_version character varying(255),
549 docker_image_locator character varying(255),
550 priority integer DEFAULT 0 NOT NULL,
551 description character varying(524288),
552 state character varying(255),
553 arvados_sdk_version character varying(255),
555 script_parameters_digest character varying(255)
560 -- Name: jobs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
563 CREATE SEQUENCE jobs_id_seq
572 -- Name: jobs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
575 ALTER SEQUENCE jobs_id_seq OWNED BY jobs.id;
579 -- Name: keep_disks; Type: TABLE; Schema: public; Owner: -; Tablespace:
582 CREATE TABLE keep_disks (
584 uuid character varying(255) NOT NULL,
585 owner_uuid character varying(255) NOT NULL,
586 modified_by_client_uuid character varying(255),
587 modified_by_user_uuid character varying(255),
588 modified_at timestamp without time zone,
589 ping_secret character varying(255) NOT NULL,
590 node_uuid character varying(255),
591 filesystem_uuid character varying(255),
594 is_readable boolean DEFAULT true NOT NULL,
595 is_writable boolean DEFAULT true NOT NULL,
596 last_read_at timestamp without time zone,
597 last_write_at timestamp without time zone,
598 last_ping_at timestamp without time zone,
599 created_at timestamp without time zone NOT NULL,
600 updated_at timestamp without time zone NOT NULL,
601 keep_service_uuid character varying(255)
606 -- Name: keep_disks_id_seq; Type: SEQUENCE; Schema: public; Owner: -
609 CREATE SEQUENCE keep_disks_id_seq
618 -- Name: keep_disks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
621 ALTER SEQUENCE keep_disks_id_seq OWNED BY keep_disks.id;
625 -- Name: keep_services; Type: TABLE; Schema: public; Owner: -; Tablespace:
628 CREATE TABLE keep_services (
630 uuid character varying(255) NOT NULL,
631 owner_uuid character varying(255) NOT NULL,
632 modified_by_client_uuid character varying(255),
633 modified_by_user_uuid character varying(255),
634 modified_at timestamp without time zone,
635 service_host character varying(255),
636 service_port integer,
637 service_ssl_flag boolean,
638 service_type character varying(255),
639 created_at timestamp without time zone NOT NULL,
640 updated_at timestamp without time zone NOT NULL,
641 read_only boolean DEFAULT false NOT NULL
646 -- Name: keep_services_id_seq; Type: SEQUENCE; Schema: public; Owner: -
649 CREATE SEQUENCE keep_services_id_seq
658 -- Name: keep_services_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
661 ALTER SEQUENCE keep_services_id_seq OWNED BY keep_services.id;
665 -- Name: links; Type: TABLE; Schema: public; Owner: -; Tablespace:
670 uuid character varying(255),
671 owner_uuid character varying(255),
672 created_at timestamp without time zone NOT NULL,
673 modified_by_client_uuid character varying(255),
674 modified_by_user_uuid character varying(255),
675 modified_at timestamp without time zone,
676 tail_uuid character varying(255),
677 link_class character varying(255),
678 name character varying(255),
679 head_uuid character varying(255),
681 updated_at timestamp without time zone NOT NULL
686 -- Name: links_id_seq; Type: SEQUENCE; Schema: public; Owner: -
689 CREATE SEQUENCE links_id_seq
698 -- Name: links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
701 ALTER SEQUENCE links_id_seq OWNED BY links.id;
705 -- Name: logs; Type: TABLE; Schema: public; Owner: -; Tablespace:
710 uuid character varying(255),
711 owner_uuid character varying(255),
712 modified_by_client_uuid character varying(255),
713 modified_by_user_uuid character varying(255),
714 object_uuid character varying(255),
715 event_at timestamp without time zone,
716 event_type character varying(255),
719 created_at timestamp without time zone NOT NULL,
720 updated_at timestamp without time zone NOT NULL,
721 modified_at timestamp without time zone,
722 object_owner_uuid character varying(255)
727 -- Name: logs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
730 CREATE SEQUENCE logs_id_seq
739 -- Name: logs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
742 ALTER SEQUENCE logs_id_seq OWNED BY logs.id;
746 -- Name: nodes; Type: TABLE; Schema: public; Owner: -; Tablespace:
751 uuid character varying(255),
752 owner_uuid character varying(255),
753 created_at timestamp without time zone NOT NULL,
754 modified_by_client_uuid character varying(255),
755 modified_by_user_uuid character varying(255),
756 modified_at timestamp without time zone,
758 hostname character varying(255),
759 domain character varying(255),
760 ip_address character varying(255),
761 first_ping_at timestamp without time zone,
762 last_ping_at timestamp without time zone,
764 updated_at timestamp without time zone NOT NULL,
766 job_uuid character varying(255)
771 -- Name: nodes_id_seq; Type: SEQUENCE; Schema: public; Owner: -
774 CREATE SEQUENCE nodes_id_seq
783 -- Name: nodes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
786 ALTER SEQUENCE nodes_id_seq OWNED BY nodes.id;
790 -- Name: pipeline_instances; Type: TABLE; Schema: public; Owner: -; Tablespace:
793 CREATE TABLE pipeline_instances (
795 uuid character varying(255),
796 owner_uuid character varying(255),
797 created_at timestamp without time zone NOT NULL,
798 modified_by_client_uuid character varying(255),
799 modified_by_user_uuid character varying(255),
800 modified_at timestamp without time zone,
801 pipeline_template_uuid character varying(255),
802 name character varying(255),
804 updated_at timestamp without time zone NOT NULL,
806 state character varying(255),
807 components_summary text,
808 started_at timestamp without time zone,
809 finished_at timestamp without time zone,
810 description character varying(524288)
815 -- Name: pipeline_instances_id_seq; Type: SEQUENCE; Schema: public; Owner: -
818 CREATE SEQUENCE pipeline_instances_id_seq
827 -- Name: pipeline_instances_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
830 ALTER SEQUENCE pipeline_instances_id_seq OWNED BY pipeline_instances.id;
834 -- Name: pipeline_templates; Type: TABLE; Schema: public; Owner: -; Tablespace:
837 CREATE TABLE pipeline_templates (
839 uuid character varying(255),
840 owner_uuid character varying(255),
841 created_at timestamp without time zone NOT NULL,
842 modified_by_client_uuid character varying(255),
843 modified_by_user_uuid character varying(255),
844 modified_at timestamp without time zone,
845 name character varying(255),
847 updated_at timestamp without time zone NOT NULL,
848 description character varying(524288)
853 -- Name: pipeline_templates_id_seq; Type: SEQUENCE; Schema: public; Owner: -
856 CREATE SEQUENCE pipeline_templates_id_seq
865 -- Name: pipeline_templates_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
868 ALTER SEQUENCE pipeline_templates_id_seq OWNED BY pipeline_templates.id;
872 -- Name: repositories; Type: TABLE; Schema: public; Owner: -; Tablespace:
875 CREATE TABLE repositories (
877 uuid character varying(255) NOT NULL,
878 owner_uuid character varying(255) 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 name character varying(255),
883 created_at timestamp without time zone NOT NULL,
884 updated_at timestamp without time zone NOT NULL
889 -- Name: repositories_id_seq; Type: SEQUENCE; Schema: public; Owner: -
892 CREATE SEQUENCE repositories_id_seq
901 -- Name: repositories_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
904 ALTER SEQUENCE repositories_id_seq OWNED BY repositories.id;
908 -- Name: schema_migrations; Type: TABLE; Schema: public; Owner: -; Tablespace:
911 CREATE TABLE schema_migrations (
912 version character varying(255) NOT NULL
917 -- Name: specimens; Type: TABLE; Schema: public; Owner: -; Tablespace:
920 CREATE TABLE specimens (
922 uuid character varying(255),
923 owner_uuid character varying(255),
924 created_at timestamp without time zone NOT NULL,
925 modified_by_client_uuid character varying(255),
926 modified_by_user_uuid character varying(255),
927 modified_at timestamp without time zone,
928 material character varying(255),
929 updated_at timestamp without time zone NOT NULL,
935 -- Name: specimens_id_seq; Type: SEQUENCE; Schema: public; Owner: -
938 CREATE SEQUENCE specimens_id_seq
947 -- Name: specimens_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
950 ALTER SEQUENCE specimens_id_seq OWNED BY specimens.id;
954 -- Name: traits; Type: TABLE; Schema: public; Owner: -; Tablespace:
957 CREATE TABLE traits (
959 uuid character varying(255) NOT NULL,
960 owner_uuid character varying(255) NOT NULL,
961 modified_by_client_uuid character varying(255),
962 modified_by_user_uuid character varying(255),
963 modified_at timestamp without time zone,
964 name character varying(255),
966 created_at timestamp without time zone NOT NULL,
967 updated_at timestamp without time zone NOT NULL
972 -- Name: traits_id_seq; Type: SEQUENCE; Schema: public; Owner: -
975 CREATE SEQUENCE traits_id_seq
984 -- Name: traits_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
987 ALTER SEQUENCE traits_id_seq OWNED BY traits.id;
991 -- Name: users; Type: TABLE; Schema: public; Owner: -; Tablespace:
996 uuid character varying(255),
997 owner_uuid character varying(255) NOT NULL,
998 created_at timestamp without time zone NOT NULL,
999 modified_by_client_uuid character varying(255),
1000 modified_by_user_uuid character varying(255),
1001 modified_at timestamp without time zone,
1002 email character varying(255),
1003 first_name character varying(255),
1004 last_name character varying(255),
1005 identity_url character varying(255),
1008 updated_at timestamp without time zone NOT NULL,
1009 default_owner_uuid character varying(255),
1010 is_active boolean DEFAULT false,
1011 username character varying(255)
1016 -- Name: users_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1019 CREATE SEQUENCE users_id_seq
1028 -- Name: users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1031 ALTER SEQUENCE users_id_seq OWNED BY users.id;
1035 -- Name: virtual_machines; Type: TABLE; Schema: public; Owner: -; Tablespace:
1038 CREATE TABLE virtual_machines (
1039 id integer NOT NULL,
1040 uuid character varying(255) NOT NULL,
1041 owner_uuid character varying(255) NOT NULL,
1042 modified_by_client_uuid character varying(255),
1043 modified_by_user_uuid character varying(255),
1044 modified_at timestamp without time zone,
1045 hostname character varying(255),
1046 created_at timestamp without time zone NOT NULL,
1047 updated_at timestamp without time zone NOT NULL
1052 -- Name: virtual_machines_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1055 CREATE SEQUENCE virtual_machines_id_seq
1064 -- Name: virtual_machines_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1067 ALTER SEQUENCE virtual_machines_id_seq OWNED BY virtual_machines.id;
1071 -- Name: workflows; Type: TABLE; Schema: public; Owner: -; Tablespace:
1074 CREATE TABLE workflows (
1075 id integer NOT NULL,
1076 uuid character varying(255),
1077 owner_uuid character varying(255),
1078 created_at timestamp without time zone NOT NULL,
1079 modified_at timestamp without time zone,
1080 modified_by_client_uuid character varying(255),
1081 modified_by_user_uuid character varying(255),
1082 name character varying(255),
1085 updated_at timestamp without time zone NOT NULL
1090 -- Name: workflows_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1093 CREATE SEQUENCE workflows_id_seq
1102 -- Name: workflows_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1105 ALTER SEQUENCE workflows_id_seq OWNED BY workflows.id;
1109 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1112 ALTER TABLE ONLY api_client_authorizations ALTER COLUMN id SET DEFAULT nextval('api_client_authorizations_id_seq'::regclass);
1116 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1119 ALTER TABLE ONLY api_clients ALTER COLUMN id SET DEFAULT nextval('api_clients_id_seq'::regclass);
1123 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1126 ALTER TABLE ONLY authorized_keys ALTER COLUMN id SET DEFAULT nextval('authorized_keys_id_seq'::regclass);
1130 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1133 ALTER TABLE ONLY collections ALTER COLUMN id SET DEFAULT nextval('collections_id_seq'::regclass);
1137 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1140 ALTER TABLE ONLY commit_ancestors ALTER COLUMN id SET DEFAULT nextval('commit_ancestors_id_seq'::regclass);
1144 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1147 ALTER TABLE ONLY commits ALTER COLUMN id SET DEFAULT nextval('commits_id_seq'::regclass);
1151 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1154 ALTER TABLE ONLY container_requests ALTER COLUMN id SET DEFAULT nextval('container_requests_id_seq'::regclass);
1158 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1161 ALTER TABLE ONLY containers ALTER COLUMN id SET DEFAULT nextval('containers_id_seq'::regclass);
1165 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1168 ALTER TABLE ONLY groups ALTER COLUMN id SET DEFAULT nextval('groups_id_seq'::regclass);
1172 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1175 ALTER TABLE ONLY humans ALTER COLUMN id SET DEFAULT nextval('humans_id_seq'::regclass);
1179 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1182 ALTER TABLE ONLY job_tasks ALTER COLUMN id SET DEFAULT nextval('job_tasks_id_seq'::regclass);
1186 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1189 ALTER TABLE ONLY jobs ALTER COLUMN id SET DEFAULT nextval('jobs_id_seq'::regclass);
1193 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1196 ALTER TABLE ONLY keep_disks ALTER COLUMN id SET DEFAULT nextval('keep_disks_id_seq'::regclass);
1200 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1203 ALTER TABLE ONLY keep_services ALTER COLUMN id SET DEFAULT nextval('keep_services_id_seq'::regclass);
1207 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1210 ALTER TABLE ONLY links ALTER COLUMN id SET DEFAULT nextval('links_id_seq'::regclass);
1214 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1217 ALTER TABLE ONLY logs ALTER COLUMN id SET DEFAULT nextval('logs_id_seq'::regclass);
1221 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1224 ALTER TABLE ONLY nodes ALTER COLUMN id SET DEFAULT nextval('nodes_id_seq'::regclass);
1228 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1231 ALTER TABLE ONLY pipeline_instances ALTER COLUMN id SET DEFAULT nextval('pipeline_instances_id_seq'::regclass);
1235 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1238 ALTER TABLE ONLY pipeline_templates ALTER COLUMN id SET DEFAULT nextval('pipeline_templates_id_seq'::regclass);
1242 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1245 ALTER TABLE ONLY repositories ALTER COLUMN id SET DEFAULT nextval('repositories_id_seq'::regclass);
1249 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1252 ALTER TABLE ONLY specimens ALTER COLUMN id SET DEFAULT nextval('specimens_id_seq'::regclass);
1256 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1259 ALTER TABLE ONLY traits ALTER COLUMN id SET DEFAULT nextval('traits_id_seq'::regclass);
1263 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1266 ALTER TABLE ONLY users ALTER COLUMN id SET DEFAULT nextval('users_id_seq'::regclass);
1270 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1273 ALTER TABLE ONLY virtual_machines ALTER COLUMN id SET DEFAULT nextval('virtual_machines_id_seq'::regclass);
1277 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1280 ALTER TABLE ONLY workflows ALTER COLUMN id SET DEFAULT nextval('workflows_id_seq'::regclass);
1284 -- Name: api_client_authorizations_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1287 ALTER TABLE ONLY api_client_authorizations
1288 ADD CONSTRAINT api_client_authorizations_pkey PRIMARY KEY (id);
1292 -- Name: api_clients_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1295 ALTER TABLE ONLY api_clients
1296 ADD CONSTRAINT api_clients_pkey PRIMARY KEY (id);
1300 -- Name: authorized_keys_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1303 ALTER TABLE ONLY authorized_keys
1304 ADD CONSTRAINT authorized_keys_pkey PRIMARY KEY (id);
1308 -- Name: collections_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1311 ALTER TABLE ONLY collections
1312 ADD CONSTRAINT collections_pkey PRIMARY KEY (id);
1316 -- Name: commit_ancestors_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1319 ALTER TABLE ONLY commit_ancestors
1320 ADD CONSTRAINT commit_ancestors_pkey PRIMARY KEY (id);
1324 -- Name: commits_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1327 ALTER TABLE ONLY commits
1328 ADD CONSTRAINT commits_pkey PRIMARY KEY (id);
1332 -- Name: container_requests_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1335 ALTER TABLE ONLY container_requests
1336 ADD CONSTRAINT container_requests_pkey PRIMARY KEY (id);
1340 -- Name: containers_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1343 ALTER TABLE ONLY containers
1344 ADD CONSTRAINT containers_pkey PRIMARY KEY (id);
1348 -- Name: groups_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1351 ALTER TABLE ONLY groups
1352 ADD CONSTRAINT groups_pkey PRIMARY KEY (id);
1356 -- Name: humans_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1359 ALTER TABLE ONLY humans
1360 ADD CONSTRAINT humans_pkey PRIMARY KEY (id);
1364 -- Name: job_tasks_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1367 ALTER TABLE ONLY job_tasks
1368 ADD CONSTRAINT job_tasks_pkey PRIMARY KEY (id);
1372 -- Name: jobs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1375 ALTER TABLE ONLY jobs
1376 ADD CONSTRAINT jobs_pkey PRIMARY KEY (id);
1380 -- Name: keep_disks_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1383 ALTER TABLE ONLY keep_disks
1384 ADD CONSTRAINT keep_disks_pkey PRIMARY KEY (id);
1388 -- Name: keep_services_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1391 ALTER TABLE ONLY keep_services
1392 ADD CONSTRAINT keep_services_pkey PRIMARY KEY (id);
1396 -- Name: links_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1399 ALTER TABLE ONLY links
1400 ADD CONSTRAINT links_pkey PRIMARY KEY (id);
1404 -- Name: logs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1407 ALTER TABLE ONLY logs
1408 ADD CONSTRAINT logs_pkey PRIMARY KEY (id);
1412 -- Name: nodes_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1415 ALTER TABLE ONLY nodes
1416 ADD CONSTRAINT nodes_pkey PRIMARY KEY (id);
1420 -- Name: pipeline_instances_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1423 ALTER TABLE ONLY pipeline_instances
1424 ADD CONSTRAINT pipeline_instances_pkey PRIMARY KEY (id);
1428 -- Name: pipeline_templates_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1431 ALTER TABLE ONLY pipeline_templates
1432 ADD CONSTRAINT pipeline_templates_pkey PRIMARY KEY (id);
1436 -- Name: repositories_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1439 ALTER TABLE ONLY repositories
1440 ADD CONSTRAINT repositories_pkey PRIMARY KEY (id);
1444 -- Name: specimens_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1447 ALTER TABLE ONLY specimens
1448 ADD CONSTRAINT specimens_pkey PRIMARY KEY (id);
1452 -- Name: traits_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1455 ALTER TABLE ONLY traits
1456 ADD CONSTRAINT traits_pkey PRIMARY KEY (id);
1460 -- Name: users_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1463 ALTER TABLE ONLY users
1464 ADD CONSTRAINT users_pkey PRIMARY KEY (id);
1468 -- Name: virtual_machines_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1471 ALTER TABLE ONLY virtual_machines
1472 ADD CONSTRAINT virtual_machines_pkey PRIMARY KEY (id);
1476 -- Name: workflows_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1479 ALTER TABLE ONLY workflows
1480 ADD CONSTRAINT workflows_pkey PRIMARY KEY (id);
1484 -- Name: api_client_authorizations_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1487 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, uuid);
1491 -- Name: api_clients_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1494 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);
1498 -- Name: authorized_keys_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1501 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);
1505 -- Name: collections_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
1508 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)));
1512 -- Name: collections_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1515 CREATE INDEX collections_search_index ON collections USING btree (owner_uuid, modified_by_client_uuid, modified_by_user_uuid, portable_data_hash, uuid, name);
1519 -- Name: container_requests_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
1522 CREATE INDEX container_requests_full_text_search_idx ON container_requests 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, ''::text)) || ' '::text) || COALESCE(properties, ''::text)) || ' '::text) || (COALESCE(state, ''::character varying))::text) || ' '::text) || (COALESCE(requesting_container_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(container_uuid, ''::character varying))::text) || ' '::text) || COALESCE(runtime_constraints, ''::text)) || ' '::text) || (COALESCE(container_image, ''::character varying))::text) || ' '::text) || COALESCE(environment, ''::text)) || ' '::text) || (COALESCE(cwd, ''::character varying))::text) || ' '::text) || COALESCE(command, ''::text)) || ' '::text) || (COALESCE(output_path, ''::character varying))::text) || ' '::text) || COALESCE(filters, ''::text)) || ' '::text) || COALESCE(scheduling_parameters, ''::text)) || ' '::text) || (COALESCE(output_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(log_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(output_name, ''::character varying))::text)));
1526 -- Name: container_requests_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1529 CREATE INDEX container_requests_search_index ON container_requests USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name, state, requesting_container_uuid, container_uuid, container_image, cwd, output_path, output_uuid, log_uuid, output_name);
1533 -- Name: containers_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1536 CREATE INDEX containers_search_index ON containers USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, state, log, cwd, output_path, output, container_image, auth_uuid, locked_by_uuid);
1540 -- Name: groups_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
1543 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)));
1547 -- Name: groups_owner_uuid_name_unique; Type: INDEX; Schema: public; Owner: -; Tablespace:
1550 CREATE UNIQUE INDEX groups_owner_uuid_name_unique ON groups USING btree (owner_uuid, name);
1554 -- Name: groups_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1557 CREATE INDEX groups_search_index ON groups USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name, group_class);
1561 -- Name: humans_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1564 CREATE INDEX humans_search_index ON humans USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid);
1568 -- Name: index_api_client_authorizations_on_api_client_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
1571 CREATE INDEX index_api_client_authorizations_on_api_client_id ON api_client_authorizations USING btree (api_client_id);
1575 -- Name: index_api_client_authorizations_on_api_token; Type: INDEX; Schema: public; Owner: -; Tablespace:
1578 CREATE UNIQUE INDEX index_api_client_authorizations_on_api_token ON api_client_authorizations USING btree (api_token);
1582 -- Name: index_api_client_authorizations_on_expires_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1585 CREATE INDEX index_api_client_authorizations_on_expires_at ON api_client_authorizations USING btree (expires_at);
1589 -- Name: index_api_client_authorizations_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
1592 CREATE INDEX index_api_client_authorizations_on_user_id ON api_client_authorizations USING btree (user_id);
1596 -- Name: index_api_client_authorizations_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1599 CREATE UNIQUE INDEX index_api_client_authorizations_on_uuid ON api_client_authorizations USING btree (uuid);
1603 -- Name: index_api_clients_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1606 CREATE INDEX index_api_clients_on_created_at ON api_clients USING btree (created_at);
1610 -- Name: index_api_clients_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1613 CREATE INDEX index_api_clients_on_modified_at ON api_clients USING btree (modified_at);
1617 -- Name: index_api_clients_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1620 CREATE INDEX index_api_clients_on_owner_uuid ON api_clients USING btree (owner_uuid);
1624 -- Name: index_api_clients_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1627 CREATE UNIQUE INDEX index_api_clients_on_uuid ON api_clients USING btree (uuid);
1631 -- Name: index_authkeys_on_user_and_expires_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1634 CREATE INDEX index_authkeys_on_user_and_expires_at ON authorized_keys USING btree (authorized_user_uuid, expires_at);
1638 -- Name: index_authorized_keys_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1641 CREATE INDEX index_authorized_keys_on_owner_uuid ON authorized_keys USING btree (owner_uuid);
1645 -- Name: index_authorized_keys_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1648 CREATE UNIQUE INDEX index_authorized_keys_on_uuid ON authorized_keys USING btree (uuid);
1652 -- Name: index_collections_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1655 CREATE INDEX index_collections_on_created_at ON collections USING btree (created_at);
1659 -- Name: index_collections_on_delete_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1662 CREATE INDEX index_collections_on_delete_at ON collections USING btree (delete_at);
1666 -- Name: index_collections_on_is_trashed; Type: INDEX; Schema: public; Owner: -; Tablespace:
1669 CREATE INDEX index_collections_on_is_trashed ON collections USING btree (is_trashed);
1673 -- Name: index_collections_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1676 CREATE INDEX index_collections_on_modified_at ON collections USING btree (modified_at);
1680 -- Name: index_collections_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1683 CREATE INDEX index_collections_on_owner_uuid ON collections USING btree (owner_uuid);
1687 -- Name: index_collections_on_owner_uuid_and_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
1690 CREATE UNIQUE INDEX index_collections_on_owner_uuid_and_name ON collections USING btree (owner_uuid, name) WHERE (is_trashed = false);
1694 -- Name: index_collections_on_portable_data_hash; Type: INDEX; Schema: public; Owner: -; Tablespace:
1697 CREATE INDEX index_collections_on_portable_data_hash ON collections USING btree (portable_data_hash);
1701 -- Name: index_collections_on_trash_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1704 CREATE INDEX index_collections_on_trash_at ON collections USING btree (trash_at);
1708 -- Name: index_collections_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1711 CREATE UNIQUE INDEX index_collections_on_uuid ON collections USING btree (uuid);
1715 -- Name: index_commit_ancestors_on_descendant_and_ancestor; Type: INDEX; Schema: public; Owner: -; Tablespace:
1718 CREATE UNIQUE INDEX index_commit_ancestors_on_descendant_and_ancestor ON commit_ancestors USING btree (descendant, ancestor);
1722 -- Name: index_commits_on_repository_name_and_sha1; Type: INDEX; Schema: public; Owner: -; Tablespace:
1725 CREATE UNIQUE INDEX index_commits_on_repository_name_and_sha1 ON commits USING btree (repository_name, sha1);
1729 -- Name: index_container_requests_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1732 CREATE INDEX index_container_requests_on_owner_uuid ON container_requests USING btree (owner_uuid);
1736 -- Name: index_container_requests_on_requesting_container_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1739 CREATE INDEX index_container_requests_on_requesting_container_uuid ON container_requests USING btree (requesting_container_uuid);
1743 -- Name: index_container_requests_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1746 CREATE UNIQUE INDEX index_container_requests_on_uuid ON container_requests USING btree (uuid);
1750 -- Name: index_containers_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1753 CREATE INDEX index_containers_on_owner_uuid ON containers USING btree (owner_uuid);
1757 -- Name: index_containers_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1760 CREATE UNIQUE INDEX index_containers_on_uuid ON containers USING btree (uuid);
1764 -- Name: index_groups_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1767 CREATE INDEX index_groups_on_created_at ON groups USING btree (created_at);
1771 -- Name: index_groups_on_group_class; Type: INDEX; Schema: public; Owner: -; Tablespace:
1774 CREATE INDEX index_groups_on_group_class ON groups USING btree (group_class);
1778 -- Name: index_groups_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1781 CREATE INDEX index_groups_on_modified_at ON groups USING btree (modified_at);
1785 -- Name: index_groups_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1788 CREATE INDEX index_groups_on_owner_uuid ON groups USING btree (owner_uuid);
1792 -- Name: index_groups_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1795 CREATE UNIQUE INDEX index_groups_on_uuid ON groups USING btree (uuid);
1799 -- Name: index_humans_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1802 CREATE INDEX index_humans_on_owner_uuid ON humans USING btree (owner_uuid);
1806 -- Name: index_humans_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1809 CREATE UNIQUE INDEX index_humans_on_uuid ON humans USING btree (uuid);
1813 -- Name: index_job_tasks_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1816 CREATE INDEX index_job_tasks_on_created_at ON job_tasks USING btree (created_at);
1820 -- Name: index_job_tasks_on_created_by_job_task_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1823 CREATE INDEX index_job_tasks_on_created_by_job_task_uuid ON job_tasks USING btree (created_by_job_task_uuid);
1827 -- Name: index_job_tasks_on_job_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1830 CREATE INDEX index_job_tasks_on_job_uuid ON job_tasks USING btree (job_uuid);
1834 -- Name: index_job_tasks_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1837 CREATE INDEX index_job_tasks_on_modified_at ON job_tasks USING btree (modified_at);
1841 -- Name: index_job_tasks_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1844 CREATE INDEX index_job_tasks_on_owner_uuid ON job_tasks USING btree (owner_uuid);
1848 -- Name: index_job_tasks_on_sequence; Type: INDEX; Schema: public; Owner: -; Tablespace:
1851 CREATE INDEX index_job_tasks_on_sequence ON job_tasks USING btree (sequence);
1855 -- Name: index_job_tasks_on_success; Type: INDEX; Schema: public; Owner: -; Tablespace:
1858 CREATE INDEX index_job_tasks_on_success ON job_tasks USING btree (success);
1862 -- Name: index_job_tasks_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1865 CREATE UNIQUE INDEX index_job_tasks_on_uuid ON job_tasks USING btree (uuid);
1869 -- Name: index_jobs_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1872 CREATE INDEX index_jobs_on_created_at ON jobs USING btree (created_at);
1876 -- Name: index_jobs_on_finished_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1879 CREATE INDEX index_jobs_on_finished_at ON jobs USING btree (finished_at);
1883 -- Name: index_jobs_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1886 CREATE INDEX index_jobs_on_modified_at ON jobs USING btree (modified_at);
1890 -- Name: index_jobs_on_output; Type: INDEX; Schema: public; Owner: -; Tablespace:
1893 CREATE INDEX index_jobs_on_output ON jobs USING btree (output);
1897 -- Name: index_jobs_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1900 CREATE INDEX index_jobs_on_owner_uuid ON jobs USING btree (owner_uuid);
1904 -- Name: index_jobs_on_script; Type: INDEX; Schema: public; Owner: -; Tablespace:
1907 CREATE INDEX index_jobs_on_script ON jobs USING btree (script);
1911 -- Name: index_jobs_on_script_parameters_digest; Type: INDEX; Schema: public; Owner: -; Tablespace:
1914 CREATE INDEX index_jobs_on_script_parameters_digest ON jobs USING btree (script_parameters_digest);
1918 -- Name: index_jobs_on_started_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1921 CREATE INDEX index_jobs_on_started_at ON jobs USING btree (started_at);
1925 -- Name: index_jobs_on_submit_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
1928 CREATE UNIQUE INDEX index_jobs_on_submit_id ON jobs USING btree (submit_id);
1932 -- Name: index_jobs_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1935 CREATE UNIQUE INDEX index_jobs_on_uuid ON jobs USING btree (uuid);
1939 -- Name: index_keep_disks_on_filesystem_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1942 CREATE INDEX index_keep_disks_on_filesystem_uuid ON keep_disks USING btree (filesystem_uuid);
1946 -- Name: index_keep_disks_on_last_ping_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1949 CREATE INDEX index_keep_disks_on_last_ping_at ON keep_disks USING btree (last_ping_at);
1953 -- Name: index_keep_disks_on_node_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1956 CREATE INDEX index_keep_disks_on_node_uuid ON keep_disks USING btree (node_uuid);
1960 -- Name: index_keep_disks_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1963 CREATE INDEX index_keep_disks_on_owner_uuid ON keep_disks USING btree (owner_uuid);
1967 -- Name: index_keep_disks_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1970 CREATE UNIQUE INDEX index_keep_disks_on_uuid ON keep_disks USING btree (uuid);
1974 -- Name: index_keep_services_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1977 CREATE INDEX index_keep_services_on_owner_uuid ON keep_services USING btree (owner_uuid);
1981 -- Name: index_keep_services_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1984 CREATE UNIQUE INDEX index_keep_services_on_uuid ON keep_services USING btree (uuid);
1988 -- Name: index_links_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1991 CREATE INDEX index_links_on_created_at ON links USING btree (created_at);
1995 -- Name: index_links_on_head_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1998 CREATE INDEX index_links_on_head_uuid ON links USING btree (head_uuid);
2002 -- Name: index_links_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2005 CREATE INDEX index_links_on_modified_at ON links USING btree (modified_at);
2009 -- Name: index_links_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2012 CREATE INDEX index_links_on_owner_uuid ON links USING btree (owner_uuid);
2016 -- Name: index_links_on_tail_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2019 CREATE INDEX index_links_on_tail_uuid ON links USING btree (tail_uuid);
2023 -- Name: index_links_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2026 CREATE UNIQUE INDEX index_links_on_uuid ON links USING btree (uuid);
2030 -- Name: index_logs_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2033 CREATE INDEX index_logs_on_created_at ON logs USING btree (created_at);
2037 -- Name: index_logs_on_event_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2040 CREATE INDEX index_logs_on_event_at ON logs USING btree (event_at);
2044 -- Name: index_logs_on_event_type; Type: INDEX; Schema: public; Owner: -; Tablespace:
2047 CREATE INDEX index_logs_on_event_type ON logs USING btree (event_type);
2051 -- Name: index_logs_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2054 CREATE INDEX index_logs_on_modified_at ON logs USING btree (modified_at);
2058 -- Name: index_logs_on_object_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2061 CREATE INDEX index_logs_on_object_owner_uuid ON logs USING btree (object_owner_uuid);
2065 -- Name: index_logs_on_object_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2068 CREATE INDEX index_logs_on_object_uuid ON logs USING btree (object_uuid);
2072 -- Name: index_logs_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2075 CREATE INDEX index_logs_on_owner_uuid ON logs USING btree (owner_uuid);
2079 -- Name: index_logs_on_summary; Type: INDEX; Schema: public; Owner: -; Tablespace:
2082 CREATE INDEX index_logs_on_summary ON logs USING btree (summary);
2086 -- Name: index_logs_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2089 CREATE UNIQUE INDEX index_logs_on_uuid ON logs USING btree (uuid);
2093 -- Name: index_nodes_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2096 CREATE INDEX index_nodes_on_created_at ON nodes USING btree (created_at);
2100 -- Name: index_nodes_on_hostname; Type: INDEX; Schema: public; Owner: -; Tablespace:
2103 CREATE INDEX index_nodes_on_hostname ON nodes USING btree (hostname);
2107 -- Name: index_nodes_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2110 CREATE INDEX index_nodes_on_modified_at ON nodes USING btree (modified_at);
2114 -- Name: index_nodes_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2117 CREATE INDEX index_nodes_on_owner_uuid ON nodes USING btree (owner_uuid);
2121 -- Name: index_nodes_on_slot_number; Type: INDEX; Schema: public; Owner: -; Tablespace:
2124 CREATE UNIQUE INDEX index_nodes_on_slot_number ON nodes USING btree (slot_number);
2128 -- Name: index_nodes_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2131 CREATE UNIQUE INDEX index_nodes_on_uuid ON nodes USING btree (uuid);
2135 -- Name: index_pipeline_instances_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2138 CREATE INDEX index_pipeline_instances_on_created_at ON pipeline_instances USING btree (created_at);
2142 -- Name: index_pipeline_instances_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2145 CREATE INDEX index_pipeline_instances_on_modified_at ON pipeline_instances USING btree (modified_at);
2149 -- Name: index_pipeline_instances_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2152 CREATE INDEX index_pipeline_instances_on_owner_uuid ON pipeline_instances USING btree (owner_uuid);
2156 -- Name: index_pipeline_instances_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2159 CREATE UNIQUE INDEX index_pipeline_instances_on_uuid ON pipeline_instances USING btree (uuid);
2163 -- Name: index_pipeline_templates_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2166 CREATE INDEX index_pipeline_templates_on_created_at ON pipeline_templates USING btree (created_at);
2170 -- Name: index_pipeline_templates_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2173 CREATE INDEX index_pipeline_templates_on_modified_at ON pipeline_templates USING btree (modified_at);
2177 -- Name: index_pipeline_templates_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2180 CREATE INDEX index_pipeline_templates_on_owner_uuid ON pipeline_templates USING btree (owner_uuid);
2184 -- Name: index_pipeline_templates_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2187 CREATE UNIQUE INDEX index_pipeline_templates_on_uuid ON pipeline_templates USING btree (uuid);
2191 -- Name: index_repositories_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
2194 CREATE UNIQUE INDEX index_repositories_on_name ON repositories USING btree (name);
2198 -- Name: index_repositories_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2201 CREATE INDEX index_repositories_on_owner_uuid ON repositories USING btree (owner_uuid);
2205 -- Name: index_repositories_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2208 CREATE UNIQUE INDEX index_repositories_on_uuid ON repositories USING btree (uuid);
2212 -- Name: index_specimens_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2215 CREATE INDEX index_specimens_on_created_at ON specimens USING btree (created_at);
2219 -- Name: index_specimens_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2222 CREATE INDEX index_specimens_on_modified_at ON specimens USING btree (modified_at);
2226 -- Name: index_specimens_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2229 CREATE INDEX index_specimens_on_owner_uuid ON specimens USING btree (owner_uuid);
2233 -- Name: index_specimens_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2236 CREATE UNIQUE INDEX index_specimens_on_uuid ON specimens USING btree (uuid);
2240 -- Name: index_traits_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
2243 CREATE INDEX index_traits_on_name ON traits USING btree (name);
2247 -- Name: index_traits_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2250 CREATE INDEX index_traits_on_owner_uuid ON traits USING btree (owner_uuid);
2254 -- Name: index_traits_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2257 CREATE UNIQUE INDEX index_traits_on_uuid ON traits USING btree (uuid);
2261 -- Name: index_users_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2264 CREATE INDEX index_users_on_created_at ON users USING btree (created_at);
2268 -- Name: index_users_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2271 CREATE INDEX index_users_on_modified_at ON users USING btree (modified_at);
2275 -- Name: index_users_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2278 CREATE INDEX index_users_on_owner_uuid ON users USING btree (owner_uuid);
2282 -- Name: index_users_on_username; Type: INDEX; Schema: public; Owner: -; Tablespace:
2285 CREATE UNIQUE INDEX index_users_on_username ON users USING btree (username);
2289 -- Name: index_users_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2292 CREATE UNIQUE INDEX index_users_on_uuid ON users USING btree (uuid);
2296 -- Name: index_virtual_machines_on_hostname; Type: INDEX; Schema: public; Owner: -; Tablespace:
2299 CREATE INDEX index_virtual_machines_on_hostname ON virtual_machines USING btree (hostname);
2303 -- Name: index_virtual_machines_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2306 CREATE INDEX index_virtual_machines_on_owner_uuid ON virtual_machines USING btree (owner_uuid);
2310 -- Name: index_virtual_machines_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2313 CREATE UNIQUE INDEX index_virtual_machines_on_uuid ON virtual_machines USING btree (uuid);
2317 -- Name: index_workflows_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2320 CREATE INDEX index_workflows_on_owner_uuid ON workflows USING btree (owner_uuid);
2324 -- Name: index_workflows_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2327 CREATE UNIQUE INDEX index_workflows_on_uuid ON workflows USING btree (uuid);
2331 -- Name: job_tasks_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2334 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);
2338 -- Name: jobs_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
2341 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) || ' '::text) || COALESCE(components, ''::text))));
2345 -- Name: jobs_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2348 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);
2352 -- Name: keep_disks_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2355 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);
2359 -- Name: keep_services_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2362 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);
2366 -- Name: links_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2369 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);
2373 -- Name: links_tail_name_unique_if_link_class_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
2376 CREATE UNIQUE INDEX links_tail_name_unique_if_link_class_name ON links USING btree (tail_uuid, name) WHERE ((link_class)::text = 'name'::text);
2380 -- Name: logs_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2383 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);
2387 -- Name: nodes_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2390 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);
2394 -- Name: pipeline_instances_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
2397 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)));
2401 -- Name: pipeline_instances_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2404 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);
2408 -- Name: pipeline_template_owner_uuid_name_unique; Type: INDEX; Schema: public; Owner: -; Tablespace:
2411 CREATE UNIQUE INDEX pipeline_template_owner_uuid_name_unique ON pipeline_templates USING btree (owner_uuid, name);
2415 -- Name: pipeline_templates_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
2418 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)));
2422 -- Name: pipeline_templates_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2425 CREATE INDEX pipeline_templates_search_index ON pipeline_templates USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2429 -- Name: repositories_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2432 CREATE INDEX repositories_search_index ON repositories USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2436 -- Name: specimens_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2439 CREATE INDEX specimens_search_index ON specimens USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, material);
2443 -- Name: traits_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2446 CREATE INDEX traits_search_index ON traits USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2450 -- Name: unique_schema_migrations; Type: INDEX; Schema: public; Owner: -; Tablespace:
2453 CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations USING btree (version);
2457 -- Name: users_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2460 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);
2464 -- Name: virtual_machines_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2467 CREATE INDEX virtual_machines_search_index ON virtual_machines USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, hostname);
2471 -- Name: workflows_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
2474 CREATE INDEX workflows_full_text_search_idx ON workflows 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, ''::text))));
2478 -- Name: workflows_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
2481 CREATE INDEX workflows_search_idx ON workflows USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2485 -- PostgreSQL database dump complete
2488 SET search_path TO "$user",public;
2490 INSERT INTO schema_migrations (version) VALUES ('20121016005009');
2492 INSERT INTO schema_migrations (version) VALUES ('20130105203021');
2494 INSERT INTO schema_migrations (version) VALUES ('20130105224358');
2496 INSERT INTO schema_migrations (version) VALUES ('20130105224618');
2498 INSERT INTO schema_migrations (version) VALUES ('20130107181109');
2500 INSERT INTO schema_migrations (version) VALUES ('20130107212832');
2502 INSERT INTO schema_migrations (version) VALUES ('20130109175700');
2504 INSERT INTO schema_migrations (version) VALUES ('20130109220548');
2506 INSERT INTO schema_migrations (version) VALUES ('20130113214204');
2508 INSERT INTO schema_migrations (version) VALUES ('20130116024233');
2510 INSERT INTO schema_migrations (version) VALUES ('20130116215213');
2512 INSERT INTO schema_migrations (version) VALUES ('20130118002239');
2514 INSERT INTO schema_migrations (version) VALUES ('20130122020042');
2516 INSERT INTO schema_migrations (version) VALUES ('20130122201442');
2518 INSERT INTO schema_migrations (version) VALUES ('20130122221616');
2520 INSERT INTO schema_migrations (version) VALUES ('20130123174514');
2522 INSERT INTO schema_migrations (version) VALUES ('20130123180224');
2524 INSERT INTO schema_migrations (version) VALUES ('20130123180228');
2526 INSERT INTO schema_migrations (version) VALUES ('20130125220425');
2528 INSERT INTO schema_migrations (version) VALUES ('20130128202518');
2530 INSERT INTO schema_migrations (version) VALUES ('20130128231343');
2532 INSERT INTO schema_migrations (version) VALUES ('20130130205749');
2534 INSERT INTO schema_migrations (version) VALUES ('20130203104818');
2536 INSERT INTO schema_migrations (version) VALUES ('20130203104824');
2538 INSERT INTO schema_migrations (version) VALUES ('20130203115329');
2540 INSERT INTO schema_migrations (version) VALUES ('20130207195855');
2542 INSERT INTO schema_migrations (version) VALUES ('20130218181504');
2544 INSERT INTO schema_migrations (version) VALUES ('20130226170000');
2546 INSERT INTO schema_migrations (version) VALUES ('20130313175417');
2548 INSERT INTO schema_migrations (version) VALUES ('20130315155820');
2550 INSERT INTO schema_migrations (version) VALUES ('20130315183626');
2552 INSERT INTO schema_migrations (version) VALUES ('20130315213205');
2554 INSERT INTO schema_migrations (version) VALUES ('20130318002138');
2556 INSERT INTO schema_migrations (version) VALUES ('20130319165853');
2558 INSERT INTO schema_migrations (version) VALUES ('20130319180730');
2560 INSERT INTO schema_migrations (version) VALUES ('20130319194637');
2562 INSERT INTO schema_migrations (version) VALUES ('20130319201431');
2564 INSERT INTO schema_migrations (version) VALUES ('20130319235957');
2566 INSERT INTO schema_migrations (version) VALUES ('20130320000107');
2568 INSERT INTO schema_migrations (version) VALUES ('20130326173804');
2570 INSERT INTO schema_migrations (version) VALUES ('20130326182917');
2572 INSERT INTO schema_migrations (version) VALUES ('20130415020241');
2574 INSERT INTO schema_migrations (version) VALUES ('20130425024459');
2576 INSERT INTO schema_migrations (version) VALUES ('20130425214427');
2578 INSERT INTO schema_migrations (version) VALUES ('20130523060112');
2580 INSERT INTO schema_migrations (version) VALUES ('20130523060213');
2582 INSERT INTO schema_migrations (version) VALUES ('20130524042319');
2584 INSERT INTO schema_migrations (version) VALUES ('20130528134100');
2586 INSERT INTO schema_migrations (version) VALUES ('20130606183519');
2588 INSERT INTO schema_migrations (version) VALUES ('20130608053730');
2590 INSERT INTO schema_migrations (version) VALUES ('20130610202538');
2592 INSERT INTO schema_migrations (version) VALUES ('20130611163736');
2594 INSERT INTO schema_migrations (version) VALUES ('20130612042554');
2596 INSERT INTO schema_migrations (version) VALUES ('20130617150007');
2598 INSERT INTO schema_migrations (version) VALUES ('20130626002829');
2600 INSERT INTO schema_migrations (version) VALUES ('20130626022810');
2602 INSERT INTO schema_migrations (version) VALUES ('20130627154537');
2604 INSERT INTO schema_migrations (version) VALUES ('20130627184333');
2606 INSERT INTO schema_migrations (version) VALUES ('20130708163414');
2608 INSERT INTO schema_migrations (version) VALUES ('20130708182912');
2610 INSERT INTO schema_migrations (version) VALUES ('20130708185153');
2612 INSERT INTO schema_migrations (version) VALUES ('20130724153034');
2614 INSERT INTO schema_migrations (version) VALUES ('20131007180607');
2616 INSERT INTO schema_migrations (version) VALUES ('20140117231056');
2618 INSERT INTO schema_migrations (version) VALUES ('20140124222114');
2620 INSERT INTO schema_migrations (version) VALUES ('20140129184311');
2622 INSERT INTO schema_migrations (version) VALUES ('20140317135600');
2624 INSERT INTO schema_migrations (version) VALUES ('20140319160547');
2626 INSERT INTO schema_migrations (version) VALUES ('20140321191343');
2628 INSERT INTO schema_migrations (version) VALUES ('20140324024606');
2630 INSERT INTO schema_migrations (version) VALUES ('20140325175653');
2632 INSERT INTO schema_migrations (version) VALUES ('20140402001908');
2634 INSERT INTO schema_migrations (version) VALUES ('20140407184311');
2636 INSERT INTO schema_migrations (version) VALUES ('20140421140924');
2638 INSERT INTO schema_migrations (version) VALUES ('20140421151939');
2640 INSERT INTO schema_migrations (version) VALUES ('20140421151940');
2642 INSERT INTO schema_migrations (version) VALUES ('20140422011506');
2644 INSERT INTO schema_migrations (version) VALUES ('20140423132913');
2646 INSERT INTO schema_migrations (version) VALUES ('20140423133559');
2648 INSERT INTO schema_migrations (version) VALUES ('20140501165548');
2650 INSERT INTO schema_migrations (version) VALUES ('20140519205916');
2652 INSERT INTO schema_migrations (version) VALUES ('20140527152921');
2654 INSERT INTO schema_migrations (version) VALUES ('20140530200539');
2656 INSERT INTO schema_migrations (version) VALUES ('20140601022548');
2658 INSERT INTO schema_migrations (version) VALUES ('20140602143352');
2660 INSERT INTO schema_migrations (version) VALUES ('20140607150616');
2662 INSERT INTO schema_migrations (version) VALUES ('20140611173003');
2664 INSERT INTO schema_migrations (version) VALUES ('20140627210837');
2666 INSERT INTO schema_migrations (version) VALUES ('20140709172343');
2668 INSERT INTO schema_migrations (version) VALUES ('20140714184006');
2670 INSERT INTO schema_migrations (version) VALUES ('20140811184643');
2672 INSERT INTO schema_migrations (version) VALUES ('20140817035914');
2674 INSERT INTO schema_migrations (version) VALUES ('20140818125735');
2676 INSERT INTO schema_migrations (version) VALUES ('20140826180337');
2678 INSERT INTO schema_migrations (version) VALUES ('20140828141043');
2680 INSERT INTO schema_migrations (version) VALUES ('20140909183946');
2682 INSERT INTO schema_migrations (version) VALUES ('20140911221252');
2684 INSERT INTO schema_migrations (version) VALUES ('20140918141529');
2686 INSERT INTO schema_migrations (version) VALUES ('20140918153541');
2688 INSERT INTO schema_migrations (version) VALUES ('20140918153705');
2690 INSERT INTO schema_migrations (version) VALUES ('20140924091559');
2692 INSERT INTO schema_migrations (version) VALUES ('20141111133038');
2694 INSERT INTO schema_migrations (version) VALUES ('20141208164553');
2696 INSERT INTO schema_migrations (version) VALUES ('20141208174553');
2698 INSERT INTO schema_migrations (version) VALUES ('20141208174653');
2700 INSERT INTO schema_migrations (version) VALUES ('20141208185217');
2702 INSERT INTO schema_migrations (version) VALUES ('20150122175935');
2704 INSERT INTO schema_migrations (version) VALUES ('20150123142953');
2706 INSERT INTO schema_migrations (version) VALUES ('20150203180223');
2708 INSERT INTO schema_migrations (version) VALUES ('20150206210804');
2710 INSERT INTO schema_migrations (version) VALUES ('20150206230342');
2712 INSERT INTO schema_migrations (version) VALUES ('20150216193428');
2714 INSERT INTO schema_migrations (version) VALUES ('20150303210106');
2716 INSERT INTO schema_migrations (version) VALUES ('20150312151136');
2718 INSERT INTO schema_migrations (version) VALUES ('20150317132720');
2720 INSERT INTO schema_migrations (version) VALUES ('20150324152204');
2722 INSERT INTO schema_migrations (version) VALUES ('20150423145759');
2724 INSERT INTO schema_migrations (version) VALUES ('20150512193020');
2726 INSERT INTO schema_migrations (version) VALUES ('20150526180251');
2728 INSERT INTO schema_migrations (version) VALUES ('20151202151426');
2730 INSERT INTO schema_migrations (version) VALUES ('20151215134304');
2732 INSERT INTO schema_migrations (version) VALUES ('20151229214707');
2734 INSERT INTO schema_migrations (version) VALUES ('20160208210629');
2736 INSERT INTO schema_migrations (version) VALUES ('20160209155729');
2738 INSERT INTO schema_migrations (version) VALUES ('20160324144017');
2740 INSERT INTO schema_migrations (version) VALUES ('20160506175108');
2742 INSERT INTO schema_migrations (version) VALUES ('20160509143250');
2744 INSERT INTO schema_migrations (version) VALUES ('20160808151559');
2746 INSERT INTO schema_migrations (version) VALUES ('20160819195557');
2748 INSERT INTO schema_migrations (version) VALUES ('20160819195725');
2750 INSERT INTO schema_migrations (version) VALUES ('20160901210110');
2752 INSERT INTO schema_migrations (version) VALUES ('20160909181442');
2754 INSERT INTO schema_migrations (version) VALUES ('20160926194129');
2756 INSERT INTO schema_migrations (version) VALUES ('20161019171346');
2758 INSERT INTO schema_migrations (version) VALUES ('20161111143147');
2760 INSERT INTO schema_migrations (version) VALUES ('20161115171221');
2762 INSERT INTO schema_migrations (version) VALUES ('20161115174218');
2764 INSERT INTO schema_migrations (version) VALUES ('20161213172944');
2766 INSERT INTO schema_migrations (version) VALUES ('20161222153434');
2768 INSERT INTO schema_migrations (version) VALUES ('20161223090712');
2770 INSERT INTO schema_migrations (version) VALUES ('20170102153111');
2772 INSERT INTO schema_migrations (version) VALUES ('20170105160301');
2774 INSERT INTO schema_migrations (version) VALUES ('20170105160302');
2776 INSERT INTO schema_migrations (version) VALUES ('20170216170823');
2778 INSERT INTO schema_migrations (version) VALUES ('20170301225558');
2780 INSERT INTO schema_migrations (version) VALUES ('20170319063406');
2782 INSERT INTO schema_migrations (version) VALUES ('20170328215436');
2784 INSERT INTO schema_migrations (version) VALUES ('20170330012505');
2786 INSERT INTO schema_migrations (version) VALUES ('20170419173031');
2788 INSERT INTO schema_migrations (version) VALUES ('20170419173712');
2790 INSERT INTO schema_migrations (version) VALUES ('20170419175801');
2792 INSERT INTO schema_migrations (version) VALUES ('20170628185847');