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 expires_at timestamp without time zone,
173 file_names character varying(8192)
178 -- Name: collections_id_seq; Type: SEQUENCE; Schema: public; Owner: -
181 CREATE SEQUENCE collections_id_seq
190 -- Name: collections_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
193 ALTER SEQUENCE collections_id_seq OWNED BY collections.id;
197 -- Name: commit_ancestors; Type: TABLE; Schema: public; Owner: -; Tablespace:
200 CREATE TABLE commit_ancestors (
202 repository_name character varying(255),
203 descendant character varying(255) NOT NULL,
204 ancestor character varying(255) NOT NULL,
205 "is" boolean DEFAULT false NOT NULL,
206 created_at timestamp without time zone NOT NULL,
207 updated_at timestamp without time zone NOT NULL
212 -- Name: commit_ancestors_id_seq; Type: SEQUENCE; Schema: public; Owner: -
215 CREATE SEQUENCE commit_ancestors_id_seq
224 -- Name: commit_ancestors_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
227 ALTER SEQUENCE commit_ancestors_id_seq OWNED BY commit_ancestors.id;
231 -- Name: commits; Type: TABLE; Schema: public; Owner: -; Tablespace:
234 CREATE TABLE commits (
236 repository_name character varying(255),
237 sha1 character varying(255),
238 message character varying(255),
239 created_at timestamp without time zone NOT NULL,
240 updated_at timestamp without time zone NOT NULL
245 -- Name: commits_id_seq; Type: SEQUENCE; Schema: public; Owner: -
248 CREATE SEQUENCE commits_id_seq
257 -- Name: commits_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
260 ALTER SEQUENCE commits_id_seq OWNED BY commits.id;
264 -- Name: container_requests; Type: TABLE; Schema: public; Owner: -; Tablespace:
267 CREATE TABLE container_requests (
269 uuid character varying(255),
270 owner_uuid character varying(255),
271 created_at timestamp without time zone NOT NULL,
272 modified_at timestamp without time zone,
273 modified_by_client_uuid character varying(255),
274 modified_by_user_uuid character varying(255),
275 name character varying(255),
278 state character varying(255),
279 requesting_container_uuid character varying(255),
280 container_uuid character varying(255),
281 container_count_max integer,
283 runtime_constraints text,
284 container_image character varying(255),
286 cwd character varying(255),
288 output_path character varying(255),
290 expires_at timestamp without time zone,
292 updated_at timestamp without time zone NOT NULL,
293 container_count integer DEFAULT 0,
294 use_existing boolean DEFAULT true
299 -- Name: container_requests_id_seq; Type: SEQUENCE; Schema: public; Owner: -
302 CREATE SEQUENCE container_requests_id_seq
311 -- Name: container_requests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
314 ALTER SEQUENCE container_requests_id_seq OWNED BY container_requests.id;
318 -- Name: containers; Type: TABLE; Schema: public; Owner: -; Tablespace:
321 CREATE TABLE containers (
323 uuid character varying(255),
324 owner_uuid character varying(255),
325 created_at timestamp without time zone NOT NULL,
326 modified_at timestamp without time zone,
327 modified_by_client_uuid character varying(255),
328 modified_by_user_uuid character varying(255),
329 state character varying(255),
330 started_at timestamp without time zone,
331 finished_at timestamp without time zone,
332 log character varying(255),
334 cwd character varying(255),
336 output_path character varying(255),
338 runtime_constraints text,
339 output character varying(255),
340 container_image character varying(255),
341 progress double precision,
343 updated_at timestamp without time zone NOT NULL,
345 auth_uuid character varying(255),
346 locked_by_uuid character varying(255)
351 -- Name: containers_id_seq; Type: SEQUENCE; Schema: public; Owner: -
354 CREATE SEQUENCE containers_id_seq
363 -- Name: containers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
366 ALTER SEQUENCE containers_id_seq OWNED BY containers.id;
370 -- Name: groups; Type: TABLE; Schema: public; Owner: -; Tablespace:
373 CREATE TABLE groups (
375 uuid character varying(255),
376 owner_uuid character varying(255),
377 created_at timestamp without time zone NOT NULL,
378 modified_by_client_uuid character varying(255),
379 modified_by_user_uuid character varying(255),
380 modified_at timestamp without time zone,
381 name character varying(255) NOT NULL,
382 description character varying(524288),
383 updated_at timestamp without time zone NOT NULL,
384 group_class character varying(255)
389 -- Name: groups_id_seq; Type: SEQUENCE; Schema: public; Owner: -
392 CREATE SEQUENCE groups_id_seq
401 -- Name: groups_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
404 ALTER SEQUENCE groups_id_seq OWNED BY groups.id;
408 -- Name: humans; Type: TABLE; Schema: public; Owner: -; Tablespace:
411 CREATE TABLE humans (
413 uuid character varying(255) NOT NULL,
414 owner_uuid character varying(255) NOT NULL,
415 modified_by_client_uuid character varying(255),
416 modified_by_user_uuid character varying(255),
417 modified_at timestamp without time zone,
419 created_at timestamp without time zone NOT NULL,
420 updated_at timestamp without time zone NOT NULL
425 -- Name: humans_id_seq; Type: SEQUENCE; Schema: public; Owner: -
428 CREATE SEQUENCE humans_id_seq
437 -- Name: humans_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
440 ALTER SEQUENCE humans_id_seq OWNED BY humans.id;
444 -- Name: job_tasks; Type: TABLE; Schema: public; Owner: -; Tablespace:
447 CREATE TABLE job_tasks (
449 uuid character varying(255),
450 owner_uuid character varying(255),
451 modified_by_client_uuid character varying(255),
452 modified_by_user_uuid character varying(255),
453 modified_at timestamp without time zone,
454 job_uuid character varying(255),
458 progress double precision,
460 created_at timestamp without time zone NOT NULL,
461 updated_at timestamp without time zone NOT NULL,
462 created_by_job_task_uuid character varying(255),
464 started_at timestamp without time zone,
465 finished_at timestamp without time zone
470 -- Name: job_tasks_id_seq; Type: SEQUENCE; Schema: public; Owner: -
473 CREATE SEQUENCE job_tasks_id_seq
482 -- Name: job_tasks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
485 ALTER SEQUENCE job_tasks_id_seq OWNED BY job_tasks.id;
489 -- Name: job_tasks_qsequence_seq; Type: SEQUENCE; Schema: public; Owner: -
492 CREATE SEQUENCE job_tasks_qsequence_seq
501 -- Name: job_tasks_qsequence_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
504 ALTER SEQUENCE job_tasks_qsequence_seq OWNED BY job_tasks.qsequence;
508 -- Name: jobs; Type: TABLE; Schema: public; Owner: -; Tablespace:
513 uuid character varying(255),
514 owner_uuid character varying(255),
515 modified_by_client_uuid character varying(255),
516 modified_by_user_uuid character varying(255),
517 modified_at timestamp without time zone,
518 submit_id character varying(255),
519 script character varying(255),
520 script_version character varying(255),
521 script_parameters text,
522 cancelled_by_client_uuid character varying(255),
523 cancelled_by_user_uuid character varying(255),
524 cancelled_at timestamp without time zone,
525 started_at timestamp without time zone,
526 finished_at timestamp without time zone,
529 output character varying(255),
530 created_at timestamp without time zone NOT NULL,
531 updated_at timestamp without time zone NOT NULL,
532 is_locked_by_uuid character varying(255),
533 log character varying(255),
535 runtime_constraints text,
536 nondeterministic boolean,
537 repository character varying(255),
538 supplied_script_version character varying(255),
539 docker_image_locator character varying(255),
540 priority integer DEFAULT 0 NOT NULL,
541 description character varying(524288),
542 state character varying(255),
543 arvados_sdk_version character varying(255),
545 script_parameters_digest character varying(255)
550 -- Name: jobs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
553 CREATE SEQUENCE jobs_id_seq
562 -- Name: jobs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
565 ALTER SEQUENCE jobs_id_seq OWNED BY jobs.id;
569 -- Name: keep_disks; Type: TABLE; Schema: public; Owner: -; Tablespace:
572 CREATE TABLE keep_disks (
574 uuid character varying(255) NOT NULL,
575 owner_uuid character varying(255) NOT NULL,
576 modified_by_client_uuid character varying(255),
577 modified_by_user_uuid character varying(255),
578 modified_at timestamp without time zone,
579 ping_secret character varying(255) NOT NULL,
580 node_uuid character varying(255),
581 filesystem_uuid character varying(255),
584 is_readable boolean DEFAULT true NOT NULL,
585 is_writable boolean DEFAULT true NOT NULL,
586 last_read_at timestamp without time zone,
587 last_write_at timestamp without time zone,
588 last_ping_at timestamp without time zone,
589 created_at timestamp without time zone NOT NULL,
590 updated_at timestamp without time zone NOT NULL,
591 keep_service_uuid character varying(255)
596 -- Name: keep_disks_id_seq; Type: SEQUENCE; Schema: public; Owner: -
599 CREATE SEQUENCE keep_disks_id_seq
608 -- Name: keep_disks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
611 ALTER SEQUENCE keep_disks_id_seq OWNED BY keep_disks.id;
615 -- Name: keep_services; Type: TABLE; Schema: public; Owner: -; Tablespace:
618 CREATE TABLE keep_services (
620 uuid character varying(255) NOT NULL,
621 owner_uuid character varying(255) NOT NULL,
622 modified_by_client_uuid character varying(255),
623 modified_by_user_uuid character varying(255),
624 modified_at timestamp without time zone,
625 service_host character varying(255),
626 service_port integer,
627 service_ssl_flag boolean,
628 service_type character varying(255),
629 created_at timestamp without time zone NOT NULL,
630 updated_at timestamp without time zone NOT NULL,
631 read_only boolean DEFAULT false NOT NULL
636 -- Name: keep_services_id_seq; Type: SEQUENCE; Schema: public; Owner: -
639 CREATE SEQUENCE keep_services_id_seq
648 -- Name: keep_services_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
651 ALTER SEQUENCE keep_services_id_seq OWNED BY keep_services.id;
655 -- Name: links; Type: TABLE; Schema: public; Owner: -; Tablespace:
660 uuid character varying(255),
661 owner_uuid character varying(255),
662 created_at timestamp without time zone NOT NULL,
663 modified_by_client_uuid character varying(255),
664 modified_by_user_uuid character varying(255),
665 modified_at timestamp without time zone,
666 tail_uuid character varying(255),
667 link_class character varying(255),
668 name character varying(255),
669 head_uuid character varying(255),
671 updated_at timestamp without time zone NOT NULL
676 -- Name: links_id_seq; Type: SEQUENCE; Schema: public; Owner: -
679 CREATE SEQUENCE links_id_seq
688 -- Name: links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
691 ALTER SEQUENCE links_id_seq OWNED BY links.id;
695 -- Name: logs; Type: TABLE; Schema: public; Owner: -; Tablespace:
700 uuid character varying(255),
701 owner_uuid character varying(255),
702 modified_by_client_uuid character varying(255),
703 modified_by_user_uuid character varying(255),
704 object_uuid character varying(255),
705 event_at timestamp without time zone,
706 event_type character varying(255),
709 created_at timestamp without time zone NOT NULL,
710 updated_at timestamp without time zone NOT NULL,
711 modified_at timestamp without time zone,
712 object_owner_uuid character varying(255)
717 -- Name: logs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
720 CREATE SEQUENCE logs_id_seq
729 -- Name: logs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
732 ALTER SEQUENCE logs_id_seq OWNED BY logs.id;
736 -- Name: nodes; Type: TABLE; Schema: public; Owner: -; Tablespace:
741 uuid character varying(255),
742 owner_uuid character varying(255),
743 created_at timestamp without time zone NOT NULL,
744 modified_by_client_uuid character varying(255),
745 modified_by_user_uuid character varying(255),
746 modified_at timestamp without time zone,
748 hostname character varying(255),
749 domain character varying(255),
750 ip_address character varying(255),
751 first_ping_at timestamp without time zone,
752 last_ping_at timestamp without time zone,
754 updated_at timestamp without time zone NOT NULL,
756 job_uuid character varying(255)
761 -- Name: nodes_id_seq; Type: SEQUENCE; Schema: public; Owner: -
764 CREATE SEQUENCE nodes_id_seq
773 -- Name: nodes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
776 ALTER SEQUENCE nodes_id_seq OWNED BY nodes.id;
780 -- Name: pipeline_instances; Type: TABLE; Schema: public; Owner: -; Tablespace:
783 CREATE TABLE pipeline_instances (
785 uuid character varying(255),
786 owner_uuid character varying(255),
787 created_at timestamp without time zone NOT NULL,
788 modified_by_client_uuid character varying(255),
789 modified_by_user_uuid character varying(255),
790 modified_at timestamp without time zone,
791 pipeline_template_uuid character varying(255),
792 name character varying(255),
794 updated_at timestamp without time zone NOT NULL,
796 state character varying(255),
797 components_summary text,
798 started_at timestamp without time zone,
799 finished_at timestamp without time zone,
800 description character varying(524288)
805 -- Name: pipeline_instances_id_seq; Type: SEQUENCE; Schema: public; Owner: -
808 CREATE SEQUENCE pipeline_instances_id_seq
817 -- Name: pipeline_instances_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
820 ALTER SEQUENCE pipeline_instances_id_seq OWNED BY pipeline_instances.id;
824 -- Name: pipeline_templates; Type: TABLE; Schema: public; Owner: -; Tablespace:
827 CREATE TABLE pipeline_templates (
829 uuid character varying(255),
830 owner_uuid character varying(255),
831 created_at timestamp without time zone NOT NULL,
832 modified_by_client_uuid character varying(255),
833 modified_by_user_uuid character varying(255),
834 modified_at timestamp without time zone,
835 name character varying(255),
837 updated_at timestamp without time zone NOT NULL,
838 description character varying(524288)
843 -- Name: pipeline_templates_id_seq; Type: SEQUENCE; Schema: public; Owner: -
846 CREATE SEQUENCE pipeline_templates_id_seq
855 -- Name: pipeline_templates_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
858 ALTER SEQUENCE pipeline_templates_id_seq OWNED BY pipeline_templates.id;
862 -- Name: repositories; Type: TABLE; Schema: public; Owner: -; Tablespace:
865 CREATE TABLE repositories (
867 uuid character varying(255) NOT NULL,
868 owner_uuid character varying(255) NOT NULL,
869 modified_by_client_uuid character varying(255),
870 modified_by_user_uuid character varying(255),
871 modified_at timestamp without time zone,
872 name character varying(255),
873 created_at timestamp without time zone NOT NULL,
874 updated_at timestamp without time zone NOT NULL
879 -- Name: repositories_id_seq; Type: SEQUENCE; Schema: public; Owner: -
882 CREATE SEQUENCE repositories_id_seq
891 -- Name: repositories_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
894 ALTER SEQUENCE repositories_id_seq OWNED BY repositories.id;
898 -- Name: schema_migrations; Type: TABLE; Schema: public; Owner: -; Tablespace:
901 CREATE TABLE schema_migrations (
902 version character varying(255) NOT NULL
907 -- Name: specimens; Type: TABLE; Schema: public; Owner: -; Tablespace:
910 CREATE TABLE specimens (
912 uuid character varying(255),
913 owner_uuid character varying(255),
914 created_at timestamp without time zone NOT NULL,
915 modified_by_client_uuid character varying(255),
916 modified_by_user_uuid character varying(255),
917 modified_at timestamp without time zone,
918 material character varying(255),
919 updated_at timestamp without time zone NOT NULL,
925 -- Name: specimens_id_seq; Type: SEQUENCE; Schema: public; Owner: -
928 CREATE SEQUENCE specimens_id_seq
937 -- Name: specimens_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
940 ALTER SEQUENCE specimens_id_seq OWNED BY specimens.id;
944 -- Name: traits; Type: TABLE; Schema: public; Owner: -; Tablespace:
947 CREATE TABLE traits (
949 uuid character varying(255) NOT NULL,
950 owner_uuid character varying(255) NOT NULL,
951 modified_by_client_uuid character varying(255),
952 modified_by_user_uuid character varying(255),
953 modified_at timestamp without time zone,
954 name character varying(255),
956 created_at timestamp without time zone NOT NULL,
957 updated_at timestamp without time zone NOT NULL
962 -- Name: traits_id_seq; Type: SEQUENCE; Schema: public; Owner: -
965 CREATE SEQUENCE traits_id_seq
974 -- Name: traits_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
977 ALTER SEQUENCE traits_id_seq OWNED BY traits.id;
981 -- Name: users; Type: TABLE; Schema: public; Owner: -; Tablespace:
986 uuid character varying(255),
987 owner_uuid character varying(255) NOT NULL,
988 created_at timestamp without time zone NOT NULL,
989 modified_by_client_uuid character varying(255),
990 modified_by_user_uuid character varying(255),
991 modified_at timestamp without time zone,
992 email character varying(255),
993 first_name character varying(255),
994 last_name character varying(255),
995 identity_url character varying(255),
998 updated_at timestamp without time zone NOT NULL,
999 default_owner_uuid character varying(255),
1000 is_active boolean DEFAULT false,
1001 username character varying(255)
1006 -- Name: users_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1009 CREATE SEQUENCE users_id_seq
1018 -- Name: users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1021 ALTER SEQUENCE users_id_seq OWNED BY users.id;
1025 -- Name: virtual_machines; Type: TABLE; Schema: public; Owner: -; Tablespace:
1028 CREATE TABLE virtual_machines (
1029 id integer NOT NULL,
1030 uuid character varying(255) NOT NULL,
1031 owner_uuid character varying(255) NOT NULL,
1032 modified_by_client_uuid character varying(255),
1033 modified_by_user_uuid character varying(255),
1034 modified_at timestamp without time zone,
1035 hostname character varying(255),
1036 created_at timestamp without time zone NOT NULL,
1037 updated_at timestamp without time zone NOT NULL
1042 -- Name: virtual_machines_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1045 CREATE SEQUENCE virtual_machines_id_seq
1054 -- Name: virtual_machines_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1057 ALTER SEQUENCE virtual_machines_id_seq OWNED BY virtual_machines.id;
1061 -- Name: workflows; Type: TABLE; Schema: public; Owner: -; Tablespace:
1064 CREATE TABLE workflows (
1065 id integer NOT NULL,
1066 uuid character varying(255),
1067 owner_uuid character varying(255),
1068 created_at timestamp without time zone NOT NULL,
1069 modified_at timestamp without time zone,
1070 modified_by_client_uuid character varying(255),
1071 modified_by_user_uuid character varying(255),
1072 name character varying(255),
1075 updated_at timestamp without time zone NOT NULL
1080 -- Name: workflows_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1083 CREATE SEQUENCE workflows_id_seq
1092 -- Name: workflows_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1095 ALTER SEQUENCE workflows_id_seq OWNED BY workflows.id;
1099 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1102 ALTER TABLE ONLY api_client_authorizations ALTER COLUMN id SET DEFAULT nextval('api_client_authorizations_id_seq'::regclass);
1106 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1109 ALTER TABLE ONLY api_clients ALTER COLUMN id SET DEFAULT nextval('api_clients_id_seq'::regclass);
1113 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1116 ALTER TABLE ONLY authorized_keys ALTER COLUMN id SET DEFAULT nextval('authorized_keys_id_seq'::regclass);
1120 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1123 ALTER TABLE ONLY collections ALTER COLUMN id SET DEFAULT nextval('collections_id_seq'::regclass);
1127 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1130 ALTER TABLE ONLY commit_ancestors ALTER COLUMN id SET DEFAULT nextval('commit_ancestors_id_seq'::regclass);
1134 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1137 ALTER TABLE ONLY commits ALTER COLUMN id SET DEFAULT nextval('commits_id_seq'::regclass);
1141 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1144 ALTER TABLE ONLY container_requests ALTER COLUMN id SET DEFAULT nextval('container_requests_id_seq'::regclass);
1148 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1151 ALTER TABLE ONLY containers ALTER COLUMN id SET DEFAULT nextval('containers_id_seq'::regclass);
1155 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1158 ALTER TABLE ONLY groups ALTER COLUMN id SET DEFAULT nextval('groups_id_seq'::regclass);
1162 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1165 ALTER TABLE ONLY humans ALTER COLUMN id SET DEFAULT nextval('humans_id_seq'::regclass);
1169 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1172 ALTER TABLE ONLY job_tasks ALTER COLUMN id SET DEFAULT nextval('job_tasks_id_seq'::regclass);
1176 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1179 ALTER TABLE ONLY jobs ALTER COLUMN id SET DEFAULT nextval('jobs_id_seq'::regclass);
1183 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1186 ALTER TABLE ONLY keep_disks ALTER COLUMN id SET DEFAULT nextval('keep_disks_id_seq'::regclass);
1190 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1193 ALTER TABLE ONLY keep_services ALTER COLUMN id SET DEFAULT nextval('keep_services_id_seq'::regclass);
1197 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1200 ALTER TABLE ONLY links ALTER COLUMN id SET DEFAULT nextval('links_id_seq'::regclass);
1204 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1207 ALTER TABLE ONLY logs ALTER COLUMN id SET DEFAULT nextval('logs_id_seq'::regclass);
1211 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1214 ALTER TABLE ONLY nodes ALTER COLUMN id SET DEFAULT nextval('nodes_id_seq'::regclass);
1218 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1221 ALTER TABLE ONLY pipeline_instances ALTER COLUMN id SET DEFAULT nextval('pipeline_instances_id_seq'::regclass);
1225 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1228 ALTER TABLE ONLY pipeline_templates ALTER COLUMN id SET DEFAULT nextval('pipeline_templates_id_seq'::regclass);
1232 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1235 ALTER TABLE ONLY repositories ALTER COLUMN id SET DEFAULT nextval('repositories_id_seq'::regclass);
1239 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1242 ALTER TABLE ONLY specimens ALTER COLUMN id SET DEFAULT nextval('specimens_id_seq'::regclass);
1246 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1249 ALTER TABLE ONLY traits ALTER COLUMN id SET DEFAULT nextval('traits_id_seq'::regclass);
1253 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1256 ALTER TABLE ONLY users ALTER COLUMN id SET DEFAULT nextval('users_id_seq'::regclass);
1260 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1263 ALTER TABLE ONLY virtual_machines ALTER COLUMN id SET DEFAULT nextval('virtual_machines_id_seq'::regclass);
1267 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1270 ALTER TABLE ONLY workflows ALTER COLUMN id SET DEFAULT nextval('workflows_id_seq'::regclass);
1274 -- Name: api_client_authorizations_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1277 ALTER TABLE ONLY api_client_authorizations
1278 ADD CONSTRAINT api_client_authorizations_pkey PRIMARY KEY (id);
1282 -- Name: api_clients_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1285 ALTER TABLE ONLY api_clients
1286 ADD CONSTRAINT api_clients_pkey PRIMARY KEY (id);
1290 -- Name: authorized_keys_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1293 ALTER TABLE ONLY authorized_keys
1294 ADD CONSTRAINT authorized_keys_pkey PRIMARY KEY (id);
1298 -- Name: collections_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1301 ALTER TABLE ONLY collections
1302 ADD CONSTRAINT collections_pkey PRIMARY KEY (id);
1306 -- Name: commit_ancestors_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1309 ALTER TABLE ONLY commit_ancestors
1310 ADD CONSTRAINT commit_ancestors_pkey PRIMARY KEY (id);
1314 -- Name: commits_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1317 ALTER TABLE ONLY commits
1318 ADD CONSTRAINT commits_pkey PRIMARY KEY (id);
1322 -- Name: container_requests_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1325 ALTER TABLE ONLY container_requests
1326 ADD CONSTRAINT container_requests_pkey PRIMARY KEY (id);
1330 -- Name: containers_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1333 ALTER TABLE ONLY containers
1334 ADD CONSTRAINT containers_pkey PRIMARY KEY (id);
1338 -- Name: groups_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1341 ALTER TABLE ONLY groups
1342 ADD CONSTRAINT groups_pkey PRIMARY KEY (id);
1346 -- Name: humans_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1349 ALTER TABLE ONLY humans
1350 ADD CONSTRAINT humans_pkey PRIMARY KEY (id);
1354 -- Name: job_tasks_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1357 ALTER TABLE ONLY job_tasks
1358 ADD CONSTRAINT job_tasks_pkey PRIMARY KEY (id);
1362 -- Name: jobs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1365 ALTER TABLE ONLY jobs
1366 ADD CONSTRAINT jobs_pkey PRIMARY KEY (id);
1370 -- Name: keep_disks_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1373 ALTER TABLE ONLY keep_disks
1374 ADD CONSTRAINT keep_disks_pkey PRIMARY KEY (id);
1378 -- Name: keep_services_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1381 ALTER TABLE ONLY keep_services
1382 ADD CONSTRAINT keep_services_pkey PRIMARY KEY (id);
1386 -- Name: links_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1389 ALTER TABLE ONLY links
1390 ADD CONSTRAINT links_pkey PRIMARY KEY (id);
1394 -- Name: logs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1397 ALTER TABLE ONLY logs
1398 ADD CONSTRAINT logs_pkey PRIMARY KEY (id);
1402 -- Name: nodes_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1405 ALTER TABLE ONLY nodes
1406 ADD CONSTRAINT nodes_pkey PRIMARY KEY (id);
1410 -- Name: pipeline_instances_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1413 ALTER TABLE ONLY pipeline_instances
1414 ADD CONSTRAINT pipeline_instances_pkey PRIMARY KEY (id);
1418 -- Name: pipeline_templates_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1421 ALTER TABLE ONLY pipeline_templates
1422 ADD CONSTRAINT pipeline_templates_pkey PRIMARY KEY (id);
1426 -- Name: repositories_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1429 ALTER TABLE ONLY repositories
1430 ADD CONSTRAINT repositories_pkey PRIMARY KEY (id);
1434 -- Name: specimens_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1437 ALTER TABLE ONLY specimens
1438 ADD CONSTRAINT specimens_pkey PRIMARY KEY (id);
1442 -- Name: traits_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1445 ALTER TABLE ONLY traits
1446 ADD CONSTRAINT traits_pkey PRIMARY KEY (id);
1450 -- Name: users_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1453 ALTER TABLE ONLY users
1454 ADD CONSTRAINT users_pkey PRIMARY KEY (id);
1458 -- Name: virtual_machines_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1461 ALTER TABLE ONLY virtual_machines
1462 ADD CONSTRAINT virtual_machines_pkey PRIMARY KEY (id);
1466 -- Name: workflows_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
1469 ALTER TABLE ONLY workflows
1470 ADD CONSTRAINT workflows_pkey PRIMARY KEY (id);
1474 -- Name: api_client_authorizations_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1477 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);
1481 -- Name: api_clients_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1484 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);
1488 -- Name: authorized_keys_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
1491 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);
1495 -- Name: collection_owner_uuid_name_unique; Type: INDEX; Schema: public; Owner: -; Tablespace:
1498 CREATE UNIQUE INDEX collection_owner_uuid_name_unique ON collections USING btree (owner_uuid, name) WHERE (expires_at IS NULL);
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, (((((((((((((((((' '::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(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, (((((((((((((((((((((((((((((((((((' '::text || (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))));
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);
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, (((((((((((((' '::text || (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_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1659 CREATE INDEX index_collections_on_modified_at ON collections USING btree (modified_at);
1663 -- Name: index_collections_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1666 CREATE INDEX index_collections_on_owner_uuid ON collections USING btree (owner_uuid);
1670 -- Name: index_collections_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1673 CREATE UNIQUE INDEX index_collections_on_uuid ON collections USING btree (uuid);
1677 -- Name: index_commit_ancestors_on_descendant_and_ancestor; Type: INDEX; Schema: public; Owner: -; Tablespace:
1680 CREATE UNIQUE INDEX index_commit_ancestors_on_descendant_and_ancestor ON commit_ancestors USING btree (descendant, ancestor);
1684 -- Name: index_commits_on_repository_name_and_sha1; Type: INDEX; Schema: public; Owner: -; Tablespace:
1687 CREATE UNIQUE INDEX index_commits_on_repository_name_and_sha1 ON commits USING btree (repository_name, sha1);
1691 -- Name: index_container_requests_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1694 CREATE INDEX index_container_requests_on_owner_uuid ON container_requests USING btree (owner_uuid);
1698 -- Name: index_container_requests_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1701 CREATE UNIQUE INDEX index_container_requests_on_uuid ON container_requests USING btree (uuid);
1705 -- Name: index_containers_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1708 CREATE INDEX index_containers_on_owner_uuid ON containers USING btree (owner_uuid);
1712 -- Name: index_containers_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1715 CREATE UNIQUE INDEX index_containers_on_uuid ON containers USING btree (uuid);
1719 -- Name: index_groups_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1722 CREATE INDEX index_groups_on_created_at ON groups USING btree (created_at);
1726 -- Name: index_groups_on_group_class; Type: INDEX; Schema: public; Owner: -; Tablespace:
1729 CREATE INDEX index_groups_on_group_class ON groups USING btree (group_class);
1733 -- Name: index_groups_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1736 CREATE INDEX index_groups_on_modified_at ON groups USING btree (modified_at);
1740 -- Name: index_groups_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1743 CREATE INDEX index_groups_on_owner_uuid ON groups USING btree (owner_uuid);
1747 -- Name: index_groups_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1750 CREATE UNIQUE INDEX index_groups_on_uuid ON groups USING btree (uuid);
1754 -- Name: index_humans_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1757 CREATE INDEX index_humans_on_owner_uuid ON humans USING btree (owner_uuid);
1761 -- Name: index_humans_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1764 CREATE UNIQUE INDEX index_humans_on_uuid ON humans USING btree (uuid);
1768 -- Name: index_job_tasks_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1771 CREATE INDEX index_job_tasks_on_created_at ON job_tasks USING btree (created_at);
1775 -- Name: index_job_tasks_on_job_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1778 CREATE INDEX index_job_tasks_on_job_uuid ON job_tasks USING btree (job_uuid);
1782 -- Name: index_job_tasks_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1785 CREATE INDEX index_job_tasks_on_modified_at ON job_tasks USING btree (modified_at);
1789 -- Name: index_job_tasks_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1792 CREATE INDEX index_job_tasks_on_owner_uuid ON job_tasks USING btree (owner_uuid);
1796 -- Name: index_job_tasks_on_sequence; Type: INDEX; Schema: public; Owner: -; Tablespace:
1799 CREATE INDEX index_job_tasks_on_sequence ON job_tasks USING btree (sequence);
1803 -- Name: index_job_tasks_on_success; Type: INDEX; Schema: public; Owner: -; Tablespace:
1806 CREATE INDEX index_job_tasks_on_success ON job_tasks USING btree (success);
1810 -- Name: index_job_tasks_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1813 CREATE UNIQUE INDEX index_job_tasks_on_uuid ON job_tasks USING btree (uuid);
1817 -- Name: index_jobs_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1820 CREATE INDEX index_jobs_on_created_at ON jobs USING btree (created_at);
1824 -- Name: index_jobs_on_finished_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1827 CREATE INDEX index_jobs_on_finished_at ON jobs USING btree (finished_at);
1831 -- Name: index_jobs_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1834 CREATE INDEX index_jobs_on_modified_at ON jobs USING btree (modified_at);
1838 -- Name: index_jobs_on_output; Type: INDEX; Schema: public; Owner: -; Tablespace:
1841 CREATE INDEX index_jobs_on_output ON jobs USING btree (output);
1845 -- Name: index_jobs_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1848 CREATE INDEX index_jobs_on_owner_uuid ON jobs USING btree (owner_uuid);
1852 -- Name: index_jobs_on_script; Type: INDEX; Schema: public; Owner: -; Tablespace:
1855 CREATE INDEX index_jobs_on_script ON jobs USING btree (script);
1859 -- Name: index_jobs_on_script_parameters_digest; Type: INDEX; Schema: public; Owner: -; Tablespace:
1862 CREATE INDEX index_jobs_on_script_parameters_digest ON jobs USING btree (script_parameters_digest);
1866 -- Name: index_jobs_on_started_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1869 CREATE INDEX index_jobs_on_started_at ON jobs USING btree (started_at);
1873 -- Name: index_jobs_on_submit_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
1876 CREATE UNIQUE INDEX index_jobs_on_submit_id ON jobs USING btree (submit_id);
1880 -- Name: index_jobs_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1883 CREATE UNIQUE INDEX index_jobs_on_uuid ON jobs USING btree (uuid);
1887 -- Name: index_keep_disks_on_filesystem_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1890 CREATE INDEX index_keep_disks_on_filesystem_uuid ON keep_disks USING btree (filesystem_uuid);
1894 -- Name: index_keep_disks_on_last_ping_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1897 CREATE INDEX index_keep_disks_on_last_ping_at ON keep_disks USING btree (last_ping_at);
1901 -- Name: index_keep_disks_on_node_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1904 CREATE INDEX index_keep_disks_on_node_uuid ON keep_disks USING btree (node_uuid);
1908 -- Name: index_keep_disks_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1911 CREATE INDEX index_keep_disks_on_owner_uuid ON keep_disks USING btree (owner_uuid);
1915 -- Name: index_keep_disks_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1918 CREATE UNIQUE INDEX index_keep_disks_on_uuid ON keep_disks USING btree (uuid);
1922 -- Name: index_keep_services_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1925 CREATE INDEX index_keep_services_on_owner_uuid ON keep_services USING btree (owner_uuid);
1929 -- Name: index_keep_services_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1932 CREATE UNIQUE INDEX index_keep_services_on_uuid ON keep_services USING btree (uuid);
1936 -- Name: index_links_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1939 CREATE INDEX index_links_on_created_at ON links USING btree (created_at);
1943 -- Name: index_links_on_head_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1946 CREATE INDEX index_links_on_head_uuid ON links USING btree (head_uuid);
1950 -- Name: index_links_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1953 CREATE INDEX index_links_on_modified_at ON links USING btree (modified_at);
1957 -- Name: index_links_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1960 CREATE INDEX index_links_on_owner_uuid ON links USING btree (owner_uuid);
1964 -- Name: index_links_on_tail_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1967 CREATE INDEX index_links_on_tail_uuid ON links USING btree (tail_uuid);
1971 -- Name: index_links_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
1974 CREATE UNIQUE INDEX index_links_on_uuid ON links USING btree (uuid);
1978 -- Name: index_logs_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1981 CREATE INDEX index_logs_on_created_at ON logs USING btree (created_at);
1985 -- Name: index_logs_on_event_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
1988 CREATE INDEX index_logs_on_event_at ON logs USING btree (event_at);
1992 -- Name: index_logs_on_event_type; Type: INDEX; Schema: public; Owner: -; Tablespace:
1995 CREATE INDEX index_logs_on_event_type ON logs USING btree (event_type);
1999 -- Name: index_logs_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2002 CREATE INDEX index_logs_on_modified_at ON logs USING btree (modified_at);
2006 -- Name: index_logs_on_object_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2009 CREATE INDEX index_logs_on_object_uuid ON logs USING btree (object_uuid);
2013 -- Name: index_logs_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2016 CREATE INDEX index_logs_on_owner_uuid ON logs USING btree (owner_uuid);
2020 -- Name: index_logs_on_summary; Type: INDEX; Schema: public; Owner: -; Tablespace:
2023 CREATE INDEX index_logs_on_summary ON logs USING btree (summary);
2027 -- Name: index_logs_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2030 CREATE UNIQUE INDEX index_logs_on_uuid ON logs USING btree (uuid);
2034 -- Name: index_nodes_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2037 CREATE INDEX index_nodes_on_created_at ON nodes USING btree (created_at);
2041 -- Name: index_nodes_on_hostname; Type: INDEX; Schema: public; Owner: -; Tablespace:
2044 CREATE INDEX index_nodes_on_hostname ON nodes USING btree (hostname);
2048 -- Name: index_nodes_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2051 CREATE INDEX index_nodes_on_modified_at ON nodes USING btree (modified_at);
2055 -- Name: index_nodes_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2058 CREATE INDEX index_nodes_on_owner_uuid ON nodes USING btree (owner_uuid);
2062 -- Name: index_nodes_on_slot_number; Type: INDEX; Schema: public; Owner: -; Tablespace:
2065 CREATE UNIQUE INDEX index_nodes_on_slot_number ON nodes USING btree (slot_number);
2069 -- Name: index_nodes_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2072 CREATE UNIQUE INDEX index_nodes_on_uuid ON nodes USING btree (uuid);
2076 -- Name: index_pipeline_instances_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2079 CREATE INDEX index_pipeline_instances_on_created_at ON pipeline_instances USING btree (created_at);
2083 -- Name: index_pipeline_instances_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2086 CREATE INDEX index_pipeline_instances_on_modified_at ON pipeline_instances USING btree (modified_at);
2090 -- Name: index_pipeline_instances_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2093 CREATE INDEX index_pipeline_instances_on_owner_uuid ON pipeline_instances USING btree (owner_uuid);
2097 -- Name: index_pipeline_instances_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2100 CREATE UNIQUE INDEX index_pipeline_instances_on_uuid ON pipeline_instances USING btree (uuid);
2104 -- Name: index_pipeline_templates_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2107 CREATE INDEX index_pipeline_templates_on_created_at ON pipeline_templates USING btree (created_at);
2111 -- Name: index_pipeline_templates_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2114 CREATE INDEX index_pipeline_templates_on_modified_at ON pipeline_templates USING btree (modified_at);
2118 -- Name: index_pipeline_templates_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2121 CREATE INDEX index_pipeline_templates_on_owner_uuid ON pipeline_templates USING btree (owner_uuid);
2125 -- Name: index_pipeline_templates_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2128 CREATE UNIQUE INDEX index_pipeline_templates_on_uuid ON pipeline_templates USING btree (uuid);
2132 -- Name: index_repositories_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
2135 CREATE UNIQUE INDEX index_repositories_on_name ON repositories USING btree (name);
2139 -- Name: index_repositories_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2142 CREATE INDEX index_repositories_on_owner_uuid ON repositories USING btree (owner_uuid);
2146 -- Name: index_repositories_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2149 CREATE UNIQUE INDEX index_repositories_on_uuid ON repositories USING btree (uuid);
2153 -- Name: index_specimens_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2156 CREATE INDEX index_specimens_on_created_at ON specimens USING btree (created_at);
2160 -- Name: index_specimens_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2163 CREATE INDEX index_specimens_on_modified_at ON specimens USING btree (modified_at);
2167 -- Name: index_specimens_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2170 CREATE INDEX index_specimens_on_owner_uuid ON specimens USING btree (owner_uuid);
2174 -- Name: index_specimens_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2177 CREATE UNIQUE INDEX index_specimens_on_uuid ON specimens USING btree (uuid);
2181 -- Name: index_traits_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
2184 CREATE INDEX index_traits_on_name ON traits USING btree (name);
2188 -- Name: index_traits_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2191 CREATE INDEX index_traits_on_owner_uuid ON traits USING btree (owner_uuid);
2195 -- Name: index_traits_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2198 CREATE UNIQUE INDEX index_traits_on_uuid ON traits USING btree (uuid);
2202 -- Name: index_users_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2205 CREATE INDEX index_users_on_created_at ON users USING btree (created_at);
2209 -- Name: index_users_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
2212 CREATE INDEX index_users_on_modified_at ON users USING btree (modified_at);
2216 -- Name: index_users_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2219 CREATE INDEX index_users_on_owner_uuid ON users USING btree (owner_uuid);
2223 -- Name: index_users_on_username; Type: INDEX; Schema: public; Owner: -; Tablespace:
2226 CREATE UNIQUE INDEX index_users_on_username ON users USING btree (username);
2230 -- Name: index_users_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2233 CREATE UNIQUE INDEX index_users_on_uuid ON users USING btree (uuid);
2237 -- Name: index_virtual_machines_on_hostname; Type: INDEX; Schema: public; Owner: -; Tablespace:
2240 CREATE INDEX index_virtual_machines_on_hostname ON virtual_machines USING btree (hostname);
2244 -- Name: index_virtual_machines_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2247 CREATE INDEX index_virtual_machines_on_owner_uuid ON virtual_machines USING btree (owner_uuid);
2251 -- Name: index_virtual_machines_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2254 CREATE UNIQUE INDEX index_virtual_machines_on_uuid ON virtual_machines USING btree (uuid);
2258 -- Name: index_workflows_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2261 CREATE INDEX index_workflows_on_owner_uuid ON workflows USING btree (owner_uuid);
2265 -- Name: index_workflows_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace:
2268 CREATE UNIQUE INDEX index_workflows_on_uuid ON workflows USING btree (uuid);
2272 -- Name: job_tasks_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2275 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);
2279 -- Name: jobs_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
2282 CREATE INDEX jobs_full_text_search_idx ON jobs USING gin (to_tsvector('english'::regconfig, (((((((((((((((((((((((((((((((((((((((((' '::text || (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)));
2286 -- Name: jobs_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2289 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);
2293 -- Name: keep_disks_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2296 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);
2300 -- Name: keep_services_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2303 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);
2307 -- Name: links_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2310 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);
2314 -- Name: links_tail_name_unique_if_link_class_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
2317 CREATE UNIQUE INDEX links_tail_name_unique_if_link_class_name ON links USING btree (tail_uuid, name) WHERE ((link_class)::text = 'name'::text);
2321 -- Name: logs_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2324 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);
2328 -- Name: nodes_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2331 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);
2335 -- Name: pipeline_instances_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
2338 CREATE INDEX pipeline_instances_full_text_search_idx ON pipeline_instances USING gin (to_tsvector('english'::regconfig, (((((((((((((((((((((' '::text || (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)));
2342 -- Name: pipeline_instances_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2345 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);
2349 -- Name: pipeline_template_owner_uuid_name_unique; Type: INDEX; Schema: public; Owner: -; Tablespace:
2352 CREATE UNIQUE INDEX pipeline_template_owner_uuid_name_unique ON pipeline_templates USING btree (owner_uuid, name);
2356 -- Name: pipeline_templates_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
2359 CREATE INDEX pipeline_templates_full_text_search_idx ON pipeline_templates USING gin (to_tsvector('english'::regconfig, (((((((((((((' '::text || (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)));
2363 -- Name: pipeline_templates_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2366 CREATE INDEX pipeline_templates_search_index ON pipeline_templates USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2370 -- Name: repositories_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2373 CREATE INDEX repositories_search_index ON repositories USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2377 -- Name: specimens_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2380 CREATE INDEX specimens_search_index ON specimens USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, material);
2384 -- Name: traits_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2387 CREATE INDEX traits_search_index ON traits USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2391 -- Name: unique_schema_migrations; Type: INDEX; Schema: public; Owner: -; Tablespace:
2394 CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations USING btree (version);
2398 -- Name: users_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2401 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);
2405 -- Name: virtual_machines_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
2408 CREATE INDEX virtual_machines_search_index ON virtual_machines USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, hostname);
2412 -- Name: workflows_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
2415 CREATE INDEX workflows_full_text_search_idx ON workflows USING gin (to_tsvector('english'::regconfig, (((((((((((((' '::text || (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))));
2419 -- Name: workflows_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
2422 CREATE INDEX workflows_search_idx ON workflows USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2426 -- PostgreSQL database dump complete
2429 SET search_path TO "$user",public;
2431 INSERT INTO schema_migrations (version) VALUES ('20121016005009');
2433 INSERT INTO schema_migrations (version) VALUES ('20130105203021');
2435 INSERT INTO schema_migrations (version) VALUES ('20130105224358');
2437 INSERT INTO schema_migrations (version) VALUES ('20130105224618');
2439 INSERT INTO schema_migrations (version) VALUES ('20130107181109');
2441 INSERT INTO schema_migrations (version) VALUES ('20130107212832');
2443 INSERT INTO schema_migrations (version) VALUES ('20130109175700');
2445 INSERT INTO schema_migrations (version) VALUES ('20130109220548');
2447 INSERT INTO schema_migrations (version) VALUES ('20130113214204');
2449 INSERT INTO schema_migrations (version) VALUES ('20130116024233');
2451 INSERT INTO schema_migrations (version) VALUES ('20130116215213');
2453 INSERT INTO schema_migrations (version) VALUES ('20130118002239');
2455 INSERT INTO schema_migrations (version) VALUES ('20130122020042');
2457 INSERT INTO schema_migrations (version) VALUES ('20130122201442');
2459 INSERT INTO schema_migrations (version) VALUES ('20130122221616');
2461 INSERT INTO schema_migrations (version) VALUES ('20130123174514');
2463 INSERT INTO schema_migrations (version) VALUES ('20130123180224');
2465 INSERT INTO schema_migrations (version) VALUES ('20130123180228');
2467 INSERT INTO schema_migrations (version) VALUES ('20130125220425');
2469 INSERT INTO schema_migrations (version) VALUES ('20130128202518');
2471 INSERT INTO schema_migrations (version) VALUES ('20130128231343');
2473 INSERT INTO schema_migrations (version) VALUES ('20130130205749');
2475 INSERT INTO schema_migrations (version) VALUES ('20130203104818');
2477 INSERT INTO schema_migrations (version) VALUES ('20130203104824');
2479 INSERT INTO schema_migrations (version) VALUES ('20130203115329');
2481 INSERT INTO schema_migrations (version) VALUES ('20130207195855');
2483 INSERT INTO schema_migrations (version) VALUES ('20130218181504');
2485 INSERT INTO schema_migrations (version) VALUES ('20130226170000');
2487 INSERT INTO schema_migrations (version) VALUES ('20130313175417');
2489 INSERT INTO schema_migrations (version) VALUES ('20130315155820');
2491 INSERT INTO schema_migrations (version) VALUES ('20130315183626');
2493 INSERT INTO schema_migrations (version) VALUES ('20130315213205');
2495 INSERT INTO schema_migrations (version) VALUES ('20130318002138');
2497 INSERT INTO schema_migrations (version) VALUES ('20130319165853');
2499 INSERT INTO schema_migrations (version) VALUES ('20130319180730');
2501 INSERT INTO schema_migrations (version) VALUES ('20130319194637');
2503 INSERT INTO schema_migrations (version) VALUES ('20130319201431');
2505 INSERT INTO schema_migrations (version) VALUES ('20130319235957');
2507 INSERT INTO schema_migrations (version) VALUES ('20130320000107');
2509 INSERT INTO schema_migrations (version) VALUES ('20130326173804');
2511 INSERT INTO schema_migrations (version) VALUES ('20130326182917');
2513 INSERT INTO schema_migrations (version) VALUES ('20130415020241');
2515 INSERT INTO schema_migrations (version) VALUES ('20130425024459');
2517 INSERT INTO schema_migrations (version) VALUES ('20130425214427');
2519 INSERT INTO schema_migrations (version) VALUES ('20130523060112');
2521 INSERT INTO schema_migrations (version) VALUES ('20130523060213');
2523 INSERT INTO schema_migrations (version) VALUES ('20130524042319');
2525 INSERT INTO schema_migrations (version) VALUES ('20130528134100');
2527 INSERT INTO schema_migrations (version) VALUES ('20130606183519');
2529 INSERT INTO schema_migrations (version) VALUES ('20130608053730');
2531 INSERT INTO schema_migrations (version) VALUES ('20130610202538');
2533 INSERT INTO schema_migrations (version) VALUES ('20130611163736');
2535 INSERT INTO schema_migrations (version) VALUES ('20130612042554');
2537 INSERT INTO schema_migrations (version) VALUES ('20130617150007');
2539 INSERT INTO schema_migrations (version) VALUES ('20130626002829');
2541 INSERT INTO schema_migrations (version) VALUES ('20130626022810');
2543 INSERT INTO schema_migrations (version) VALUES ('20130627154537');
2545 INSERT INTO schema_migrations (version) VALUES ('20130627184333');
2547 INSERT INTO schema_migrations (version) VALUES ('20130708163414');
2549 INSERT INTO schema_migrations (version) VALUES ('20130708182912');
2551 INSERT INTO schema_migrations (version) VALUES ('20130708185153');
2553 INSERT INTO schema_migrations (version) VALUES ('20130724153034');
2555 INSERT INTO schema_migrations (version) VALUES ('20131007180607');
2557 INSERT INTO schema_migrations (version) VALUES ('20140117231056');
2559 INSERT INTO schema_migrations (version) VALUES ('20140124222114');
2561 INSERT INTO schema_migrations (version) VALUES ('20140129184311');
2563 INSERT INTO schema_migrations (version) VALUES ('20140317135600');
2565 INSERT INTO schema_migrations (version) VALUES ('20140319160547');
2567 INSERT INTO schema_migrations (version) VALUES ('20140321191343');
2569 INSERT INTO schema_migrations (version) VALUES ('20140324024606');
2571 INSERT INTO schema_migrations (version) VALUES ('20140325175653');
2573 INSERT INTO schema_migrations (version) VALUES ('20140402001908');
2575 INSERT INTO schema_migrations (version) VALUES ('20140407184311');
2577 INSERT INTO schema_migrations (version) VALUES ('20140421140924');
2579 INSERT INTO schema_migrations (version) VALUES ('20140421151939');
2581 INSERT INTO schema_migrations (version) VALUES ('20140421151940');
2583 INSERT INTO schema_migrations (version) VALUES ('20140422011506');
2585 INSERT INTO schema_migrations (version) VALUES ('20140423132913');
2587 INSERT INTO schema_migrations (version) VALUES ('20140423133559');
2589 INSERT INTO schema_migrations (version) VALUES ('20140501165548');
2591 INSERT INTO schema_migrations (version) VALUES ('20140519205916');
2593 INSERT INTO schema_migrations (version) VALUES ('20140527152921');
2595 INSERT INTO schema_migrations (version) VALUES ('20140530200539');
2597 INSERT INTO schema_migrations (version) VALUES ('20140601022548');
2599 INSERT INTO schema_migrations (version) VALUES ('20140602143352');
2601 INSERT INTO schema_migrations (version) VALUES ('20140607150616');
2603 INSERT INTO schema_migrations (version) VALUES ('20140611173003');
2605 INSERT INTO schema_migrations (version) VALUES ('20140627210837');
2607 INSERT INTO schema_migrations (version) VALUES ('20140709172343');
2609 INSERT INTO schema_migrations (version) VALUES ('20140714184006');
2611 INSERT INTO schema_migrations (version) VALUES ('20140811184643');
2613 INSERT INTO schema_migrations (version) VALUES ('20140817035914');
2615 INSERT INTO schema_migrations (version) VALUES ('20140818125735');
2617 INSERT INTO schema_migrations (version) VALUES ('20140826180337');
2619 INSERT INTO schema_migrations (version) VALUES ('20140828141043');
2621 INSERT INTO schema_migrations (version) VALUES ('20140909183946');
2623 INSERT INTO schema_migrations (version) VALUES ('20140911221252');
2625 INSERT INTO schema_migrations (version) VALUES ('20140918141529');
2627 INSERT INTO schema_migrations (version) VALUES ('20140918153541');
2629 INSERT INTO schema_migrations (version) VALUES ('20140918153705');
2631 INSERT INTO schema_migrations (version) VALUES ('20140924091559');
2633 INSERT INTO schema_migrations (version) VALUES ('20141111133038');
2635 INSERT INTO schema_migrations (version) VALUES ('20141208164553');
2637 INSERT INTO schema_migrations (version) VALUES ('20141208174553');
2639 INSERT INTO schema_migrations (version) VALUES ('20141208174653');
2641 INSERT INTO schema_migrations (version) VALUES ('20141208185217');
2643 INSERT INTO schema_migrations (version) VALUES ('20150122175935');
2645 INSERT INTO schema_migrations (version) VALUES ('20150123142953');
2647 INSERT INTO schema_migrations (version) VALUES ('20150203180223');
2649 INSERT INTO schema_migrations (version) VALUES ('20150206210804');
2651 INSERT INTO schema_migrations (version) VALUES ('20150206230342');
2653 INSERT INTO schema_migrations (version) VALUES ('20150216193428');
2655 INSERT INTO schema_migrations (version) VALUES ('20150303210106');
2657 INSERT INTO schema_migrations (version) VALUES ('20150312151136');
2659 INSERT INTO schema_migrations (version) VALUES ('20150317132720');
2661 INSERT INTO schema_migrations (version) VALUES ('20150324152204');
2663 INSERT INTO schema_migrations (version) VALUES ('20150423145759');
2665 INSERT INTO schema_migrations (version) VALUES ('20150512193020');
2667 INSERT INTO schema_migrations (version) VALUES ('20150526180251');
2669 INSERT INTO schema_migrations (version) VALUES ('20151202151426');
2671 INSERT INTO schema_migrations (version) VALUES ('20151215134304');
2673 INSERT INTO schema_migrations (version) VALUES ('20151229214707');
2675 INSERT INTO schema_migrations (version) VALUES ('20160208210629');
2677 INSERT INTO schema_migrations (version) VALUES ('20160209155729');
2679 INSERT INTO schema_migrations (version) VALUES ('20160324144017');
2681 INSERT INTO schema_migrations (version) VALUES ('20160506175108');
2683 INSERT INTO schema_migrations (version) VALUES ('20160509143250');
2685 INSERT INTO schema_migrations (version) VALUES ('20160808151559');
2687 INSERT INTO schema_migrations (version) VALUES ('20160819195557');
2689 INSERT INTO schema_migrations (version) VALUES ('20160819195725');
2691 INSERT INTO schema_migrations (version) VALUES ('20160901210110');
2693 INSERT INTO schema_migrations (version) VALUES ('20160909181442');
2695 INSERT INTO schema_migrations (version) VALUES ('20160926194129');
2697 INSERT INTO schema_migrations (version) VALUES ('20161019171346');