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 '---
50 uuid character varying(255) NOT NULL
55 -- Name: api_client_authorizations_id_seq; Type: SEQUENCE; Schema: public; Owner: -
58 CREATE SEQUENCE api_client_authorizations_id_seq
67 -- Name: api_client_authorizations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
70 ALTER SEQUENCE api_client_authorizations_id_seq OWNED BY api_client_authorizations.id;
74 -- Name: api_clients; Type: TABLE; Schema: public; Owner: -; Tablespace:
77 CREATE TABLE api_clients (
79 uuid character varying(255),
80 owner_uuid character varying(255),
81 modified_by_client_uuid character varying(255),
82 modified_by_user_uuid character varying(255),
83 modified_at timestamp without time zone,
84 name character varying(255),
85 url_prefix character varying(255),
86 created_at timestamp without time zone NOT NULL,
87 updated_at timestamp without time zone NOT NULL,
88 is_trusted boolean DEFAULT false
93 -- Name: api_clients_id_seq; Type: SEQUENCE; Schema: public; Owner: -
96 CREATE SEQUENCE api_clients_id_seq
105 -- Name: api_clients_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
108 ALTER SEQUENCE api_clients_id_seq OWNED BY api_clients.id;
112 -- Name: authorized_keys; Type: TABLE; Schema: public; Owner: -; Tablespace:
115 CREATE TABLE authorized_keys (
117 uuid character varying(255) NOT NULL,
118 owner_uuid character varying(255) NOT NULL,
119 modified_by_client_uuid character varying(255),
120 modified_by_user_uuid character varying(255),
121 modified_at timestamp without time zone,
122 name character varying(255),
123 key_type character varying(255),
124 authorized_user_uuid character varying(255),
126 expires_at timestamp without time zone,
127 created_at timestamp without time zone NOT NULL,
128 updated_at timestamp without time zone NOT NULL
133 -- Name: authorized_keys_id_seq; Type: SEQUENCE; Schema: public; Owner: -
136 CREATE SEQUENCE authorized_keys_id_seq
145 -- Name: authorized_keys_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
148 ALTER SEQUENCE authorized_keys_id_seq OWNED BY authorized_keys.id;
152 -- Name: collections; Type: TABLE; Schema: public; Owner: -; Tablespace:
155 CREATE TABLE collections (
157 owner_uuid character varying(255),
158 created_at timestamp without time zone NOT NULL,
159 modified_by_client_uuid character varying(255),
160 modified_by_user_uuid character varying(255),
161 modified_at timestamp without time zone,
162 portable_data_hash character varying(255),
163 replication_desired integer,
164 replication_confirmed_at timestamp without time zone,
165 replication_confirmed integer,
166 updated_at timestamp without time zone NOT NULL,
167 uuid character varying(255),
169 name character varying(255),
170 description character varying(524288),
172 delete_at timestamp without time zone,
173 file_names character varying(8192),
174 trash_at timestamp without time zone,
175 is_trashed boolean DEFAULT false NOT NULL
180 -- Name: collections_id_seq; Type: SEQUENCE; Schema: public; Owner: -
183 CREATE SEQUENCE collections_id_seq
192 -- Name: collections_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
195 ALTER SEQUENCE collections_id_seq OWNED BY collections.id;
199 -- Name: commit_ancestors; Type: TABLE; Schema: public; Owner: -; Tablespace:
202 CREATE TABLE commit_ancestors (
204 repository_name character varying(255),
205 descendant character varying(255) NOT NULL,
206 ancestor character varying(255) NOT NULL,
207 "is" boolean DEFAULT false NOT NULL,
208 created_at timestamp without time zone NOT NULL,
209 updated_at timestamp without time zone NOT NULL
214 -- Name: commit_ancestors_id_seq; Type: SEQUENCE; Schema: public; Owner: -
217 CREATE SEQUENCE commit_ancestors_id_seq
226 -- Name: commit_ancestors_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
229 ALTER SEQUENCE commit_ancestors_id_seq OWNED BY commit_ancestors.id;
233 -- Name: commits; Type: TABLE; Schema: public; Owner: -; Tablespace:
236 CREATE TABLE commits (
238 repository_name character varying(255),
239 sha1 character varying(255),
240 message character varying(255),
241 created_at timestamp without time zone NOT NULL,
242 updated_at timestamp without time zone NOT NULL
247 -- Name: commits_id_seq; Type: SEQUENCE; Schema: public; Owner: -
250 CREATE SEQUENCE commits_id_seq
259 -- Name: commits_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
262 ALTER SEQUENCE commits_id_seq OWNED BY commits.id;
266 -- Name: container_requests; Type: TABLE; Schema: public; Owner: -; Tablespace:
269 CREATE TABLE container_requests (
271 uuid character varying(255),
272 owner_uuid character varying(255),
273 created_at timestamp without time zone NOT NULL,
274 modified_at timestamp without time zone,
275 modified_by_client_uuid character varying(255),
276 modified_by_user_uuid character varying(255),
277 name character varying(255),
280 state character varying(255),
281 requesting_container_uuid character varying(255),
282 container_uuid character varying(255),
283 container_count_max integer,
285 runtime_constraints text,
286 container_image character varying(255),
288 cwd character varying(255),
290 output_path character varying(255),
292 expires_at timestamp without time zone,
294 updated_at timestamp without time zone NOT NULL,
295 container_count integer DEFAULT 0,
296 use_existing boolean DEFAULT true,
297 scheduling_parameters text,
298 output_uuid character varying(255),
299 log_uuid character varying(255),
300 output_name character varying(255) DEFAULT NULL::character varying
305 -- Name: container_requests_id_seq; Type: SEQUENCE; Schema: public; Owner: -
308 CREATE SEQUENCE container_requests_id_seq
317 -- Name: container_requests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
320 ALTER SEQUENCE container_requests_id_seq OWNED BY container_requests.id;
324 -- Name: containers; Type: TABLE; Schema: public; Owner: -; Tablespace:
327 CREATE TABLE containers (
329 uuid character varying(255),
330 owner_uuid character varying(255),
331 created_at timestamp without time zone NOT NULL,
332 modified_at timestamp without time zone,
333 modified_by_client_uuid character varying(255),
334 modified_by_user_uuid character varying(255),
335 state character varying(255),
336 started_at timestamp without time zone,
337 finished_at timestamp without time zone,
338 log character varying(255),
340 cwd character varying(255),
342 output_path character varying(255),
344 runtime_constraints text,
345 output character varying(255),
346 container_image character varying(255),
347 progress double precision,
349 updated_at timestamp without time zone NOT NULL,
351 auth_uuid character varying(255),
352 locked_by_uuid character varying(255),
353 scheduling_parameters text
358 -- Name: containers_id_seq; Type: SEQUENCE; Schema: public; Owner: -
361 CREATE SEQUENCE containers_id_seq
370 -- Name: containers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
373 ALTER SEQUENCE containers_id_seq OWNED BY containers.id;
377 -- Name: groups; Type: TABLE; Schema: public; Owner: -; Tablespace:
380 CREATE TABLE groups (
382 uuid character varying(255),
383 owner_uuid character varying(255),
384 created_at timestamp without time zone NOT NULL,
385 modified_by_client_uuid character varying(255),
386 modified_by_user_uuid character varying(255),
387 modified_at timestamp without time zone,
388 name character varying(255) NOT NULL,
389 description character varying(524288),
390 updated_at timestamp without time zone NOT NULL,
391 group_class character varying(255)
396 -- Name: groups_id_seq; Type: SEQUENCE; Schema: public; Owner: -
399 CREATE SEQUENCE groups_id_seq
408 -- Name: groups_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
411 ALTER SEQUENCE groups_id_seq OWNED BY groups.id;
415 -- Name: humans; Type: TABLE; Schema: public; Owner: -; Tablespace:
418 CREATE TABLE humans (
420 uuid character varying(255) NOT NULL,
421 owner_uuid character varying(255) NOT NULL,
422 modified_by_client_uuid character varying(255),
423 modified_by_user_uuid character varying(255),
424 modified_at timestamp without time zone,
426 created_at timestamp without time zone NOT NULL,
427 updated_at timestamp without time zone NOT NULL
432 -- Name: humans_id_seq; Type: SEQUENCE; Schema: public; Owner: -
435 CREATE SEQUENCE humans_id_seq
444 -- Name: humans_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
447 ALTER SEQUENCE humans_id_seq OWNED BY humans.id;
451 -- Name: job_tasks; Type: TABLE; Schema: public; Owner: -; Tablespace:
454 CREATE TABLE job_tasks (
456 uuid character varying(255),
457 owner_uuid character varying(255),
458 modified_by_client_uuid character varying(255),
459 modified_by_user_uuid character varying(255),
460 modified_at timestamp without time zone,
461 job_uuid character varying(255),
465 progress double precision,
467 created_at timestamp without time zone NOT NULL,
468 updated_at timestamp without time zone NOT NULL,
469 created_by_job_task_uuid character varying(255),
471 started_at timestamp without time zone,
472 finished_at timestamp without time zone
477 -- Name: job_tasks_id_seq; Type: SEQUENCE; Schema: public; Owner: -
480 CREATE SEQUENCE job_tasks_id_seq
489 -- Name: job_tasks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
492 ALTER SEQUENCE job_tasks_id_seq OWNED BY job_tasks.id;
496 -- Name: job_tasks_qsequence_seq; Type: SEQUENCE; Schema: public; Owner: -
499 CREATE SEQUENCE job_tasks_qsequence_seq
508 -- Name: job_tasks_qsequence_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
511 ALTER SEQUENCE job_tasks_qsequence_seq OWNED BY job_tasks.qsequence;
515 -- Name: jobs; Type: TABLE; Schema: public; Owner: -; Tablespace:
520 uuid character varying(255),
521 owner_uuid character varying(255),
522 modified_by_client_uuid character varying(255),
523 modified_by_user_uuid character varying(255),
524 modified_at timestamp without time zone,
525 submit_id character varying(255),
526 script character varying(255),
527 script_version character varying(255),
528 script_parameters text,
529 cancelled_by_client_uuid character varying(255),
530 cancelled_by_user_uuid character varying(255),
531 cancelled_at timestamp without time zone,
532 started_at timestamp without time zone,
533 finished_at timestamp without time zone,
536 output character varying(255),
537 created_at timestamp without time zone NOT NULL,
538 updated_at timestamp without time zone NOT NULL,
539 is_locked_by_uuid character varying(255),
540 log character varying(255),
542 runtime_constraints text,
543 nondeterministic boolean,
544 repository character varying(255),
545 supplied_script_version character varying(255),
546 docker_image_locator character varying(255),
547 priority integer DEFAULT 0 NOT NULL,
548 description character varying(524288),
549 state character varying(255),
550 arvados_sdk_version character varying(255),
552 script_parameters_digest character varying(255)
557 -- Name: jobs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
560 CREATE SEQUENCE jobs_id_seq
569 -- Name: jobs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
572 ALTER SEQUENCE jobs_id_seq OWNED BY jobs.id;
576 -- Name: keep_disks; Type: TABLE; Schema: public; Owner: -; Tablespace:
579 CREATE TABLE keep_disks (
581 uuid character varying(255) NOT NULL,
582 owner_uuid character varying(255) NOT NULL,
583 modified_by_client_uuid character varying(255),
584 modified_by_user_uuid character varying(255),
585 modified_at timestamp without time zone,
586 ping_secret character varying(255) NOT NULL,
587 node_uuid character varying(255),
588 filesystem_uuid character varying(255),
591 is_readable boolean DEFAULT true NOT NULL,
592 is_writable boolean DEFAULT true NOT NULL,
593 last_read_at timestamp without time zone,
594 last_write_at timestamp without time zone,
595 last_ping_at timestamp without time zone,
596 created_at timestamp without time zone NOT NULL,
597 updated_at timestamp without time zone NOT NULL,
598 keep_service_uuid character varying(255)
603 -- Name: keep_disks_id_seq; Type: SEQUENCE; Schema: public; Owner: -
606 CREATE SEQUENCE keep_disks_id_seq
615 -- Name: keep_disks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
618 ALTER SEQUENCE keep_disks_id_seq OWNED BY keep_disks.id;
622 -- Name: keep_services; Type: TABLE; Schema: public; Owner: -; Tablespace:
625 CREATE TABLE keep_services (
627 uuid character varying(255) NOT NULL,
628 owner_uuid character varying(255) NOT NULL,
629 modified_by_client_uuid character varying(255),
630 modified_by_user_uuid character varying(255),
631 modified_at timestamp without time zone,
632 service_host character varying(255),
633 service_port integer,
634 service_ssl_flag boolean,
635 service_type character varying(255),
636 created_at timestamp without time zone NOT NULL,
637 updated_at timestamp without time zone NOT NULL,
638 read_only boolean DEFAULT false NOT NULL
643 -- Name: keep_services_id_seq; Type: SEQUENCE; Schema: public; Owner: -
646 CREATE SEQUENCE keep_services_id_seq
655 -- Name: keep_services_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
658 ALTER SEQUENCE keep_services_id_seq OWNED BY keep_services.id;
662 -- Name: links; Type: TABLE; Schema: public; Owner: -; Tablespace:
667 uuid character varying(255),
668 owner_uuid character varying(255),
669 created_at timestamp without time zone NOT NULL,
670 modified_by_client_uuid character varying(255),
671 modified_by_user_uuid character varying(255),
672 modified_at timestamp without time zone,
673 tail_uuid character varying(255),
674 link_class character varying(255),
675 name character varying(255),
676 head_uuid character varying(255),
678 updated_at timestamp without time zone NOT NULL
683 -- Name: links_id_seq; Type: SEQUENCE; Schema: public; Owner: -
686 CREATE SEQUENCE links_id_seq
695 -- Name: links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
698 ALTER SEQUENCE links_id_seq OWNED BY links.id;
702 -- Name: logs; Type: TABLE; Schema: public; Owner: -; Tablespace:
707 uuid character varying(255),
708 owner_uuid character varying(255),
709 modified_by_client_uuid character varying(255),
710 modified_by_user_uuid character varying(255),
711 object_uuid character varying(255),
712 event_at timestamp without time zone,
713 event_type character varying(255),
716 created_at timestamp without time zone NOT NULL,
717 updated_at timestamp without time zone NOT NULL,
718 modified_at timestamp without time zone,
719 object_owner_uuid character varying(255)
724 -- Name: logs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
727 CREATE SEQUENCE logs_id_seq
736 -- Name: logs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
739 ALTER SEQUENCE logs_id_seq OWNED BY logs.id;
743 -- Name: nodes; Type: TABLE; Schema: public; Owner: -; Tablespace:
748 uuid character varying(255),
749 owner_uuid character varying(255),
750 created_at timestamp without time zone NOT NULL,
751 modified_by_client_uuid character varying(255),
752 modified_by_user_uuid character varying(255),
753 modified_at timestamp without time zone,
755 hostname character varying(255),
756 domain character varying(255),
757 ip_address character varying(255),
758 first_ping_at timestamp without time zone,
759 last_ping_at timestamp without time zone,
761 updated_at timestamp without time zone NOT NULL,
763 job_uuid character varying(255)
768 -- Name: nodes_id_seq; Type: SEQUENCE; Schema: public; Owner: -
771 CREATE SEQUENCE nodes_id_seq
780 -- Name: nodes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
783 ALTER SEQUENCE nodes_id_seq OWNED BY nodes.id;
787 -- Name: pipeline_instances; Type: TABLE; Schema: public; Owner: -; Tablespace:
790 CREATE TABLE pipeline_instances (
792 uuid character varying(255),
793 owner_uuid character varying(255),
794 created_at timestamp without time zone NOT NULL,
795 modified_by_client_uuid character varying(255),
796 modified_by_user_uuid character varying(255),
797 modified_at timestamp without time zone,
798 pipeline_template_uuid character varying(255),
799 name character varying(255),
801 updated_at timestamp without time zone NOT NULL,
803 state character varying(255),
804 components_summary text,
805 started_at timestamp without time zone,
806 finished_at timestamp without time zone,
807 description character varying(524288)
812 -- Name: pipeline_instances_id_seq; Type: SEQUENCE; Schema: public; Owner: -
815 CREATE SEQUENCE pipeline_instances_id_seq
824 -- Name: pipeline_instances_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
827 ALTER SEQUENCE pipeline_instances_id_seq OWNED BY pipeline_instances.id;
831 -- Name: pipeline_templates; Type: TABLE; Schema: public; Owner: -; Tablespace:
834 CREATE TABLE pipeline_templates (
836 uuid character varying(255),
837 owner_uuid character varying(255),
838 created_at timestamp without time zone NOT NULL,
839 modified_by_client_uuid character varying(255),
840 modified_by_user_uuid character varying(255),
841 modified_at timestamp without time zone,
842 name character varying(255),
844 updated_at timestamp without time zone NOT NULL,
845 description character varying(524288)
850 -- Name: pipeline_templates_id_seq; Type: SEQUENCE; Schema: public; Owner: -
853 CREATE SEQUENCE pipeline_templates_id_seq
862 -- Name: pipeline_templates_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
865 ALTER SEQUENCE pipeline_templates_id_seq OWNED BY pipeline_templates.id;
869 -- Name: repositories; Type: TABLE; Schema: public; Owner: -; Tablespace:
872 CREATE TABLE repositories (
874 uuid character varying(255) NOT NULL,
875 owner_uuid character varying(255) NOT NULL,
876 modified_by_client_uuid character varying(255),
877 modified_by_user_uuid character varying(255),
878 modified_at timestamp without time zone,
879 name character varying(255),
880 created_at timestamp without time zone NOT NULL,
881 updated_at timestamp without time zone NOT NULL
886 -- Name: repositories_id_seq; Type: SEQUENCE; Schema: public; Owner: -
889 CREATE SEQUENCE repositories_id_seq
898 -- Name: repositories_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
901 ALTER SEQUENCE repositories_id_seq OWNED BY repositories.id;
905 -- Name: schema_migrations; Type: TABLE; Schema: public; Owner: -; Tablespace:
908 CREATE TABLE schema_migrations (
909 version character varying(255) NOT NULL
914 -- Name: specimens; Type: TABLE; Schema: public; Owner: -; Tablespace:
917 CREATE TABLE specimens (
919 uuid character varying(255),
920 owner_uuid character varying(255),
921 created_at timestamp without time zone 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 material character varying(255),
926 updated_at timestamp without time zone NOT NULL,
932 -- Name: specimens_id_seq; Type: SEQUENCE; Schema: public; Owner: -
935 CREATE SEQUENCE specimens_id_seq
944 -- Name: specimens_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
947 ALTER SEQUENCE specimens_id_seq OWNED BY specimens.id;
951 -- Name: traits; Type: TABLE; Schema: public; Owner: -; Tablespace:
954 CREATE TABLE traits (
956 uuid character varying(255) NOT NULL,
957 owner_uuid character varying(255) NOT NULL,
958 modified_by_client_uuid character varying(255),
959 modified_by_user_uuid character varying(255),
960 modified_at timestamp without time zone,
961 name character varying(255),
963 created_at timestamp without time zone NOT NULL,
964 updated_at timestamp without time zone NOT NULL
969 -- Name: traits_id_seq; Type: SEQUENCE; Schema: public; Owner: -
972 CREATE SEQUENCE traits_id_seq
981 -- Name: traits_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
984 ALTER SEQUENCE traits_id_seq OWNED BY traits.id;
988 -- Name: users; Type: TABLE; Schema: public; Owner: -; Tablespace:
993 uuid character varying(255),
994 owner_uuid character varying(255) NOT NULL,
995 created_at timestamp without time zone NOT NULL,
996 modified_by_client_uuid character varying(255),
997 modified_by_user_uuid character varying(255),
998 modified_at timestamp without time zone,
999 email character varying(255),
1000 first_name character varying(255),
1001 last_name character varying(255),
1002 identity_url character varying(255),
1005 updated_at timestamp without time zone NOT NULL,
1006 default_owner_uuid character varying(255),
1007 is_active boolean DEFAULT false,
1008 username character varying(255)
1013 -- Name: users_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1016 CREATE SEQUENCE users_id_seq
1025 -- Name: users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1028 ALTER SEQUENCE users_id_seq OWNED BY users.id;
1032 -- Name: virtual_machines; Type: TABLE; Schema: public; Owner: -; Tablespace:
1035 CREATE TABLE virtual_machines (
1036 id integer NOT NULL,
1037 uuid character varying(255) NOT NULL,
1038 owner_uuid character varying(255) NOT NULL,
1039 modified_by_client_uuid character varying(255),
1040 modified_by_user_uuid character varying(255),
1041 modified_at timestamp without time zone,
1042 hostname character varying(255),
1043 created_at timestamp without time zone NOT NULL,
1044 updated_at timestamp without time zone NOT NULL
1049 -- Name: virtual_machines_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1052 CREATE SEQUENCE virtual_machines_id_seq
1061 -- Name: virtual_machines_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1064 ALTER SEQUENCE virtual_machines_id_seq OWNED BY virtual_machines.id;
1068 -- Name: workflows; Type: TABLE; Schema: public; Owner: -; Tablespace:
1071 CREATE TABLE workflows (
1072 id integer NOT NULL,
1073 uuid character varying(255),
1074 owner_uuid character varying(255),
1075 created_at timestamp without time zone NOT NULL,
1076 modified_at timestamp without time zone,
1077 modified_by_client_uuid character varying(255),
1078 modified_by_user_uuid character varying(255),
1079 name character varying(255),
1082 updated_at timestamp without time zone NOT NULL
1087 -- Name: workflows_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1090 CREATE SEQUENCE workflows_id_seq
1099 -- Name: workflows_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1102 ALTER SEQUENCE workflows_id_seq OWNED BY workflows.id;
1106 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1109 ALTER TABLE ONLY api_client_authorizations ALTER COLUMN id SET DEFAULT nextval('api_client_authorizations_id_seq'::regclass);
1113 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1116 ALTER TABLE ONLY api_clients ALTER COLUMN id SET DEFAULT nextval('api_clients_id_seq'::regclass);
1120 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1123 ALTER TABLE ONLY authorized_keys ALTER COLUMN id SET DEFAULT nextval('authorized_keys_id_seq'::regclass);
1127 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1130 ALTER TABLE ONLY collections ALTER COLUMN id SET DEFAULT nextval('collections_id_seq'::regclass);
1134 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1137 ALTER TABLE ONLY commit_ancestors ALTER COLUMN id SET DEFAULT nextval('commit_ancestors_id_seq'::regclass);
1141 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1144 ALTER TABLE ONLY commits ALTER COLUMN id SET DEFAULT nextval('commits_id_seq'::regclass);
1148 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1151 ALTER TABLE ONLY container_requests ALTER COLUMN id SET DEFAULT nextval('container_requests_id_seq'::regclass);
1155 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1158 ALTER TABLE ONLY containers ALTER COLUMN id SET DEFAULT nextval('containers_id_seq'::regclass);
1162 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1165 ALTER TABLE ONLY groups ALTER COLUMN id SET DEFAULT nextval('groups_id_seq'::regclass);
1169 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1172 ALTER TABLE ONLY humans ALTER COLUMN id SET DEFAULT nextval('humans_id_seq'::regclass);
1176 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1179 ALTER TABLE ONLY job_tasks ALTER COLUMN id SET DEFAULT nextval('job_tasks_id_seq'::regclass);
1183 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1186 ALTER TABLE ONLY jobs ALTER COLUMN id SET DEFAULT nextval('jobs_id_seq'::regclass);
1190 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1193 ALTER TABLE ONLY keep_disks ALTER COLUMN id SET DEFAULT nextval('keep_disks_id_seq'::regclass);
1197 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1200 ALTER TABLE ONLY keep_services ALTER COLUMN id SET DEFAULT nextval('keep_services_id_seq'::regclass);
1204 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1207 ALTER TABLE ONLY links ALTER COLUMN id SET DEFAULT nextval('links_id_seq'::regclass);
1211 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1214 ALTER TABLE ONLY logs ALTER COLUMN id SET DEFAULT nextval('logs_id_seq'::regclass);
1218 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1221 ALTER TABLE ONLY nodes ALTER COLUMN id SET DEFAULT nextval('nodes_id_seq'::regclass);
1225 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1228 ALTER TABLE ONLY pipeline_instances ALTER COLUMN id SET DEFAULT nextval('pipeline_instances_id_seq'::regclass);
1232 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1235 ALTER TABLE ONLY pipeline_templates ALTER COLUMN id SET DEFAULT nextval('pipeline_templates_id_seq'::regclass);
1239 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1242 ALTER TABLE ONLY repositories ALTER COLUMN id SET DEFAULT nextval('repositories_id_seq'::regclass);
1246 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1249 ALTER TABLE ONLY specimens ALTER COLUMN id SET DEFAULT nextval('specimens_id_seq'::regclass);
1253 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1256 ALTER TABLE ONLY traits ALTER COLUMN id SET DEFAULT nextval('traits_id_seq'::regclass);
1260 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1263 ALTER TABLE ONLY users ALTER COLUMN id SET DEFAULT nextval('users_id_seq'::regclass);
1267 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1270 ALTER TABLE ONLY virtual_machines ALTER COLUMN id SET DEFAULT nextval('virtual_machines_id_seq'::regclass);
1274 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1277 ALTER TABLE ONLY workflows ALTER COLUMN id SET DEFAULT nextval('workflows_id_seq'::regclass);
1281 -- Name: api_client_authorizations_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1284 ALTER TABLE ONLY api_client_authorizations
1285 ADD CONSTRAINT api_client_authorizations_pkey PRIMARY KEY (id);
1289 -- Name: api_clients_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1292 ALTER TABLE ONLY api_clients
1293 ADD CONSTRAINT api_clients_pkey PRIMARY KEY (id);
1297 -- Name: authorized_keys_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1300 ALTER TABLE ONLY authorized_keys
1301 ADD CONSTRAINT authorized_keys_pkey PRIMARY KEY (id);
1305 -- Name: collections_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1308 ALTER TABLE ONLY collections
1309 ADD CONSTRAINT collections_pkey PRIMARY KEY (id);
1313 -- Name: commit_ancestors_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1316 ALTER TABLE ONLY commit_ancestors
1317 ADD CONSTRAINT commit_ancestors_pkey PRIMARY KEY (id);
1321 -- Name: commits_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1324 ALTER TABLE ONLY commits
1325 ADD CONSTRAINT commits_pkey PRIMARY KEY (id);
1329 -- Name: container_requests_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1332 ALTER TABLE ONLY container_requests
1333 ADD CONSTRAINT container_requests_pkey PRIMARY KEY (id);
1337 -- Name: containers_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1340 ALTER TABLE ONLY containers
1341 ADD CONSTRAINT containers_pkey PRIMARY KEY (id);
1345 -- Name: groups_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1348 ALTER TABLE ONLY groups
1349 ADD CONSTRAINT groups_pkey PRIMARY KEY (id);
1353 -- Name: humans_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1356 ALTER TABLE ONLY humans
1357 ADD CONSTRAINT humans_pkey PRIMARY KEY (id);
1361 -- Name: job_tasks_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1364 ALTER TABLE ONLY job_tasks
1365 ADD CONSTRAINT job_tasks_pkey PRIMARY KEY (id);
1369 -- Name: jobs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1372 ALTER TABLE ONLY jobs
1373 ADD CONSTRAINT jobs_pkey PRIMARY KEY (id);
1377 -- Name: keep_disks_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1380 ALTER TABLE ONLY keep_disks
1381 ADD CONSTRAINT keep_disks_pkey PRIMARY KEY (id);
1385 -- Name: keep_services_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1388 ALTER TABLE ONLY keep_services
1389 ADD CONSTRAINT keep_services_pkey PRIMARY KEY (id);
1393 -- Name: links_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1396 ALTER TABLE ONLY links
1397 ADD CONSTRAINT links_pkey PRIMARY KEY (id);
1401 -- Name: logs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1404 ALTER TABLE ONLY logs
1405 ADD CONSTRAINT logs_pkey PRIMARY KEY (id);
1409 -- Name: nodes_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1412 ALTER TABLE ONLY nodes
1413 ADD CONSTRAINT nodes_pkey PRIMARY KEY (id);
1417 -- Name: pipeline_instances_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1420 ALTER TABLE ONLY pipeline_instances
1421 ADD CONSTRAINT pipeline_instances_pkey PRIMARY KEY (id);
1425 -- Name: pipeline_templates_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1428 ALTER TABLE ONLY pipeline_templates
1429 ADD CONSTRAINT pipeline_templates_pkey PRIMARY KEY (id);
1433 -- Name: repositories_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1436 ALTER TABLE ONLY repositories
1437 ADD CONSTRAINT repositories_pkey PRIMARY KEY (id);
1441 -- Name: specimens_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1444 ALTER TABLE ONLY specimens
1445 ADD CONSTRAINT specimens_pkey PRIMARY KEY (id);
1449 -- Name: traits_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1452 ALTER TABLE ONLY traits
1453 ADD CONSTRAINT traits_pkey PRIMARY KEY (id);
1457 -- Name: users_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1460 ALTER TABLE ONLY users
1461 ADD CONSTRAINT users_pkey PRIMARY KEY (id);
1465 -- Name: virtual_machines_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1468 ALTER TABLE ONLY virtual_machines
1469 ADD CONSTRAINT virtual_machines_pkey PRIMARY KEY (id);
1473 -- Name: workflows_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1476 ALTER TABLE ONLY workflows
1477 ADD CONSTRAINT workflows_pkey PRIMARY KEY (id);
1481 -- Name: api_client_authorizations_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1484 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);
1488 -- Name: api_clients_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1491 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);
1495 -- Name: authorized_keys_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1498 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);
1502 -- Name: collections_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
1505 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)));
1509 -- Name: collections_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1512 CREATE INDEX collections_search_index ON collections USING btree (owner_uuid, modified_by_client_uuid, modified_by_user_uuid, portable_data_hash, uuid, name);
1516 -- Name: container_requests_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
1519 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(mounts, ''::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)));
1523 -- Name: container_requests_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1526 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);
1530 -- Name: containers_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1533 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);
1537 -- Name: groups_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
1540 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)));
1544 -- Name: groups_owner_uuid_name_unique; Type: INDEX; Schema: public; Owner: -; Tablespace:
1547 CREATE UNIQUE INDEX groups_owner_uuid_name_unique ON groups USING btree (owner_uuid, name);
1551 -- Name: groups_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1554 CREATE INDEX groups_search_index ON groups USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name, group_class);
1558 -- Name: humans_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1561 CREATE INDEX humans_search_index ON humans USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid);
1565 -- Name: index_api_client_authorizations_on_api_client_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
1568 CREATE INDEX index_api_client_authorizations_on_api_client_id ON api_client_authorizations USING btree (api_client_id);
1572 -- Name: index_api_client_authorizations_on_api_token; Type: INDEX; Schema: public; Owner: -; Tablespace:
1575 CREATE UNIQUE INDEX index_api_client_authorizations_on_api_token ON api_client_authorizations USING btree (api_token);
1579 -- Name: index_api_client_authorizations_on_expires_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1582 CREATE INDEX index_api_client_authorizations_on_expires_at ON api_client_authorizations USING btree (expires_at);
1586 -- Name: index_api_client_authorizations_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
1589 CREATE INDEX index_api_client_authorizations_on_user_id ON api_client_authorizations USING btree (user_id);
1593 -- Name: index_api_client_authorizations_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1596 CREATE UNIQUE INDEX index_api_client_authorizations_on_uuid ON api_client_authorizations USING btree (uuid);
1600 -- Name: index_api_clients_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1603 CREATE INDEX index_api_clients_on_created_at ON api_clients USING btree (created_at);
1607 -- Name: index_api_clients_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1610 CREATE INDEX index_api_clients_on_modified_at ON api_clients USING btree (modified_at);
1614 -- Name: index_api_clients_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1617 CREATE INDEX index_api_clients_on_owner_uuid ON api_clients USING btree (owner_uuid);
1621 -- Name: index_api_clients_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1624 CREATE UNIQUE INDEX index_api_clients_on_uuid ON api_clients USING btree (uuid);
1628 -- Name: index_authkeys_on_user_and_expires_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1631 CREATE INDEX index_authkeys_on_user_and_expires_at ON authorized_keys USING btree (authorized_user_uuid, expires_at);
1635 -- Name: index_authorized_keys_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1638 CREATE INDEX index_authorized_keys_on_owner_uuid ON authorized_keys USING btree (owner_uuid);
1642 -- Name: index_authorized_keys_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1645 CREATE UNIQUE INDEX index_authorized_keys_on_uuid ON authorized_keys USING btree (uuid);
1649 -- Name: index_collections_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1652 CREATE INDEX index_collections_on_created_at ON collections USING btree (created_at);
1656 -- Name: index_collections_on_delete_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1659 CREATE INDEX index_collections_on_delete_at ON collections USING btree (delete_at);
1663 -- Name: index_collections_on_is_trashed; Type: INDEX; Schema: public; Owner: -; Tablespace:
1666 CREATE INDEX index_collections_on_is_trashed ON collections USING btree (is_trashed);
1670 -- Name: index_collections_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1673 CREATE INDEX index_collections_on_modified_at ON collections USING btree (modified_at);
1677 -- Name: index_collections_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1680 CREATE INDEX index_collections_on_owner_uuid ON collections USING btree (owner_uuid);
1684 -- Name: index_collections_on_owner_uuid_and_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
1687 CREATE UNIQUE INDEX index_collections_on_owner_uuid_and_name ON collections USING btree (owner_uuid, name) WHERE (is_trashed = false);
1691 -- Name: index_collections_on_trash_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1694 CREATE INDEX index_collections_on_trash_at ON collections USING btree (trash_at);
1698 -- Name: index_collections_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1701 CREATE UNIQUE INDEX index_collections_on_uuid ON collections USING btree (uuid);
1705 -- Name: index_commit_ancestors_on_descendant_and_ancestor; Type: INDEX; Schema: public; Owner: -; Tablespace:
1708 CREATE UNIQUE INDEX index_commit_ancestors_on_descendant_and_ancestor ON commit_ancestors USING btree (descendant, ancestor);
1712 -- Name: index_commits_on_repository_name_and_sha1; Type: INDEX; Schema: public; Owner: -; Tablespace:
1715 CREATE UNIQUE INDEX index_commits_on_repository_name_and_sha1 ON commits USING btree (repository_name, sha1);
1719 -- Name: index_container_requests_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1722 CREATE INDEX index_container_requests_on_owner_uuid ON container_requests USING btree (owner_uuid);
1726 -- Name: index_container_requests_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1729 CREATE UNIQUE INDEX index_container_requests_on_uuid ON container_requests USING btree (uuid);
1733 -- Name: index_containers_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1736 CREATE INDEX index_containers_on_owner_uuid ON containers USING btree (owner_uuid);
1740 -- Name: index_containers_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1743 CREATE UNIQUE INDEX index_containers_on_uuid ON containers USING btree (uuid);
1747 -- Name: index_groups_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1750 CREATE INDEX index_groups_on_created_at ON groups USING btree (created_at);
1754 -- Name: index_groups_on_group_class; Type: INDEX; Schema: public; Owner: -; Tablespace:
1757 CREATE INDEX index_groups_on_group_class ON groups USING btree (group_class);
1761 -- Name: index_groups_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1764 CREATE INDEX index_groups_on_modified_at ON groups USING btree (modified_at);
1768 -- Name: index_groups_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1771 CREATE INDEX index_groups_on_owner_uuid ON groups USING btree (owner_uuid);
1775 -- Name: index_groups_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1778 CREATE UNIQUE INDEX index_groups_on_uuid ON groups USING btree (uuid);
1782 -- Name: index_humans_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1785 CREATE INDEX index_humans_on_owner_uuid ON humans USING btree (owner_uuid);
1789 -- Name: index_humans_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1792 CREATE UNIQUE INDEX index_humans_on_uuid ON humans USING btree (uuid);
1796 -- Name: index_job_tasks_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1799 CREATE INDEX index_job_tasks_on_created_at ON job_tasks USING btree (created_at);
1803 -- Name: index_job_tasks_on_job_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1806 CREATE INDEX index_job_tasks_on_job_uuid ON job_tasks USING btree (job_uuid);
1810 -- Name: index_job_tasks_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1813 CREATE INDEX index_job_tasks_on_modified_at ON job_tasks USING btree (modified_at);
1817 -- Name: index_job_tasks_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1820 CREATE INDEX index_job_tasks_on_owner_uuid ON job_tasks USING btree (owner_uuid);
1824 -- Name: index_job_tasks_on_sequence; Type: INDEX; Schema: public; Owner: -; Tablespace:
1827 CREATE INDEX index_job_tasks_on_sequence ON job_tasks USING btree (sequence);
1831 -- Name: index_job_tasks_on_success; Type: INDEX; Schema: public; Owner: -; Tablespace:
1834 CREATE INDEX index_job_tasks_on_success ON job_tasks USING btree (success);
1838 -- Name: index_job_tasks_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1841 CREATE UNIQUE INDEX index_job_tasks_on_uuid ON job_tasks USING btree (uuid);
1845 -- Name: index_jobs_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1848 CREATE INDEX index_jobs_on_created_at ON jobs USING btree (created_at);
1852 -- Name: index_jobs_on_finished_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1855 CREATE INDEX index_jobs_on_finished_at ON jobs USING btree (finished_at);
1859 -- Name: index_jobs_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1862 CREATE INDEX index_jobs_on_modified_at ON jobs USING btree (modified_at);
1866 -- Name: index_jobs_on_output; Type: INDEX; Schema: public; Owner: -; Tablespace:
1869 CREATE INDEX index_jobs_on_output ON jobs USING btree (output);
1873 -- Name: index_jobs_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1876 CREATE INDEX index_jobs_on_owner_uuid ON jobs USING btree (owner_uuid);
1880 -- Name: index_jobs_on_script; Type: INDEX; Schema: public; Owner: -; Tablespace:
1883 CREATE INDEX index_jobs_on_script ON jobs USING btree (script);
1887 -- Name: index_jobs_on_script_parameters_digest; Type: INDEX; Schema: public; Owner: -; Tablespace:
1890 CREATE INDEX index_jobs_on_script_parameters_digest ON jobs USING btree (script_parameters_digest);
1894 -- Name: index_jobs_on_started_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1897 CREATE INDEX index_jobs_on_started_at ON jobs USING btree (started_at);
1901 -- Name: index_jobs_on_submit_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
1904 CREATE UNIQUE INDEX index_jobs_on_submit_id ON jobs USING btree (submit_id);
1908 -- Name: index_jobs_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1911 CREATE UNIQUE INDEX index_jobs_on_uuid ON jobs USING btree (uuid);
1915 -- Name: index_keep_disks_on_filesystem_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1918 CREATE INDEX index_keep_disks_on_filesystem_uuid ON keep_disks USING btree (filesystem_uuid);
1922 -- Name: index_keep_disks_on_last_ping_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1925 CREATE INDEX index_keep_disks_on_last_ping_at ON keep_disks USING btree (last_ping_at);
1929 -- Name: index_keep_disks_on_node_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1932 CREATE INDEX index_keep_disks_on_node_uuid ON keep_disks USING btree (node_uuid);
1936 -- Name: index_keep_disks_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1939 CREATE INDEX index_keep_disks_on_owner_uuid ON keep_disks USING btree (owner_uuid);
1943 -- Name: index_keep_disks_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1946 CREATE UNIQUE INDEX index_keep_disks_on_uuid ON keep_disks USING btree (uuid);
1950 -- Name: index_keep_services_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1953 CREATE INDEX index_keep_services_on_owner_uuid ON keep_services USING btree (owner_uuid);
1957 -- Name: index_keep_services_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1960 CREATE UNIQUE INDEX index_keep_services_on_uuid ON keep_services USING btree (uuid);
1964 -- Name: index_links_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1967 CREATE INDEX index_links_on_created_at ON links USING btree (created_at);
1971 -- Name: index_links_on_head_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1974 CREATE INDEX index_links_on_head_uuid ON links USING btree (head_uuid);
1978 -- Name: index_links_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1981 CREATE INDEX index_links_on_modified_at ON links USING btree (modified_at);
1985 -- Name: index_links_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1988 CREATE INDEX index_links_on_owner_uuid ON links USING btree (owner_uuid);
1992 -- Name: index_links_on_tail_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1995 CREATE INDEX index_links_on_tail_uuid ON links USING btree (tail_uuid);
1999 -- Name: index_links_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2002 CREATE UNIQUE INDEX index_links_on_uuid ON links USING btree (uuid);
2006 -- Name: index_logs_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2009 CREATE INDEX index_logs_on_created_at ON logs USING btree (created_at);
2013 -- Name: index_logs_on_event_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2016 CREATE INDEX index_logs_on_event_at ON logs USING btree (event_at);
2020 -- Name: index_logs_on_event_type; Type: INDEX; Schema: public; Owner: -; Tablespace:
2023 CREATE INDEX index_logs_on_event_type ON logs USING btree (event_type);
2027 -- Name: index_logs_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2030 CREATE INDEX index_logs_on_modified_at ON logs USING btree (modified_at);
2034 -- Name: index_logs_on_object_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2037 CREATE INDEX index_logs_on_object_uuid ON logs USING btree (object_uuid);
2041 -- Name: index_logs_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2044 CREATE INDEX index_logs_on_owner_uuid ON logs USING btree (owner_uuid);
2048 -- Name: index_logs_on_summary; Type: INDEX; Schema: public; Owner: -; Tablespace:
2051 CREATE INDEX index_logs_on_summary ON logs USING btree (summary);
2055 -- Name: index_logs_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2058 CREATE UNIQUE INDEX index_logs_on_uuid ON logs USING btree (uuid);
2062 -- Name: index_nodes_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2065 CREATE INDEX index_nodes_on_created_at ON nodes USING btree (created_at);
2069 -- Name: index_nodes_on_hostname; Type: INDEX; Schema: public; Owner: -; Tablespace:
2072 CREATE INDEX index_nodes_on_hostname ON nodes USING btree (hostname);
2076 -- Name: index_nodes_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2079 CREATE INDEX index_nodes_on_modified_at ON nodes USING btree (modified_at);
2083 -- Name: index_nodes_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2086 CREATE INDEX index_nodes_on_owner_uuid ON nodes USING btree (owner_uuid);
2090 -- Name: index_nodes_on_slot_number; Type: INDEX; Schema: public; Owner: -; Tablespace:
2093 CREATE UNIQUE INDEX index_nodes_on_slot_number ON nodes USING btree (slot_number);
2097 -- Name: index_nodes_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2100 CREATE UNIQUE INDEX index_nodes_on_uuid ON nodes USING btree (uuid);
2104 -- Name: index_pipeline_instances_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2107 CREATE INDEX index_pipeline_instances_on_created_at ON pipeline_instances USING btree (created_at);
2111 -- Name: index_pipeline_instances_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2114 CREATE INDEX index_pipeline_instances_on_modified_at ON pipeline_instances USING btree (modified_at);
2118 -- Name: index_pipeline_instances_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2121 CREATE INDEX index_pipeline_instances_on_owner_uuid ON pipeline_instances USING btree (owner_uuid);
2125 -- Name: index_pipeline_instances_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2128 CREATE UNIQUE INDEX index_pipeline_instances_on_uuid ON pipeline_instances USING btree (uuid);
2132 -- Name: index_pipeline_templates_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2135 CREATE INDEX index_pipeline_templates_on_created_at ON pipeline_templates USING btree (created_at);
2139 -- Name: index_pipeline_templates_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2142 CREATE INDEX index_pipeline_templates_on_modified_at ON pipeline_templates USING btree (modified_at);
2146 -- Name: index_pipeline_templates_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2149 CREATE INDEX index_pipeline_templates_on_owner_uuid ON pipeline_templates USING btree (owner_uuid);
2153 -- Name: index_pipeline_templates_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2156 CREATE UNIQUE INDEX index_pipeline_templates_on_uuid ON pipeline_templates USING btree (uuid);
2160 -- Name: index_repositories_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
2163 CREATE UNIQUE INDEX index_repositories_on_name ON repositories USING btree (name);
2167 -- Name: index_repositories_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2170 CREATE INDEX index_repositories_on_owner_uuid ON repositories USING btree (owner_uuid);
2174 -- Name: index_repositories_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2177 CREATE UNIQUE INDEX index_repositories_on_uuid ON repositories USING btree (uuid);
2181 -- Name: index_specimens_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2184 CREATE INDEX index_specimens_on_created_at ON specimens USING btree (created_at);
2188 -- Name: index_specimens_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2191 CREATE INDEX index_specimens_on_modified_at ON specimens USING btree (modified_at);
2195 -- Name: index_specimens_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2198 CREATE INDEX index_specimens_on_owner_uuid ON specimens USING btree (owner_uuid);
2202 -- Name: index_specimens_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2205 CREATE UNIQUE INDEX index_specimens_on_uuid ON specimens USING btree (uuid);
2209 -- Name: index_traits_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
2212 CREATE INDEX index_traits_on_name ON traits USING btree (name);
2216 -- Name: index_traits_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2219 CREATE INDEX index_traits_on_owner_uuid ON traits USING btree (owner_uuid);
2223 -- Name: index_traits_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2226 CREATE UNIQUE INDEX index_traits_on_uuid ON traits USING btree (uuid);
2230 -- Name: index_users_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2233 CREATE INDEX index_users_on_created_at ON users USING btree (created_at);
2237 -- Name: index_users_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2240 CREATE INDEX index_users_on_modified_at ON users USING btree (modified_at);
2244 -- Name: index_users_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2247 CREATE INDEX index_users_on_owner_uuid ON users USING btree (owner_uuid);
2251 -- Name: index_users_on_username; Type: INDEX; Schema: public; Owner: -; Tablespace:
2254 CREATE UNIQUE INDEX index_users_on_username ON users USING btree (username);
2258 -- Name: index_users_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2261 CREATE UNIQUE INDEX index_users_on_uuid ON users USING btree (uuid);
2265 -- Name: index_virtual_machines_on_hostname; Type: INDEX; Schema: public; Owner: -; Tablespace:
2268 CREATE INDEX index_virtual_machines_on_hostname ON virtual_machines USING btree (hostname);
2272 -- Name: index_virtual_machines_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2275 CREATE INDEX index_virtual_machines_on_owner_uuid ON virtual_machines USING btree (owner_uuid);
2279 -- Name: index_virtual_machines_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2282 CREATE UNIQUE INDEX index_virtual_machines_on_uuid ON virtual_machines USING btree (uuid);
2286 -- Name: index_workflows_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2289 CREATE INDEX index_workflows_on_owner_uuid ON workflows USING btree (owner_uuid);
2293 -- Name: index_workflows_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2296 CREATE UNIQUE INDEX index_workflows_on_uuid ON workflows USING btree (uuid);
2300 -- Name: job_tasks_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2303 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);
2307 -- Name: jobs_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
2310 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))));
2314 -- Name: jobs_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2317 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);
2321 -- Name: keep_disks_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2324 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);
2328 -- Name: keep_services_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2331 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);
2335 -- Name: links_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2338 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);
2342 -- Name: links_tail_name_unique_if_link_class_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
2345 CREATE UNIQUE INDEX links_tail_name_unique_if_link_class_name ON links USING btree (tail_uuid, name) WHERE ((link_class)::text = 'name'::text);
2349 -- Name: logs_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2352 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);
2356 -- Name: nodes_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2359 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);
2363 -- Name: pipeline_instances_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
2366 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)));
2370 -- Name: pipeline_instances_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2373 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);
2377 -- Name: pipeline_template_owner_uuid_name_unique; Type: INDEX; Schema: public; Owner: -; Tablespace:
2380 CREATE UNIQUE INDEX pipeline_template_owner_uuid_name_unique ON pipeline_templates USING btree (owner_uuid, name);
2384 -- Name: pipeline_templates_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
2387 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)));
2391 -- Name: pipeline_templates_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2394 CREATE INDEX pipeline_templates_search_index ON pipeline_templates USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2398 -- Name: repositories_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2401 CREATE INDEX repositories_search_index ON repositories USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2405 -- Name: specimens_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2408 CREATE INDEX specimens_search_index ON specimens USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, material);
2412 -- Name: traits_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2415 CREATE INDEX traits_search_index ON traits USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2419 -- Name: unique_schema_migrations; Type: INDEX; Schema: public; Owner: -; Tablespace:
2422 CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations USING btree (version);
2426 -- Name: users_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2429 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);
2433 -- Name: virtual_machines_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2436 CREATE INDEX virtual_machines_search_index ON virtual_machines USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, hostname);
2440 -- Name: workflows_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
2443 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)) || ' '::text) || COALESCE(definition, ''::text))));
2447 -- Name: workflows_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
2450 CREATE INDEX workflows_search_idx ON workflows USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2454 -- PostgreSQL database dump complete
2457 SET search_path TO "$user",public;
2459 INSERT INTO schema_migrations (version) VALUES ('20121016005009');
2461 INSERT INTO schema_migrations (version) VALUES ('20130105203021');
2463 INSERT INTO schema_migrations (version) VALUES ('20130105224358');
2465 INSERT INTO schema_migrations (version) VALUES ('20130105224618');
2467 INSERT INTO schema_migrations (version) VALUES ('20130107181109');
2469 INSERT INTO schema_migrations (version) VALUES ('20130107212832');
2471 INSERT INTO schema_migrations (version) VALUES ('20130109175700');
2473 INSERT INTO schema_migrations (version) VALUES ('20130109220548');
2475 INSERT INTO schema_migrations (version) VALUES ('20130113214204');
2477 INSERT INTO schema_migrations (version) VALUES ('20130116024233');
2479 INSERT INTO schema_migrations (version) VALUES ('20130116215213');
2481 INSERT INTO schema_migrations (version) VALUES ('20130118002239');
2483 INSERT INTO schema_migrations (version) VALUES ('20130122020042');
2485 INSERT INTO schema_migrations (version) VALUES ('20130122201442');
2487 INSERT INTO schema_migrations (version) VALUES ('20130122221616');
2489 INSERT INTO schema_migrations (version) VALUES ('20130123174514');
2491 INSERT INTO schema_migrations (version) VALUES ('20130123180224');
2493 INSERT INTO schema_migrations (version) VALUES ('20130123180228');
2495 INSERT INTO schema_migrations (version) VALUES ('20130125220425');
2497 INSERT INTO schema_migrations (version) VALUES ('20130128202518');
2499 INSERT INTO schema_migrations (version) VALUES ('20130128231343');
2501 INSERT INTO schema_migrations (version) VALUES ('20130130205749');
2503 INSERT INTO schema_migrations (version) VALUES ('20130203104818');
2505 INSERT INTO schema_migrations (version) VALUES ('20130203104824');
2507 INSERT INTO schema_migrations (version) VALUES ('20130203115329');
2509 INSERT INTO schema_migrations (version) VALUES ('20130207195855');
2511 INSERT INTO schema_migrations (version) VALUES ('20130218181504');
2513 INSERT INTO schema_migrations (version) VALUES ('20130226170000');
2515 INSERT INTO schema_migrations (version) VALUES ('20130313175417');
2517 INSERT INTO schema_migrations (version) VALUES ('20130315155820');
2519 INSERT INTO schema_migrations (version) VALUES ('20130315183626');
2521 INSERT INTO schema_migrations (version) VALUES ('20130315213205');
2523 INSERT INTO schema_migrations (version) VALUES ('20130318002138');
2525 INSERT INTO schema_migrations (version) VALUES ('20130319165853');
2527 INSERT INTO schema_migrations (version) VALUES ('20130319180730');
2529 INSERT INTO schema_migrations (version) VALUES ('20130319194637');
2531 INSERT INTO schema_migrations (version) VALUES ('20130319201431');
2533 INSERT INTO schema_migrations (version) VALUES ('20130319235957');
2535 INSERT INTO schema_migrations (version) VALUES ('20130320000107');
2537 INSERT INTO schema_migrations (version) VALUES ('20130326173804');
2539 INSERT INTO schema_migrations (version) VALUES ('20130326182917');
2541 INSERT INTO schema_migrations (version) VALUES ('20130415020241');
2543 INSERT INTO schema_migrations (version) VALUES ('20130425024459');
2545 INSERT INTO schema_migrations (version) VALUES ('20130425214427');
2547 INSERT INTO schema_migrations (version) VALUES ('20130523060112');
2549 INSERT INTO schema_migrations (version) VALUES ('20130523060213');
2551 INSERT INTO schema_migrations (version) VALUES ('20130524042319');
2553 INSERT INTO schema_migrations (version) VALUES ('20130528134100');
2555 INSERT INTO schema_migrations (version) VALUES ('20130606183519');
2557 INSERT INTO schema_migrations (version) VALUES ('20130608053730');
2559 INSERT INTO schema_migrations (version) VALUES ('20130610202538');
2561 INSERT INTO schema_migrations (version) VALUES ('20130611163736');
2563 INSERT INTO schema_migrations (version) VALUES ('20130612042554');
2565 INSERT INTO schema_migrations (version) VALUES ('20130617150007');
2567 INSERT INTO schema_migrations (version) VALUES ('20130626002829');
2569 INSERT INTO schema_migrations (version) VALUES ('20130626022810');
2571 INSERT INTO schema_migrations (version) VALUES ('20130627154537');
2573 INSERT INTO schema_migrations (version) VALUES ('20130627184333');
2575 INSERT INTO schema_migrations (version) VALUES ('20130708163414');
2577 INSERT INTO schema_migrations (version) VALUES ('20130708182912');
2579 INSERT INTO schema_migrations (version) VALUES ('20130708185153');
2581 INSERT INTO schema_migrations (version) VALUES ('20130724153034');
2583 INSERT INTO schema_migrations (version) VALUES ('20131007180607');
2585 INSERT INTO schema_migrations (version) VALUES ('20140117231056');
2587 INSERT INTO schema_migrations (version) VALUES ('20140124222114');
2589 INSERT INTO schema_migrations (version) VALUES ('20140129184311');
2591 INSERT INTO schema_migrations (version) VALUES ('20140317135600');
2593 INSERT INTO schema_migrations (version) VALUES ('20140319160547');
2595 INSERT INTO schema_migrations (version) VALUES ('20140321191343');
2597 INSERT INTO schema_migrations (version) VALUES ('20140324024606');
2599 INSERT INTO schema_migrations (version) VALUES ('20140325175653');
2601 INSERT INTO schema_migrations (version) VALUES ('20140402001908');
2603 INSERT INTO schema_migrations (version) VALUES ('20140407184311');
2605 INSERT INTO schema_migrations (version) VALUES ('20140421140924');
2607 INSERT INTO schema_migrations (version) VALUES ('20140421151939');
2609 INSERT INTO schema_migrations (version) VALUES ('20140421151940');
2611 INSERT INTO schema_migrations (version) VALUES ('20140422011506');
2613 INSERT INTO schema_migrations (version) VALUES ('20140423132913');
2615 INSERT INTO schema_migrations (version) VALUES ('20140423133559');
2617 INSERT INTO schema_migrations (version) VALUES ('20140501165548');
2619 INSERT INTO schema_migrations (version) VALUES ('20140519205916');
2621 INSERT INTO schema_migrations (version) VALUES ('20140527152921');
2623 INSERT INTO schema_migrations (version) VALUES ('20140530200539');
2625 INSERT INTO schema_migrations (version) VALUES ('20140601022548');
2627 INSERT INTO schema_migrations (version) VALUES ('20140602143352');
2629 INSERT INTO schema_migrations (version) VALUES ('20140607150616');
2631 INSERT INTO schema_migrations (version) VALUES ('20140611173003');
2633 INSERT INTO schema_migrations (version) VALUES ('20140627210837');
2635 INSERT INTO schema_migrations (version) VALUES ('20140709172343');
2637 INSERT INTO schema_migrations (version) VALUES ('20140714184006');
2639 INSERT INTO schema_migrations (version) VALUES ('20140811184643');
2641 INSERT INTO schema_migrations (version) VALUES ('20140817035914');
2643 INSERT INTO schema_migrations (version) VALUES ('20140818125735');
2645 INSERT INTO schema_migrations (version) VALUES ('20140826180337');
2647 INSERT INTO schema_migrations (version) VALUES ('20140828141043');
2649 INSERT INTO schema_migrations (version) VALUES ('20140909183946');
2651 INSERT INTO schema_migrations (version) VALUES ('20140911221252');
2653 INSERT INTO schema_migrations (version) VALUES ('20140918141529');
2655 INSERT INTO schema_migrations (version) VALUES ('20140918153541');
2657 INSERT INTO schema_migrations (version) VALUES ('20140918153705');
2659 INSERT INTO schema_migrations (version) VALUES ('20140924091559');
2661 INSERT INTO schema_migrations (version) VALUES ('20141111133038');
2663 INSERT INTO schema_migrations (version) VALUES ('20141208164553');
2665 INSERT INTO schema_migrations (version) VALUES ('20141208174553');
2667 INSERT INTO schema_migrations (version) VALUES ('20141208174653');
2669 INSERT INTO schema_migrations (version) VALUES ('20141208185217');
2671 INSERT INTO schema_migrations (version) VALUES ('20150122175935');
2673 INSERT INTO schema_migrations (version) VALUES ('20150123142953');
2675 INSERT INTO schema_migrations (version) VALUES ('20150203180223');
2677 INSERT INTO schema_migrations (version) VALUES ('20150206210804');
2679 INSERT INTO schema_migrations (version) VALUES ('20150206230342');
2681 INSERT INTO schema_migrations (version) VALUES ('20150216193428');
2683 INSERT INTO schema_migrations (version) VALUES ('20150303210106');
2685 INSERT INTO schema_migrations (version) VALUES ('20150312151136');
2687 INSERT INTO schema_migrations (version) VALUES ('20150317132720');
2689 INSERT INTO schema_migrations (version) VALUES ('20150324152204');
2691 INSERT INTO schema_migrations (version) VALUES ('20150423145759');
2693 INSERT INTO schema_migrations (version) VALUES ('20150512193020');
2695 INSERT INTO schema_migrations (version) VALUES ('20150526180251');
2697 INSERT INTO schema_migrations (version) VALUES ('20151202151426');
2699 INSERT INTO schema_migrations (version) VALUES ('20151215134304');
2701 INSERT INTO schema_migrations (version) VALUES ('20151229214707');
2703 INSERT INTO schema_migrations (version) VALUES ('20160208210629');
2705 INSERT INTO schema_migrations (version) VALUES ('20160209155729');
2707 INSERT INTO schema_migrations (version) VALUES ('20160324144017');
2709 INSERT INTO schema_migrations (version) VALUES ('20160506175108');
2711 INSERT INTO schema_migrations (version) VALUES ('20160509143250');
2713 INSERT INTO schema_migrations (version) VALUES ('20160808151559');
2715 INSERT INTO schema_migrations (version) VALUES ('20160819195557');
2717 INSERT INTO schema_migrations (version) VALUES ('20160819195725');
2719 INSERT INTO schema_migrations (version) VALUES ('20160901210110');
2721 INSERT INTO schema_migrations (version) VALUES ('20160909181442');
2723 INSERT INTO schema_migrations (version) VALUES ('20160926194129');
2725 INSERT INTO schema_migrations (version) VALUES ('20161019171346');
2727 INSERT INTO schema_migrations (version) VALUES ('20161111143147');
2729 INSERT INTO schema_migrations (version) VALUES ('20161115171221');
2731 INSERT INTO schema_migrations (version) VALUES ('20161115174218');
2733 INSERT INTO schema_migrations (version) VALUES ('20161213172944');
2735 INSERT INTO schema_migrations (version) VALUES ('20161222153434');
2737 INSERT INTO schema_migrations (version) VALUES ('20161223090712');
2739 INSERT INTO schema_migrations (version) VALUES ('20170102153111');
2741 INSERT INTO schema_migrations (version) VALUES ('20170105160301');