1 -- Copyright (C) The Arvados Authors. All rights reserved.
3 -- SPDX-License-Identifier: AGPL-3.0
5 SET statement_timeout = 0;
6 SET client_encoding = 'UTF8';
7 SET standard_conforming_strings = on;
8 SELECT pg_catalog.set_config('search_path', '', false);
9 SET check_function_bodies = false;
10 SET client_min_messages = warning;
13 -- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: -
16 CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
20 -- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner: -
23 -- COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
26 SET default_tablespace = '';
28 SET default_with_oids = false;
31 -- Name: api_client_authorizations; Type: TABLE; Schema: public; Owner: -
34 CREATE TABLE public.api_client_authorizations (
36 api_token character varying(255) NOT NULL,
37 api_client_id integer NOT NULL,
38 user_id integer NOT NULL,
39 created_by_ip_address character varying(255),
40 last_used_by_ip_address character varying(255),
41 last_used_at timestamp without time zone,
42 expires_at timestamp without time zone,
43 created_at timestamp without time zone NOT NULL,
44 updated_at timestamp without time zone NOT NULL,
45 default_owner_uuid character varying(255),
46 scopes text DEFAULT '["all"]'::text,
47 uuid character varying(255) NOT NULL
52 -- Name: api_client_authorizations_id_seq; Type: SEQUENCE; Schema: public; Owner: -
55 CREATE SEQUENCE public.api_client_authorizations_id_seq
64 -- Name: api_client_authorizations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
67 ALTER SEQUENCE public.api_client_authorizations_id_seq OWNED BY public.api_client_authorizations.id;
71 -- Name: api_clients; Type: TABLE; Schema: public; Owner: -
74 CREATE TABLE public.api_clients (
76 uuid character varying(255),
77 owner_uuid character varying(255),
78 modified_by_client_uuid character varying(255),
79 modified_by_user_uuid character varying(255),
80 modified_at timestamp without time zone,
81 name character varying(255),
82 url_prefix character varying(255),
83 created_at timestamp without time zone NOT NULL,
84 updated_at timestamp without time zone NOT NULL,
85 is_trusted boolean DEFAULT false
90 -- Name: api_clients_id_seq; Type: SEQUENCE; Schema: public; Owner: -
93 CREATE SEQUENCE public.api_clients_id_seq
102 -- Name: api_clients_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
105 ALTER SEQUENCE public.api_clients_id_seq OWNED BY public.api_clients.id;
109 -- Name: authorized_keys; Type: TABLE; Schema: public; Owner: -
112 CREATE TABLE public.authorized_keys (
114 uuid character varying(255) NOT NULL,
115 owner_uuid character varying(255) NOT NULL,
116 modified_by_client_uuid character varying(255),
117 modified_by_user_uuid character varying(255),
118 modified_at timestamp without time zone,
119 name character varying(255),
120 key_type character varying(255),
121 authorized_user_uuid character varying(255),
123 expires_at timestamp without time zone,
124 created_at timestamp without time zone NOT NULL,
125 updated_at timestamp without time zone NOT NULL
130 -- Name: authorized_keys_id_seq; Type: SEQUENCE; Schema: public; Owner: -
133 CREATE SEQUENCE public.authorized_keys_id_seq
142 -- Name: authorized_keys_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
145 ALTER SEQUENCE public.authorized_keys_id_seq OWNED BY public.authorized_keys.id;
149 -- Name: collections; Type: TABLE; Schema: public; Owner: -
152 CREATE TABLE public.collections (
154 owner_uuid character varying(255),
155 created_at timestamp without time zone NOT NULL,
156 modified_by_client_uuid character varying(255),
157 modified_by_user_uuid character varying(255),
158 modified_at timestamp without time zone,
159 portable_data_hash character varying(255),
160 replication_desired integer,
161 replication_confirmed_at timestamp without time zone,
162 replication_confirmed integer,
163 updated_at timestamp without time zone NOT NULL,
164 uuid character varying(255),
166 name character varying(255),
167 description character varying(524288),
169 delete_at timestamp without time zone,
171 trash_at timestamp without time zone,
172 is_trashed boolean DEFAULT false NOT NULL,
173 storage_classes_desired jsonb DEFAULT '["default"]'::jsonb,
174 storage_classes_confirmed jsonb DEFAULT '[]'::jsonb,
175 storage_classes_confirmed_at timestamp without time zone,
176 current_version_uuid character varying,
177 version integer DEFAULT 1 NOT NULL,
178 preserve_version boolean DEFAULT false
183 -- Name: collections_id_seq; Type: SEQUENCE; Schema: public; Owner: -
186 CREATE SEQUENCE public.collections_id_seq
195 -- Name: collections_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
198 ALTER SEQUENCE public.collections_id_seq OWNED BY public.collections.id;
202 -- Name: commit_ancestors; Type: TABLE; Schema: public; Owner: -
205 CREATE TABLE public.commit_ancestors (
207 repository_name character varying(255),
208 descendant character varying(255) NOT NULL,
209 ancestor character varying(255) NOT NULL,
210 "is" boolean DEFAULT false NOT NULL,
211 created_at timestamp without time zone NOT NULL,
212 updated_at timestamp without time zone NOT NULL
217 -- Name: commit_ancestors_id_seq; Type: SEQUENCE; Schema: public; Owner: -
220 CREATE SEQUENCE public.commit_ancestors_id_seq
229 -- Name: commit_ancestors_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
232 ALTER SEQUENCE public.commit_ancestors_id_seq OWNED BY public.commit_ancestors.id;
236 -- Name: commits; Type: TABLE; Schema: public; Owner: -
239 CREATE TABLE public.commits (
241 repository_name character varying(255),
242 sha1 character varying(255),
243 message character varying(255),
244 created_at timestamp without time zone NOT NULL,
245 updated_at timestamp without time zone NOT NULL
250 -- Name: commits_id_seq; Type: SEQUENCE; Schema: public; Owner: -
253 CREATE SEQUENCE public.commits_id_seq
262 -- Name: commits_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
265 ALTER SEQUENCE public.commits_id_seq OWNED BY public.commits.id;
269 -- Name: container_requests; Type: TABLE; Schema: public; Owner: -
272 CREATE TABLE public.container_requests (
274 uuid character varying(255),
275 owner_uuid character varying(255),
276 created_at timestamp without time zone NOT NULL,
277 modified_at timestamp without time zone,
278 modified_by_client_uuid character varying(255),
279 modified_by_user_uuid character varying(255),
280 name character varying(255),
283 state character varying(255),
284 requesting_container_uuid character varying(255),
285 container_uuid character varying(255),
286 container_count_max integer,
288 runtime_constraints text,
289 container_image character varying(255),
291 cwd character varying(255),
293 output_path character varying(255),
295 expires_at timestamp without time zone,
297 updated_at timestamp without time zone NOT NULL,
298 container_count integer DEFAULT 0,
299 use_existing boolean DEFAULT true,
300 scheduling_parameters text,
301 output_uuid character varying(255),
302 log_uuid character varying(255),
303 output_name character varying(255) DEFAULT NULL::character varying,
304 output_ttl integer DEFAULT 0 NOT NULL,
305 secret_mounts jsonb DEFAULT '{}'::jsonb,
311 -- Name: container_requests_id_seq; Type: SEQUENCE; Schema: public; Owner: -
314 CREATE SEQUENCE public.container_requests_id_seq
323 -- Name: container_requests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
326 ALTER SEQUENCE public.container_requests_id_seq OWNED BY public.container_requests.id;
330 -- Name: containers; Type: TABLE; Schema: public; Owner: -
333 CREATE TABLE public.containers (
335 uuid character varying(255),
336 owner_uuid character varying(255),
337 created_at timestamp without time zone NOT NULL,
338 modified_at timestamp without time zone,
339 modified_by_client_uuid character varying(255),
340 modified_by_user_uuid character varying(255),
341 state character varying(255),
342 started_at timestamp without time zone,
343 finished_at timestamp without time zone,
344 log character varying(255),
346 cwd character varying(255),
348 output_path character varying(255),
350 runtime_constraints text,
351 output character varying(255),
352 container_image character varying(255),
353 progress double precision,
355 updated_at timestamp without time zone NOT NULL,
357 auth_uuid character varying(255),
358 locked_by_uuid character varying(255),
359 scheduling_parameters text,
360 secret_mounts jsonb DEFAULT '{}'::jsonb,
361 secret_mounts_md5 character varying DEFAULT '99914b932bd37a50b983c5e7c90ae93b'::character varying,
362 runtime_status jsonb DEFAULT '{}'::jsonb,
363 runtime_user_uuid text,
364 runtime_auth_scopes jsonb,
366 lock_count integer DEFAULT 0 NOT NULL
371 -- Name: containers_id_seq; Type: SEQUENCE; Schema: public; Owner: -
374 CREATE SEQUENCE public.containers_id_seq
383 -- Name: containers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
386 ALTER SEQUENCE public.containers_id_seq OWNED BY public.containers.id;
390 -- Name: groups; Type: TABLE; Schema: public; Owner: -
393 CREATE TABLE public.groups (
395 uuid character varying(255),
396 owner_uuid character varying(255),
397 created_at timestamp without time zone NOT NULL,
398 modified_by_client_uuid character varying(255),
399 modified_by_user_uuid character varying(255),
400 modified_at timestamp without time zone,
401 name character varying(255) NOT NULL,
402 description character varying(524288),
403 updated_at timestamp without time zone NOT NULL,
404 group_class character varying(255),
405 trash_at timestamp without time zone,
406 is_trashed boolean DEFAULT false NOT NULL,
407 delete_at timestamp without time zone,
408 properties jsonb DEFAULT '{}'::jsonb
413 -- Name: groups_id_seq; Type: SEQUENCE; Schema: public; Owner: -
416 CREATE SEQUENCE public.groups_id_seq
425 -- Name: groups_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
428 ALTER SEQUENCE public.groups_id_seq OWNED BY public.groups.id;
432 -- Name: humans; Type: TABLE; Schema: public; Owner: -
435 CREATE TABLE public.humans (
437 uuid character varying(255) NOT NULL,
438 owner_uuid character varying(255) NOT NULL,
439 modified_by_client_uuid character varying(255),
440 modified_by_user_uuid character varying(255),
441 modified_at timestamp without time zone,
443 created_at timestamp without time zone NOT NULL,
444 updated_at timestamp without time zone NOT NULL
449 -- Name: humans_id_seq; Type: SEQUENCE; Schema: public; Owner: -
452 CREATE SEQUENCE public.humans_id_seq
461 -- Name: humans_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
464 ALTER SEQUENCE public.humans_id_seq OWNED BY public.humans.id;
468 -- Name: job_tasks; Type: TABLE; Schema: public; Owner: -
471 CREATE TABLE public.job_tasks (
473 uuid character varying(255),
474 owner_uuid character varying(255),
475 modified_by_client_uuid character varying(255),
476 modified_by_user_uuid character varying(255),
477 modified_at timestamp without time zone,
478 job_uuid character varying(255),
482 progress double precision,
484 created_at timestamp without time zone NOT NULL,
485 updated_at timestamp without time zone NOT NULL,
486 created_by_job_task_uuid character varying(255),
488 started_at timestamp without time zone,
489 finished_at timestamp without time zone
494 -- Name: job_tasks_id_seq; Type: SEQUENCE; Schema: public; Owner: -
497 CREATE SEQUENCE public.job_tasks_id_seq
506 -- Name: job_tasks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
509 ALTER SEQUENCE public.job_tasks_id_seq OWNED BY public.job_tasks.id;
513 -- Name: job_tasks_qsequence_seq; Type: SEQUENCE; Schema: public; Owner: -
516 CREATE SEQUENCE public.job_tasks_qsequence_seq
525 -- Name: job_tasks_qsequence_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
528 ALTER SEQUENCE public.job_tasks_qsequence_seq OWNED BY public.job_tasks.qsequence;
532 -- Name: jobs; Type: TABLE; Schema: public; Owner: -
535 CREATE TABLE public.jobs (
537 uuid character varying(255),
538 owner_uuid character varying(255),
539 modified_by_client_uuid character varying(255),
540 modified_by_user_uuid character varying(255),
541 modified_at timestamp without time zone,
542 submit_id character varying(255),
543 script character varying(255),
544 script_version character varying(255),
545 script_parameters text,
546 cancelled_by_client_uuid character varying(255),
547 cancelled_by_user_uuid character varying(255),
548 cancelled_at timestamp without time zone,
549 started_at timestamp without time zone,
550 finished_at timestamp without time zone,
553 output character varying(255),
554 created_at timestamp without time zone NOT NULL,
555 updated_at timestamp without time zone NOT NULL,
556 is_locked_by_uuid character varying(255),
557 log character varying(255),
559 runtime_constraints text,
560 nondeterministic boolean,
561 repository character varying(255),
562 supplied_script_version character varying(255),
563 docker_image_locator character varying(255),
564 priority integer DEFAULT 0 NOT NULL,
565 description character varying(524288),
566 state character varying(255),
567 arvados_sdk_version character varying(255),
569 script_parameters_digest character varying(255)
574 -- Name: jobs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
577 CREATE SEQUENCE public.jobs_id_seq
586 -- Name: jobs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
589 ALTER SEQUENCE public.jobs_id_seq OWNED BY public.jobs.id;
593 -- Name: keep_disks; Type: TABLE; Schema: public; Owner: -
596 CREATE TABLE public.keep_disks (
598 uuid character varying(255) NOT NULL,
599 owner_uuid character varying(255) NOT NULL,
600 modified_by_client_uuid character varying(255),
601 modified_by_user_uuid character varying(255),
602 modified_at timestamp without time zone,
603 ping_secret character varying(255) NOT NULL,
604 node_uuid character varying(255),
605 filesystem_uuid character varying(255),
608 is_readable boolean DEFAULT true NOT NULL,
609 is_writable boolean DEFAULT true NOT NULL,
610 last_read_at timestamp without time zone,
611 last_write_at timestamp without time zone,
612 last_ping_at timestamp without time zone,
613 created_at timestamp without time zone NOT NULL,
614 updated_at timestamp without time zone NOT NULL,
615 keep_service_uuid character varying(255)
620 -- Name: keep_disks_id_seq; Type: SEQUENCE; Schema: public; Owner: -
623 CREATE SEQUENCE public.keep_disks_id_seq
632 -- Name: keep_disks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
635 ALTER SEQUENCE public.keep_disks_id_seq OWNED BY public.keep_disks.id;
639 -- Name: keep_services; Type: TABLE; Schema: public; Owner: -
642 CREATE TABLE public.keep_services (
644 uuid character varying(255) NOT NULL,
645 owner_uuid character varying(255) NOT NULL,
646 modified_by_client_uuid character varying(255),
647 modified_by_user_uuid character varying(255),
648 modified_at timestamp without time zone,
649 service_host character varying(255),
650 service_port integer,
651 service_ssl_flag boolean,
652 service_type character varying(255),
653 created_at timestamp without time zone NOT NULL,
654 updated_at timestamp without time zone NOT NULL,
655 read_only boolean DEFAULT false NOT NULL
660 -- Name: keep_services_id_seq; Type: SEQUENCE; Schema: public; Owner: -
663 CREATE SEQUENCE public.keep_services_id_seq
672 -- Name: keep_services_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
675 ALTER SEQUENCE public.keep_services_id_seq OWNED BY public.keep_services.id;
679 -- Name: links; Type: TABLE; Schema: public; Owner: -
682 CREATE TABLE public.links (
684 uuid character varying(255),
685 owner_uuid character varying(255),
686 created_at timestamp without time zone NOT NULL,
687 modified_by_client_uuid character varying(255),
688 modified_by_user_uuid character varying(255),
689 modified_at timestamp without time zone,
690 tail_uuid character varying(255),
691 link_class character varying(255),
692 name character varying(255),
693 head_uuid character varying(255),
695 updated_at timestamp without time zone NOT NULL
700 -- Name: links_id_seq; Type: SEQUENCE; Schema: public; Owner: -
703 CREATE SEQUENCE public.links_id_seq
712 -- Name: links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
715 ALTER SEQUENCE public.links_id_seq OWNED BY public.links.id;
719 -- Name: logs; Type: TABLE; Schema: public; Owner: -
722 CREATE TABLE public.logs (
724 uuid character varying(255),
725 owner_uuid character varying(255),
726 modified_by_client_uuid character varying(255),
727 modified_by_user_uuid character varying(255),
728 object_uuid character varying(255),
729 event_at timestamp without time zone,
730 event_type character varying(255),
733 created_at timestamp without time zone NOT NULL,
734 updated_at timestamp without time zone NOT NULL,
735 modified_at timestamp without time zone,
736 object_owner_uuid character varying(255)
741 -- Name: logs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
744 CREATE SEQUENCE public.logs_id_seq
753 -- Name: logs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
756 ALTER SEQUENCE public.logs_id_seq OWNED BY public.logs.id;
760 -- Name: users; Type: TABLE; Schema: public; Owner: -
763 CREATE TABLE public.users (
765 uuid character varying(255),
766 owner_uuid character varying(255) NOT NULL,
767 created_at timestamp without time zone NOT NULL,
768 modified_by_client_uuid character varying(255),
769 modified_by_user_uuid character varying(255),
770 modified_at timestamp without time zone,
771 email character varying(255),
772 first_name character varying(255),
773 last_name character varying(255),
774 identity_url character varying(255),
777 updated_at timestamp without time zone NOT NULL,
778 default_owner_uuid character varying(255),
779 is_active boolean DEFAULT false,
780 username character varying(255),
781 redirect_to_user_uuid character varying
786 -- Name: materialized_permission_view; Type: MATERIALIZED VIEW; Schema: public; Owner: -
789 CREATE MATERIALIZED VIEW public.materialized_permission_view AS
790 WITH RECURSIVE perm_value(name, val) AS (
791 VALUES ('can_read'::text,(1)::smallint), ('can_login'::text,1), ('can_write'::text,2), ('can_manage'::text,3)
792 ), perm_edges(tail_uuid, head_uuid, val, follow, trashed) AS (
793 SELECT links.tail_uuid,
796 ((pv.val = 3) OR (groups.uuid IS NOT NULL)) AS follow,
797 (0)::smallint AS trashed,
798 (0)::smallint AS followtrash
800 LEFT JOIN perm_value pv ON ((pv.name = (links.name)::text)))
801 LEFT JOIN public.groups ON (((pv.val < 3) AND ((groups.uuid)::text = (links.head_uuid)::text))))
802 WHERE ((links.link_class)::text = 'permission'::text)
804 SELECT groups.owner_uuid,
809 WHEN ((groups.trash_at IS NOT NULL) AND (groups.trash_at < clock_timestamp())) THEN 1
814 ), perm(val, follow, user_uuid, target_uuid, trashed) AS (
815 SELECT (3)::smallint AS val,
817 (users.uuid)::character varying(32) AS user_uuid,
818 (users.uuid)::character varying(32) AS target_uuid,
819 (0)::smallint AS trashed
822 SELECT (LEAST((perm_1.val)::integer, edges.val))::smallint AS val,
825 (edges.head_uuid)::character varying(32) AS target_uuid,
826 ((GREATEST((perm_1.trashed)::integer, edges.trashed) * edges.followtrash))::smallint AS trashed
828 JOIN perm_edges edges ON ((perm_1.follow AND ((edges.tail_uuid)::text = (perm_1.target_uuid)::text))))
830 SELECT perm.user_uuid,
832 max(perm.val) AS perm_level,
834 WHEN true THEN perm.target_uuid
835 ELSE NULL::character varying
836 END AS target_owner_uuid,
837 max(perm.trashed) AS trashed
839 GROUP BY perm.user_uuid, perm.target_uuid,
841 WHEN true THEN perm.target_uuid
842 ELSE NULL::character varying
848 -- Name: nodes; Type: TABLE; Schema: public; Owner: -
851 CREATE TABLE public.nodes (
853 uuid character varying(255),
854 owner_uuid character varying(255),
855 created_at timestamp without time zone NOT NULL,
856 modified_by_client_uuid character varying(255),
857 modified_by_user_uuid character varying(255),
858 modified_at timestamp without time zone,
860 hostname character varying(255),
861 domain character varying(255),
862 ip_address character varying(255),
863 first_ping_at timestamp without time zone,
864 last_ping_at timestamp without time zone,
866 updated_at timestamp without time zone NOT NULL,
868 job_uuid character varying(255)
873 -- Name: nodes_id_seq; Type: SEQUENCE; Schema: public; Owner: -
876 CREATE SEQUENCE public.nodes_id_seq
885 -- Name: nodes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
888 ALTER SEQUENCE public.nodes_id_seq OWNED BY public.nodes.id;
892 -- Name: permission_refresh_lock; Type: TABLE; Schema: public; Owner: -
895 CREATE TABLE public.permission_refresh_lock (
901 -- Name: permission_refresh_lock_id_seq; Type: SEQUENCE; Schema: public; Owner: -
904 CREATE SEQUENCE public.permission_refresh_lock_id_seq
913 -- Name: permission_refresh_lock_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
916 ALTER SEQUENCE public.permission_refresh_lock_id_seq OWNED BY public.permission_refresh_lock.id;
920 -- Name: pipeline_instances; Type: TABLE; Schema: public; Owner: -
923 CREATE TABLE public.pipeline_instances (
925 uuid character varying(255),
926 owner_uuid character varying(255),
927 created_at timestamp without time zone NOT NULL,
928 modified_by_client_uuid character varying(255),
929 modified_by_user_uuid character varying(255),
930 modified_at timestamp without time zone,
931 pipeline_template_uuid character varying(255),
932 name character varying(255),
934 updated_at timestamp without time zone NOT NULL,
936 state character varying(255),
937 components_summary text,
938 started_at timestamp without time zone,
939 finished_at timestamp without time zone,
940 description character varying(524288)
945 -- Name: pipeline_instances_id_seq; Type: SEQUENCE; Schema: public; Owner: -
948 CREATE SEQUENCE public.pipeline_instances_id_seq
957 -- Name: pipeline_instances_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
960 ALTER SEQUENCE public.pipeline_instances_id_seq OWNED BY public.pipeline_instances.id;
964 -- Name: pipeline_templates; Type: TABLE; Schema: public; Owner: -
967 CREATE TABLE public.pipeline_templates (
969 uuid character varying(255),
970 owner_uuid character varying(255),
971 created_at timestamp without time zone NOT NULL,
972 modified_by_client_uuid character varying(255),
973 modified_by_user_uuid character varying(255),
974 modified_at timestamp without time zone,
975 name character varying(255),
977 updated_at timestamp without time zone NOT NULL,
978 description character varying(524288)
983 -- Name: pipeline_templates_id_seq; Type: SEQUENCE; Schema: public; Owner: -
986 CREATE SEQUENCE public.pipeline_templates_id_seq
995 -- Name: pipeline_templates_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
998 ALTER SEQUENCE public.pipeline_templates_id_seq OWNED BY public.pipeline_templates.id;
1002 -- Name: repositories; Type: TABLE; Schema: public; Owner: -
1005 CREATE TABLE public.repositories (
1006 id integer NOT NULL,
1007 uuid character varying(255) NOT NULL,
1008 owner_uuid character varying(255) NOT NULL,
1009 modified_by_client_uuid character varying(255),
1010 modified_by_user_uuid character varying(255),
1011 modified_at timestamp without time zone,
1012 name character varying(255),
1013 created_at timestamp without time zone NOT NULL,
1014 updated_at timestamp without time zone NOT NULL
1019 -- Name: repositories_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1022 CREATE SEQUENCE public.repositories_id_seq
1031 -- Name: repositories_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1034 ALTER SEQUENCE public.repositories_id_seq OWNED BY public.repositories.id;
1038 -- Name: schema_migrations; Type: TABLE; Schema: public; Owner: -
1041 CREATE TABLE public.schema_migrations (
1042 version character varying(255) NOT NULL
1047 -- Name: specimens; Type: TABLE; Schema: public; Owner: -
1050 CREATE TABLE public.specimens (
1051 id integer NOT NULL,
1052 uuid character varying(255),
1053 owner_uuid character varying(255),
1054 created_at timestamp without time zone NOT NULL,
1055 modified_by_client_uuid character varying(255),
1056 modified_by_user_uuid character varying(255),
1057 modified_at timestamp without time zone,
1058 material character varying(255),
1059 updated_at timestamp without time zone NOT NULL,
1065 -- Name: specimens_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1068 CREATE SEQUENCE public.specimens_id_seq
1077 -- Name: specimens_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1080 ALTER SEQUENCE public.specimens_id_seq OWNED BY public.specimens.id;
1084 -- Name: traits; Type: TABLE; Schema: public; Owner: -
1087 CREATE TABLE public.traits (
1088 id integer NOT NULL,
1089 uuid character varying(255) NOT NULL,
1090 owner_uuid character varying(255) NOT NULL,
1091 modified_by_client_uuid character varying(255),
1092 modified_by_user_uuid character varying(255),
1093 modified_at timestamp without time zone,
1094 name character varying(255),
1096 created_at timestamp without time zone NOT NULL,
1097 updated_at timestamp without time zone NOT NULL
1102 -- Name: traits_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1105 CREATE SEQUENCE public.traits_id_seq
1114 -- Name: traits_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1117 ALTER SEQUENCE public.traits_id_seq OWNED BY public.traits.id;
1121 -- Name: users_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1124 CREATE SEQUENCE public.users_id_seq
1133 -- Name: users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1136 ALTER SEQUENCE public.users_id_seq OWNED BY public.users.id;
1140 -- Name: virtual_machines; Type: TABLE; Schema: public; Owner: -
1143 CREATE TABLE public.virtual_machines (
1144 id integer NOT NULL,
1145 uuid character varying(255) NOT NULL,
1146 owner_uuid character varying(255) NOT NULL,
1147 modified_by_client_uuid character varying(255),
1148 modified_by_user_uuid character varying(255),
1149 modified_at timestamp without time zone,
1150 hostname character varying(255),
1151 created_at timestamp without time zone NOT NULL,
1152 updated_at timestamp without time zone NOT NULL
1157 -- Name: virtual_machines_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1160 CREATE SEQUENCE public.virtual_machines_id_seq
1169 -- Name: virtual_machines_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1172 ALTER SEQUENCE public.virtual_machines_id_seq OWNED BY public.virtual_machines.id;
1176 -- Name: workflows; Type: TABLE; Schema: public; Owner: -
1179 CREATE TABLE public.workflows (
1180 id integer NOT NULL,
1181 uuid character varying(255),
1182 owner_uuid character varying(255),
1183 created_at timestamp without time zone NOT NULL,
1184 modified_at timestamp without time zone,
1185 modified_by_client_uuid character varying(255),
1186 modified_by_user_uuid character varying(255),
1187 name character varying(255),
1190 updated_at timestamp without time zone NOT NULL
1195 -- Name: workflows_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1198 CREATE SEQUENCE public.workflows_id_seq
1207 -- Name: workflows_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1210 ALTER SEQUENCE public.workflows_id_seq OWNED BY public.workflows.id;
1214 -- Name: api_client_authorizations id; Type: DEFAULT; Schema: public; Owner: -
1217 ALTER TABLE ONLY public.api_client_authorizations ALTER COLUMN id SET DEFAULT nextval('public.api_client_authorizations_id_seq'::regclass);
1221 -- Name: api_clients id; Type: DEFAULT; Schema: public; Owner: -
1224 ALTER TABLE ONLY public.api_clients ALTER COLUMN id SET DEFAULT nextval('public.api_clients_id_seq'::regclass);
1228 -- Name: authorized_keys id; Type: DEFAULT; Schema: public; Owner: -
1231 ALTER TABLE ONLY public.authorized_keys ALTER COLUMN id SET DEFAULT nextval('public.authorized_keys_id_seq'::regclass);
1235 -- Name: collections id; Type: DEFAULT; Schema: public; Owner: -
1238 ALTER TABLE ONLY public.collections ALTER COLUMN id SET DEFAULT nextval('public.collections_id_seq'::regclass);
1242 -- Name: commit_ancestors id; Type: DEFAULT; Schema: public; Owner: -
1245 ALTER TABLE ONLY public.commit_ancestors ALTER COLUMN id SET DEFAULT nextval('public.commit_ancestors_id_seq'::regclass);
1249 -- Name: commits id; Type: DEFAULT; Schema: public; Owner: -
1252 ALTER TABLE ONLY public.commits ALTER COLUMN id SET DEFAULT nextval('public.commits_id_seq'::regclass);
1256 -- Name: container_requests id; Type: DEFAULT; Schema: public; Owner: -
1259 ALTER TABLE ONLY public.container_requests ALTER COLUMN id SET DEFAULT nextval('public.container_requests_id_seq'::regclass);
1263 -- Name: containers id; Type: DEFAULT; Schema: public; Owner: -
1266 ALTER TABLE ONLY public.containers ALTER COLUMN id SET DEFAULT nextval('public.containers_id_seq'::regclass);
1270 -- Name: groups id; Type: DEFAULT; Schema: public; Owner: -
1273 ALTER TABLE ONLY public.groups ALTER COLUMN id SET DEFAULT nextval('public.groups_id_seq'::regclass);
1277 -- Name: humans id; Type: DEFAULT; Schema: public; Owner: -
1280 ALTER TABLE ONLY public.humans ALTER COLUMN id SET DEFAULT nextval('public.humans_id_seq'::regclass);
1284 -- Name: job_tasks id; Type: DEFAULT; Schema: public; Owner: -
1287 ALTER TABLE ONLY public.job_tasks ALTER COLUMN id SET DEFAULT nextval('public.job_tasks_id_seq'::regclass);
1291 -- Name: jobs id; Type: DEFAULT; Schema: public; Owner: -
1294 ALTER TABLE ONLY public.jobs ALTER COLUMN id SET DEFAULT nextval('public.jobs_id_seq'::regclass);
1298 -- Name: keep_disks id; Type: DEFAULT; Schema: public; Owner: -
1301 ALTER TABLE ONLY public.keep_disks ALTER COLUMN id SET DEFAULT nextval('public.keep_disks_id_seq'::regclass);
1305 -- Name: keep_services id; Type: DEFAULT; Schema: public; Owner: -
1308 ALTER TABLE ONLY public.keep_services ALTER COLUMN id SET DEFAULT nextval('public.keep_services_id_seq'::regclass);
1312 -- Name: links id; Type: DEFAULT; Schema: public; Owner: -
1315 ALTER TABLE ONLY public.links ALTER COLUMN id SET DEFAULT nextval('public.links_id_seq'::regclass);
1319 -- Name: logs id; Type: DEFAULT; Schema: public; Owner: -
1322 ALTER TABLE ONLY public.logs ALTER COLUMN id SET DEFAULT nextval('public.logs_id_seq'::regclass);
1326 -- Name: nodes id; Type: DEFAULT; Schema: public; Owner: -
1329 ALTER TABLE ONLY public.nodes ALTER COLUMN id SET DEFAULT nextval('public.nodes_id_seq'::regclass);
1333 -- Name: permission_refresh_lock id; Type: DEFAULT; Schema: public; Owner: -
1336 ALTER TABLE ONLY public.permission_refresh_lock ALTER COLUMN id SET DEFAULT nextval('public.permission_refresh_lock_id_seq'::regclass);
1340 -- Name: pipeline_instances id; Type: DEFAULT; Schema: public; Owner: -
1343 ALTER TABLE ONLY public.pipeline_instances ALTER COLUMN id SET DEFAULT nextval('public.pipeline_instances_id_seq'::regclass);
1347 -- Name: pipeline_templates id; Type: DEFAULT; Schema: public; Owner: -
1350 ALTER TABLE ONLY public.pipeline_templates ALTER COLUMN id SET DEFAULT nextval('public.pipeline_templates_id_seq'::regclass);
1354 -- Name: repositories id; Type: DEFAULT; Schema: public; Owner: -
1357 ALTER TABLE ONLY public.repositories ALTER COLUMN id SET DEFAULT nextval('public.repositories_id_seq'::regclass);
1361 -- Name: specimens id; Type: DEFAULT; Schema: public; Owner: -
1364 ALTER TABLE ONLY public.specimens ALTER COLUMN id SET DEFAULT nextval('public.specimens_id_seq'::regclass);
1368 -- Name: traits id; Type: DEFAULT; Schema: public; Owner: -
1371 ALTER TABLE ONLY public.traits ALTER COLUMN id SET DEFAULT nextval('public.traits_id_seq'::regclass);
1375 -- Name: users id; Type: DEFAULT; Schema: public; Owner: -
1378 ALTER TABLE ONLY public.users ALTER COLUMN id SET DEFAULT nextval('public.users_id_seq'::regclass);
1382 -- Name: virtual_machines id; Type: DEFAULT; Schema: public; Owner: -
1385 ALTER TABLE ONLY public.virtual_machines ALTER COLUMN id SET DEFAULT nextval('public.virtual_machines_id_seq'::regclass);
1389 -- Name: workflows id; Type: DEFAULT; Schema: public; Owner: -
1392 ALTER TABLE ONLY public.workflows ALTER COLUMN id SET DEFAULT nextval('public.workflows_id_seq'::regclass);
1396 -- Name: api_client_authorizations api_client_authorizations_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1399 ALTER TABLE ONLY public.api_client_authorizations
1400 ADD CONSTRAINT api_client_authorizations_pkey PRIMARY KEY (id);
1404 -- Name: api_clients api_clients_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1407 ALTER TABLE ONLY public.api_clients
1408 ADD CONSTRAINT api_clients_pkey PRIMARY KEY (id);
1412 -- Name: authorized_keys authorized_keys_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1415 ALTER TABLE ONLY public.authorized_keys
1416 ADD CONSTRAINT authorized_keys_pkey PRIMARY KEY (id);
1420 -- Name: collections collections_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1423 ALTER TABLE ONLY public.collections
1424 ADD CONSTRAINT collections_pkey PRIMARY KEY (id);
1428 -- Name: commit_ancestors commit_ancestors_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1431 ALTER TABLE ONLY public.commit_ancestors
1432 ADD CONSTRAINT commit_ancestors_pkey PRIMARY KEY (id);
1436 -- Name: commits commits_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1439 ALTER TABLE ONLY public.commits
1440 ADD CONSTRAINT commits_pkey PRIMARY KEY (id);
1444 -- Name: container_requests container_requests_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1447 ALTER TABLE ONLY public.container_requests
1448 ADD CONSTRAINT container_requests_pkey PRIMARY KEY (id);
1452 -- Name: containers containers_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1455 ALTER TABLE ONLY public.containers
1456 ADD CONSTRAINT containers_pkey PRIMARY KEY (id);
1460 -- Name: groups groups_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1463 ALTER TABLE ONLY public.groups
1464 ADD CONSTRAINT groups_pkey PRIMARY KEY (id);
1468 -- Name: humans humans_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1471 ALTER TABLE ONLY public.humans
1472 ADD CONSTRAINT humans_pkey PRIMARY KEY (id);
1476 -- Name: job_tasks job_tasks_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1479 ALTER TABLE ONLY public.job_tasks
1480 ADD CONSTRAINT job_tasks_pkey PRIMARY KEY (id);
1484 -- Name: jobs jobs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1487 ALTER TABLE ONLY public.jobs
1488 ADD CONSTRAINT jobs_pkey PRIMARY KEY (id);
1492 -- Name: keep_disks keep_disks_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1495 ALTER TABLE ONLY public.keep_disks
1496 ADD CONSTRAINT keep_disks_pkey PRIMARY KEY (id);
1500 -- Name: keep_services keep_services_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1503 ALTER TABLE ONLY public.keep_services
1504 ADD CONSTRAINT keep_services_pkey PRIMARY KEY (id);
1508 -- Name: links links_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1511 ALTER TABLE ONLY public.links
1512 ADD CONSTRAINT links_pkey PRIMARY KEY (id);
1516 -- Name: logs logs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1519 ALTER TABLE ONLY public.logs
1520 ADD CONSTRAINT logs_pkey PRIMARY KEY (id);
1524 -- Name: nodes nodes_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1527 ALTER TABLE ONLY public.nodes
1528 ADD CONSTRAINT nodes_pkey PRIMARY KEY (id);
1532 -- Name: permission_refresh_lock permission_refresh_lock_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1535 ALTER TABLE ONLY public.permission_refresh_lock
1536 ADD CONSTRAINT permission_refresh_lock_pkey PRIMARY KEY (id);
1540 -- Name: pipeline_instances pipeline_instances_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1543 ALTER TABLE ONLY public.pipeline_instances
1544 ADD CONSTRAINT pipeline_instances_pkey PRIMARY KEY (id);
1548 -- Name: pipeline_templates pipeline_templates_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1551 ALTER TABLE ONLY public.pipeline_templates
1552 ADD CONSTRAINT pipeline_templates_pkey PRIMARY KEY (id);
1556 -- Name: repositories repositories_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1559 ALTER TABLE ONLY public.repositories
1560 ADD CONSTRAINT repositories_pkey PRIMARY KEY (id);
1564 -- Name: specimens specimens_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1567 ALTER TABLE ONLY public.specimens
1568 ADD CONSTRAINT specimens_pkey PRIMARY KEY (id);
1572 -- Name: traits traits_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1575 ALTER TABLE ONLY public.traits
1576 ADD CONSTRAINT traits_pkey PRIMARY KEY (id);
1580 -- Name: users users_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1583 ALTER TABLE ONLY public.users
1584 ADD CONSTRAINT users_pkey PRIMARY KEY (id);
1588 -- Name: virtual_machines virtual_machines_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1591 ALTER TABLE ONLY public.virtual_machines
1592 ADD CONSTRAINT virtual_machines_pkey PRIMARY KEY (id);
1596 -- Name: workflows workflows_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1599 ALTER TABLE ONLY public.workflows
1600 ADD CONSTRAINT workflows_pkey PRIMARY KEY (id);
1604 -- Name: api_client_authorizations_search_index; Type: INDEX; Schema: public; Owner: -
1607 CREATE INDEX api_client_authorizations_search_index ON public.api_client_authorizations USING btree (api_token, created_by_ip_address, last_used_by_ip_address, default_owner_uuid, uuid);
1611 -- Name: api_clients_search_index; Type: INDEX; Schema: public; Owner: -
1614 CREATE INDEX api_clients_search_index ON public.api_clients USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name, url_prefix);
1618 -- Name: authorized_keys_search_index; Type: INDEX; Schema: public; Owner: -
1621 CREATE INDEX authorized_keys_search_index ON public.authorized_keys USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name, key_type, authorized_user_uuid);
1625 -- Name: collection_index_on_properties; Type: INDEX; Schema: public; Owner: -
1628 CREATE INDEX collection_index_on_properties ON public.collections USING gin (properties);
1632 -- Name: collections_full_text_search_idx; Type: INDEX; Schema: public; Owner: -
1635 CREATE INDEX collections_full_text_search_idx ON public.collections USING gin (to_tsvector('english'::regconfig, substr((((((((((((((((((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)) || ' '::text) || COALESCE(file_names, ''::text)), 0, 1000000)));
1639 -- Name: collections_search_index; Type: INDEX; Schema: public; Owner: -
1642 CREATE INDEX collections_search_index ON public.collections USING btree (owner_uuid, modified_by_client_uuid, modified_by_user_uuid, portable_data_hash, uuid, name, current_version_uuid);
1646 -- Name: container_requests_full_text_search_idx; Type: INDEX; Schema: public; Owner: -
1649 CREATE INDEX container_requests_full_text_search_idx ON public.container_requests USING gin (to_tsvector('english'::regconfig, substr((((((((((((((((((((((((((((((((((((((((((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)) || ' '::text) || (COALESCE(state, ''::character varying))::text) || ' '::text) || (COALESCE(requesting_container_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(container_uuid, ''::character varying))::text) || ' '::text) || COALESCE(runtime_constraints, ''::text)) || ' '::text) || (COALESCE(container_image, ''::character varying))::text) || ' '::text) || COALESCE(environment, ''::text)) || ' '::text) || (COALESCE(cwd, ''::character varying))::text) || ' '::text) || COALESCE(command, ''::text)) || ' '::text) || (COALESCE(output_path, ''::character varying))::text) || ' '::text) || COALESCE(filters, ''::text)) || ' '::text) || COALESCE(scheduling_parameters, ''::text)) || ' '::text) || (COALESCE(output_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(log_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(output_name, ''::character varying))::text), 0, 1000000)));
1653 -- Name: container_requests_index_on_properties; Type: INDEX; Schema: public; Owner: -
1656 CREATE INDEX container_requests_index_on_properties ON public.container_requests USING gin (properties);
1660 -- Name: container_requests_search_index; Type: INDEX; Schema: public; Owner: -
1663 CREATE INDEX container_requests_search_index ON public.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);
1667 -- Name: containers_search_index; Type: INDEX; Schema: public; Owner: -
1670 CREATE INDEX containers_search_index ON public.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);
1674 -- Name: group_index_on_properties; Type: INDEX; Schema: public; Owner: -
1677 CREATE INDEX group_index_on_properties ON public.groups USING gin (properties);
1681 -- Name: groups_full_text_search_idx; Type: INDEX; Schema: public; Owner: -
1684 CREATE INDEX groups_full_text_search_idx ON public.groups USING gin (to_tsvector('english'::regconfig, substr((((((((((((((((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) || ' '::text) || COALESCE((properties)::text, ''::text)), 0, 1000000)));
1688 -- Name: groups_search_index; Type: INDEX; Schema: public; Owner: -
1691 CREATE INDEX groups_search_index ON public.groups USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name, group_class);
1695 -- Name: humans_search_index; Type: INDEX; Schema: public; Owner: -
1698 CREATE INDEX humans_search_index ON public.humans USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid);
1702 -- Name: index_api_client_authorizations_on_api_client_id; Type: INDEX; Schema: public; Owner: -
1705 CREATE INDEX index_api_client_authorizations_on_api_client_id ON public.api_client_authorizations USING btree (api_client_id);
1709 -- Name: index_api_client_authorizations_on_api_token; Type: INDEX; Schema: public; Owner: -
1712 CREATE UNIQUE INDEX index_api_client_authorizations_on_api_token ON public.api_client_authorizations USING btree (api_token);
1716 -- Name: index_api_client_authorizations_on_expires_at; Type: INDEX; Schema: public; Owner: -
1719 CREATE INDEX index_api_client_authorizations_on_expires_at ON public.api_client_authorizations USING btree (expires_at);
1723 -- Name: index_api_client_authorizations_on_user_id; Type: INDEX; Schema: public; Owner: -
1726 CREATE INDEX index_api_client_authorizations_on_user_id ON public.api_client_authorizations USING btree (user_id);
1730 -- Name: index_api_client_authorizations_on_uuid; Type: INDEX; Schema: public; Owner: -
1733 CREATE UNIQUE INDEX index_api_client_authorizations_on_uuid ON public.api_client_authorizations USING btree (uuid);
1737 -- Name: index_api_clients_on_created_at; Type: INDEX; Schema: public; Owner: -
1740 CREATE INDEX index_api_clients_on_created_at ON public.api_clients USING btree (created_at);
1744 -- Name: index_api_clients_on_modified_at; Type: INDEX; Schema: public; Owner: -
1747 CREATE INDEX index_api_clients_on_modified_at ON public.api_clients USING btree (modified_at);
1751 -- Name: index_api_clients_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
1754 CREATE INDEX index_api_clients_on_owner_uuid ON public.api_clients USING btree (owner_uuid);
1758 -- Name: index_api_clients_on_uuid; Type: INDEX; Schema: public; Owner: -
1761 CREATE UNIQUE INDEX index_api_clients_on_uuid ON public.api_clients USING btree (uuid);
1765 -- Name: index_authkeys_on_user_and_expires_at; Type: INDEX; Schema: public; Owner: -
1768 CREATE INDEX index_authkeys_on_user_and_expires_at ON public.authorized_keys USING btree (authorized_user_uuid, expires_at);
1772 -- Name: index_authorized_keys_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
1775 CREATE INDEX index_authorized_keys_on_owner_uuid ON public.authorized_keys USING btree (owner_uuid);
1779 -- Name: index_authorized_keys_on_uuid; Type: INDEX; Schema: public; Owner: -
1782 CREATE UNIQUE INDEX index_authorized_keys_on_uuid ON public.authorized_keys USING btree (uuid);
1786 -- Name: index_collections_on_created_at; Type: INDEX; Schema: public; Owner: -
1789 CREATE INDEX index_collections_on_created_at ON public.collections USING btree (created_at);
1793 -- Name: index_collections_on_current_version_uuid_and_version; Type: INDEX; Schema: public; Owner: -
1796 CREATE UNIQUE INDEX index_collections_on_current_version_uuid_and_version ON public.collections USING btree (current_version_uuid, version);
1800 -- Name: index_collections_on_delete_at; Type: INDEX; Schema: public; Owner: -
1803 CREATE INDEX index_collections_on_delete_at ON public.collections USING btree (delete_at);
1807 -- Name: index_collections_on_is_trashed; Type: INDEX; Schema: public; Owner: -
1810 CREATE INDEX index_collections_on_is_trashed ON public.collections USING btree (is_trashed);
1814 -- Name: index_collections_on_modified_at; Type: INDEX; Schema: public; Owner: -
1817 CREATE INDEX index_collections_on_modified_at ON public.collections USING btree (modified_at);
1821 -- Name: index_collections_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
1824 CREATE INDEX index_collections_on_modified_at_uuid ON public.collections USING btree (modified_at DESC, uuid);
1828 -- Name: index_collections_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
1831 CREATE INDEX index_collections_on_owner_uuid ON public.collections USING btree (owner_uuid);
1835 -- Name: index_collections_on_owner_uuid_and_name; Type: INDEX; Schema: public; Owner: -
1838 CREATE UNIQUE INDEX index_collections_on_owner_uuid_and_name ON public.collections USING btree (owner_uuid, name) WHERE ((is_trashed = false) AND ((current_version_uuid)::text = (uuid)::text));
1842 -- Name: index_collections_on_portable_data_hash_and_trash_at; Type: INDEX; Schema: public; Owner: -
1845 CREATE INDEX index_collections_on_portable_data_hash_and_trash_at ON public.collections USING btree (portable_data_hash, trash_at);
1849 -- Name: index_collections_on_trash_at; Type: INDEX; Schema: public; Owner: -
1852 CREATE INDEX index_collections_on_trash_at ON public.collections USING btree (trash_at);
1856 -- Name: index_collections_on_uuid; Type: INDEX; Schema: public; Owner: -
1859 CREATE UNIQUE INDEX index_collections_on_uuid ON public.collections USING btree (uuid);
1863 -- Name: index_commit_ancestors_on_descendant_and_ancestor; Type: INDEX; Schema: public; Owner: -
1866 CREATE UNIQUE INDEX index_commit_ancestors_on_descendant_and_ancestor ON public.commit_ancestors USING btree (descendant, ancestor);
1870 -- Name: index_commits_on_repository_name_and_sha1; Type: INDEX; Schema: public; Owner: -
1873 CREATE UNIQUE INDEX index_commits_on_repository_name_and_sha1 ON public.commits USING btree (repository_name, sha1);
1877 -- Name: index_container_requests_on_container_uuid; Type: INDEX; Schema: public; Owner: -
1880 CREATE INDEX index_container_requests_on_container_uuid ON public.container_requests USING btree (container_uuid);
1884 -- Name: index_container_requests_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
1887 CREATE INDEX index_container_requests_on_modified_at_uuid ON public.container_requests USING btree (modified_at DESC, uuid);
1891 -- Name: index_container_requests_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
1894 CREATE INDEX index_container_requests_on_owner_uuid ON public.container_requests USING btree (owner_uuid);
1898 -- Name: index_container_requests_on_requesting_container_uuid; Type: INDEX; Schema: public; Owner: -
1901 CREATE INDEX index_container_requests_on_requesting_container_uuid ON public.container_requests USING btree (requesting_container_uuid);
1905 -- Name: index_container_requests_on_uuid; Type: INDEX; Schema: public; Owner: -
1908 CREATE UNIQUE INDEX index_container_requests_on_uuid ON public.container_requests USING btree (uuid);
1912 -- Name: index_containers_on_auth_uuid; Type: INDEX; Schema: public; Owner: -
1915 CREATE INDEX index_containers_on_auth_uuid ON public.containers USING btree (auth_uuid);
1919 -- Name: index_containers_on_locked_by_uuid_and_priority; Type: INDEX; Schema: public; Owner: -
1922 CREATE INDEX index_containers_on_locked_by_uuid_and_priority ON public.containers USING btree (locked_by_uuid, priority);
1926 -- Name: index_containers_on_locked_by_uuid_and_uuid; Type: INDEX; Schema: public; Owner: -
1929 CREATE INDEX index_containers_on_locked_by_uuid_and_uuid ON public.containers USING btree (locked_by_uuid, uuid);
1933 -- Name: index_containers_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
1936 CREATE INDEX index_containers_on_modified_at_uuid ON public.containers USING btree (modified_at DESC, uuid);
1940 -- Name: index_containers_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
1943 CREATE INDEX index_containers_on_owner_uuid ON public.containers USING btree (owner_uuid);
1947 -- Name: index_containers_on_queued_state; Type: INDEX; Schema: public; Owner: -
1950 CREATE INDEX index_containers_on_queued_state ON public.containers USING btree (state, ((priority > 0)));
1954 -- Name: index_containers_on_reuse_columns; Type: INDEX; Schema: public; Owner: -
1957 CREATE INDEX index_containers_on_reuse_columns ON public.containers USING btree (md5(command), cwd, md5(environment), output_path, container_image, md5(mounts), secret_mounts_md5, md5(runtime_constraints));
1961 -- Name: index_containers_on_runtime_status; Type: INDEX; Schema: public; Owner: -
1964 CREATE INDEX index_containers_on_runtime_status ON public.containers USING gin (runtime_status);
1968 -- Name: index_containers_on_secret_mounts_md5; Type: INDEX; Schema: public; Owner: -
1971 CREATE INDEX index_containers_on_secret_mounts_md5 ON public.containers USING btree (secret_mounts_md5);
1975 -- Name: index_containers_on_uuid; Type: INDEX; Schema: public; Owner: -
1978 CREATE UNIQUE INDEX index_containers_on_uuid ON public.containers USING btree (uuid);
1982 -- Name: index_groups_on_created_at; Type: INDEX; Schema: public; Owner: -
1985 CREATE INDEX index_groups_on_created_at ON public.groups USING btree (created_at);
1989 -- Name: index_groups_on_delete_at; Type: INDEX; Schema: public; Owner: -
1992 CREATE INDEX index_groups_on_delete_at ON public.groups USING btree (delete_at);
1996 -- Name: index_groups_on_group_class; Type: INDEX; Schema: public; Owner: -
1999 CREATE INDEX index_groups_on_group_class ON public.groups USING btree (group_class);
2003 -- Name: index_groups_on_is_trashed; Type: INDEX; Schema: public; Owner: -
2006 CREATE INDEX index_groups_on_is_trashed ON public.groups USING btree (is_trashed);
2010 -- Name: index_groups_on_modified_at; Type: INDEX; Schema: public; Owner: -
2013 CREATE INDEX index_groups_on_modified_at ON public.groups USING btree (modified_at);
2017 -- Name: index_groups_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
2020 CREATE INDEX index_groups_on_modified_at_uuid ON public.groups USING btree (modified_at DESC, uuid);
2024 -- Name: index_groups_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2027 CREATE INDEX index_groups_on_owner_uuid ON public.groups USING btree (owner_uuid);
2031 -- Name: index_groups_on_owner_uuid_and_name; Type: INDEX; Schema: public; Owner: -
2034 CREATE UNIQUE INDEX index_groups_on_owner_uuid_and_name ON public.groups USING btree (owner_uuid, name) WHERE (is_trashed = false);
2038 -- Name: index_groups_on_trash_at; Type: INDEX; Schema: public; Owner: -
2041 CREATE INDEX index_groups_on_trash_at ON public.groups USING btree (trash_at);
2045 -- Name: index_groups_on_uuid; Type: INDEX; Schema: public; Owner: -
2048 CREATE UNIQUE INDEX index_groups_on_uuid ON public.groups USING btree (uuid);
2052 -- Name: index_humans_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2055 CREATE INDEX index_humans_on_owner_uuid ON public.humans USING btree (owner_uuid);
2059 -- Name: index_humans_on_uuid; Type: INDEX; Schema: public; Owner: -
2062 CREATE UNIQUE INDEX index_humans_on_uuid ON public.humans USING btree (uuid);
2066 -- Name: index_job_tasks_on_created_at; Type: INDEX; Schema: public; Owner: -
2069 CREATE INDEX index_job_tasks_on_created_at ON public.job_tasks USING btree (created_at);
2073 -- Name: index_job_tasks_on_created_by_job_task_uuid; Type: INDEX; Schema: public; Owner: -
2076 CREATE INDEX index_job_tasks_on_created_by_job_task_uuid ON public.job_tasks USING btree (created_by_job_task_uuid);
2080 -- Name: index_job_tasks_on_job_uuid; Type: INDEX; Schema: public; Owner: -
2083 CREATE INDEX index_job_tasks_on_job_uuid ON public.job_tasks USING btree (job_uuid);
2087 -- Name: index_job_tasks_on_modified_at; Type: INDEX; Schema: public; Owner: -
2090 CREATE INDEX index_job_tasks_on_modified_at ON public.job_tasks USING btree (modified_at);
2094 -- Name: index_job_tasks_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2097 CREATE INDEX index_job_tasks_on_owner_uuid ON public.job_tasks USING btree (owner_uuid);
2101 -- Name: index_job_tasks_on_sequence; Type: INDEX; Schema: public; Owner: -
2104 CREATE INDEX index_job_tasks_on_sequence ON public.job_tasks USING btree (sequence);
2108 -- Name: index_job_tasks_on_success; Type: INDEX; Schema: public; Owner: -
2111 CREATE INDEX index_job_tasks_on_success ON public.job_tasks USING btree (success);
2115 -- Name: index_job_tasks_on_uuid; Type: INDEX; Schema: public; Owner: -
2118 CREATE UNIQUE INDEX index_job_tasks_on_uuid ON public.job_tasks USING btree (uuid);
2122 -- Name: index_jobs_on_created_at; Type: INDEX; Schema: public; Owner: -
2125 CREATE INDEX index_jobs_on_created_at ON public.jobs USING btree (created_at);
2129 -- Name: index_jobs_on_finished_at; Type: INDEX; Schema: public; Owner: -
2132 CREATE INDEX index_jobs_on_finished_at ON public.jobs USING btree (finished_at);
2136 -- Name: index_jobs_on_modified_at; Type: INDEX; Schema: public; Owner: -
2139 CREATE INDEX index_jobs_on_modified_at ON public.jobs USING btree (modified_at);
2143 -- Name: index_jobs_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
2146 CREATE INDEX index_jobs_on_modified_at_uuid ON public.jobs USING btree (modified_at DESC, uuid);
2150 -- Name: index_jobs_on_output; Type: INDEX; Schema: public; Owner: -
2153 CREATE INDEX index_jobs_on_output ON public.jobs USING btree (output);
2157 -- Name: index_jobs_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2160 CREATE INDEX index_jobs_on_owner_uuid ON public.jobs USING btree (owner_uuid);
2164 -- Name: index_jobs_on_script; Type: INDEX; Schema: public; Owner: -
2167 CREATE INDEX index_jobs_on_script ON public.jobs USING btree (script);
2171 -- Name: index_jobs_on_script_parameters_digest; Type: INDEX; Schema: public; Owner: -
2174 CREATE INDEX index_jobs_on_script_parameters_digest ON public.jobs USING btree (script_parameters_digest);
2178 -- Name: index_jobs_on_started_at; Type: INDEX; Schema: public; Owner: -
2181 CREATE INDEX index_jobs_on_started_at ON public.jobs USING btree (started_at);
2185 -- Name: index_jobs_on_submit_id; Type: INDEX; Schema: public; Owner: -
2188 CREATE UNIQUE INDEX index_jobs_on_submit_id ON public.jobs USING btree (submit_id);
2192 -- Name: index_jobs_on_uuid; Type: INDEX; Schema: public; Owner: -
2195 CREATE UNIQUE INDEX index_jobs_on_uuid ON public.jobs USING btree (uuid);
2199 -- Name: index_keep_disks_on_filesystem_uuid; Type: INDEX; Schema: public; Owner: -
2202 CREATE INDEX index_keep_disks_on_filesystem_uuid ON public.keep_disks USING btree (filesystem_uuid);
2206 -- Name: index_keep_disks_on_last_ping_at; Type: INDEX; Schema: public; Owner: -
2209 CREATE INDEX index_keep_disks_on_last_ping_at ON public.keep_disks USING btree (last_ping_at);
2213 -- Name: index_keep_disks_on_node_uuid; Type: INDEX; Schema: public; Owner: -
2216 CREATE INDEX index_keep_disks_on_node_uuid ON public.keep_disks USING btree (node_uuid);
2220 -- Name: index_keep_disks_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2223 CREATE INDEX index_keep_disks_on_owner_uuid ON public.keep_disks USING btree (owner_uuid);
2227 -- Name: index_keep_disks_on_uuid; Type: INDEX; Schema: public; Owner: -
2230 CREATE UNIQUE INDEX index_keep_disks_on_uuid ON public.keep_disks USING btree (uuid);
2234 -- Name: index_keep_services_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2237 CREATE INDEX index_keep_services_on_owner_uuid ON public.keep_services USING btree (owner_uuid);
2241 -- Name: index_keep_services_on_uuid; Type: INDEX; Schema: public; Owner: -
2244 CREATE UNIQUE INDEX index_keep_services_on_uuid ON public.keep_services USING btree (uuid);
2248 -- Name: index_links_on_created_at; Type: INDEX; Schema: public; Owner: -
2251 CREATE INDEX index_links_on_created_at ON public.links USING btree (created_at);
2255 -- Name: index_links_on_head_uuid; Type: INDEX; Schema: public; Owner: -
2258 CREATE INDEX index_links_on_head_uuid ON public.links USING btree (head_uuid);
2262 -- Name: index_links_on_modified_at; Type: INDEX; Schema: public; Owner: -
2265 CREATE INDEX index_links_on_modified_at ON public.links USING btree (modified_at);
2269 -- Name: index_links_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
2272 CREATE INDEX index_links_on_modified_at_uuid ON public.links USING btree (modified_at DESC, uuid);
2276 -- Name: index_links_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2279 CREATE INDEX index_links_on_owner_uuid ON public.links USING btree (owner_uuid);
2283 -- Name: index_links_on_substring_head_uuid; Type: INDEX; Schema: public; Owner: -
2286 CREATE INDEX index_links_on_substring_head_uuid ON public.links USING btree ("substring"((head_uuid)::text, 7, 5));
2290 -- Name: index_links_on_substring_tail_uuid; Type: INDEX; Schema: public; Owner: -
2293 CREATE INDEX index_links_on_substring_tail_uuid ON public.links USING btree ("substring"((tail_uuid)::text, 7, 5));
2297 -- Name: index_links_on_tail_uuid; Type: INDEX; Schema: public; Owner: -
2300 CREATE INDEX index_links_on_tail_uuid ON public.links USING btree (tail_uuid);
2304 -- Name: index_links_on_uuid; Type: INDEX; Schema: public; Owner: -
2307 CREATE UNIQUE INDEX index_links_on_uuid ON public.links USING btree (uuid);
2311 -- Name: index_logs_on_created_at; Type: INDEX; Schema: public; Owner: -
2314 CREATE INDEX index_logs_on_created_at ON public.logs USING btree (created_at);
2318 -- Name: index_logs_on_event_at; Type: INDEX; Schema: public; Owner: -
2321 CREATE INDEX index_logs_on_event_at ON public.logs USING btree (event_at);
2325 -- Name: index_logs_on_event_type; Type: INDEX; Schema: public; Owner: -
2328 CREATE INDEX index_logs_on_event_type ON public.logs USING btree (event_type);
2332 -- Name: index_logs_on_modified_at; Type: INDEX; Schema: public; Owner: -
2335 CREATE INDEX index_logs_on_modified_at ON public.logs USING btree (modified_at);
2339 -- Name: index_logs_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
2342 CREATE INDEX index_logs_on_modified_at_uuid ON public.logs USING btree (modified_at DESC, uuid);
2346 -- Name: index_logs_on_object_owner_uuid; Type: INDEX; Schema: public; Owner: -
2349 CREATE INDEX index_logs_on_object_owner_uuid ON public.logs USING btree (object_owner_uuid);
2353 -- Name: index_logs_on_object_uuid; Type: INDEX; Schema: public; Owner: -
2356 CREATE INDEX index_logs_on_object_uuid ON public.logs USING btree (object_uuid);
2360 -- Name: index_logs_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2363 CREATE INDEX index_logs_on_owner_uuid ON public.logs USING btree (owner_uuid);
2367 -- Name: index_logs_on_summary; Type: INDEX; Schema: public; Owner: -
2370 CREATE INDEX index_logs_on_summary ON public.logs USING btree (summary);
2374 -- Name: index_logs_on_uuid; Type: INDEX; Schema: public; Owner: -
2377 CREATE UNIQUE INDEX index_logs_on_uuid ON public.logs USING btree (uuid);
2381 -- Name: index_nodes_on_created_at; Type: INDEX; Schema: public; Owner: -
2384 CREATE INDEX index_nodes_on_created_at ON public.nodes USING btree (created_at);
2388 -- Name: index_nodes_on_hostname; Type: INDEX; Schema: public; Owner: -
2391 CREATE INDEX index_nodes_on_hostname ON public.nodes USING btree (hostname);
2395 -- Name: index_nodes_on_modified_at; Type: INDEX; Schema: public; Owner: -
2398 CREATE INDEX index_nodes_on_modified_at ON public.nodes USING btree (modified_at);
2402 -- Name: index_nodes_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2405 CREATE INDEX index_nodes_on_owner_uuid ON public.nodes USING btree (owner_uuid);
2409 -- Name: index_nodes_on_slot_number; Type: INDEX; Schema: public; Owner: -
2412 CREATE UNIQUE INDEX index_nodes_on_slot_number ON public.nodes USING btree (slot_number);
2416 -- Name: index_nodes_on_uuid; Type: INDEX; Schema: public; Owner: -
2419 CREATE UNIQUE INDEX index_nodes_on_uuid ON public.nodes USING btree (uuid);
2423 -- Name: index_pipeline_instances_on_created_at; Type: INDEX; Schema: public; Owner: -
2426 CREATE INDEX index_pipeline_instances_on_created_at ON public.pipeline_instances USING btree (created_at);
2430 -- Name: index_pipeline_instances_on_modified_at; Type: INDEX; Schema: public; Owner: -
2433 CREATE INDEX index_pipeline_instances_on_modified_at ON public.pipeline_instances USING btree (modified_at);
2437 -- Name: index_pipeline_instances_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
2440 CREATE INDEX index_pipeline_instances_on_modified_at_uuid ON public.pipeline_instances USING btree (modified_at DESC, uuid);
2444 -- Name: index_pipeline_instances_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2447 CREATE INDEX index_pipeline_instances_on_owner_uuid ON public.pipeline_instances USING btree (owner_uuid);
2451 -- Name: index_pipeline_instances_on_uuid; Type: INDEX; Schema: public; Owner: -
2454 CREATE UNIQUE INDEX index_pipeline_instances_on_uuid ON public.pipeline_instances USING btree (uuid);
2458 -- Name: index_pipeline_templates_on_created_at; Type: INDEX; Schema: public; Owner: -
2461 CREATE INDEX index_pipeline_templates_on_created_at ON public.pipeline_templates USING btree (created_at);
2465 -- Name: index_pipeline_templates_on_modified_at; Type: INDEX; Schema: public; Owner: -
2468 CREATE INDEX index_pipeline_templates_on_modified_at ON public.pipeline_templates USING btree (modified_at);
2472 -- Name: index_pipeline_templates_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
2475 CREATE INDEX index_pipeline_templates_on_modified_at_uuid ON public.pipeline_templates USING btree (modified_at DESC, uuid);
2479 -- Name: index_pipeline_templates_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2482 CREATE INDEX index_pipeline_templates_on_owner_uuid ON public.pipeline_templates USING btree (owner_uuid);
2486 -- Name: index_pipeline_templates_on_uuid; Type: INDEX; Schema: public; Owner: -
2489 CREATE UNIQUE INDEX index_pipeline_templates_on_uuid ON public.pipeline_templates USING btree (uuid);
2493 -- Name: index_repositories_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
2496 CREATE INDEX index_repositories_on_modified_at_uuid ON public.repositories USING btree (modified_at DESC, uuid);
2500 -- Name: index_repositories_on_name; Type: INDEX; Schema: public; Owner: -
2503 CREATE UNIQUE INDEX index_repositories_on_name ON public.repositories USING btree (name);
2507 -- Name: index_repositories_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2510 CREATE INDEX index_repositories_on_owner_uuid ON public.repositories USING btree (owner_uuid);
2514 -- Name: index_repositories_on_uuid; Type: INDEX; Schema: public; Owner: -
2517 CREATE UNIQUE INDEX index_repositories_on_uuid ON public.repositories USING btree (uuid);
2521 -- Name: index_specimens_on_created_at; Type: INDEX; Schema: public; Owner: -
2524 CREATE INDEX index_specimens_on_created_at ON public.specimens USING btree (created_at);
2528 -- Name: index_specimens_on_modified_at; Type: INDEX; Schema: public; Owner: -
2531 CREATE INDEX index_specimens_on_modified_at ON public.specimens USING btree (modified_at);
2535 -- Name: index_specimens_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2538 CREATE INDEX index_specimens_on_owner_uuid ON public.specimens USING btree (owner_uuid);
2542 -- Name: index_specimens_on_uuid; Type: INDEX; Schema: public; Owner: -
2545 CREATE UNIQUE INDEX index_specimens_on_uuid ON public.specimens USING btree (uuid);
2549 -- Name: index_traits_on_name; Type: INDEX; Schema: public; Owner: -
2552 CREATE INDEX index_traits_on_name ON public.traits USING btree (name);
2556 -- Name: index_traits_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2559 CREATE INDEX index_traits_on_owner_uuid ON public.traits USING btree (owner_uuid);
2563 -- Name: index_traits_on_uuid; Type: INDEX; Schema: public; Owner: -
2566 CREATE UNIQUE INDEX index_traits_on_uuid ON public.traits USING btree (uuid);
2570 -- Name: index_users_on_created_at; Type: INDEX; Schema: public; Owner: -
2573 CREATE INDEX index_users_on_created_at ON public.users USING btree (created_at);
2577 -- Name: index_users_on_modified_at; Type: INDEX; Schema: public; Owner: -
2580 CREATE INDEX index_users_on_modified_at ON public.users USING btree (modified_at);
2584 -- Name: index_users_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
2587 CREATE INDEX index_users_on_modified_at_uuid ON public.users USING btree (modified_at DESC, uuid);
2591 -- Name: index_users_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2594 CREATE INDEX index_users_on_owner_uuid ON public.users USING btree (owner_uuid);
2598 -- Name: index_users_on_username; Type: INDEX; Schema: public; Owner: -
2601 CREATE UNIQUE INDEX index_users_on_username ON public.users USING btree (username);
2605 -- Name: index_users_on_uuid; Type: INDEX; Schema: public; Owner: -
2608 CREATE UNIQUE INDEX index_users_on_uuid ON public.users USING btree (uuid);
2612 -- Name: index_virtual_machines_on_hostname; Type: INDEX; Schema: public; Owner: -
2615 CREATE INDEX index_virtual_machines_on_hostname ON public.virtual_machines USING btree (hostname);
2619 -- Name: index_virtual_machines_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
2622 CREATE INDEX index_virtual_machines_on_modified_at_uuid ON public.virtual_machines USING btree (modified_at DESC, uuid);
2626 -- Name: index_virtual_machines_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2629 CREATE INDEX index_virtual_machines_on_owner_uuid ON public.virtual_machines USING btree (owner_uuid);
2633 -- Name: index_virtual_machines_on_uuid; Type: INDEX; Schema: public; Owner: -
2636 CREATE UNIQUE INDEX index_virtual_machines_on_uuid ON public.virtual_machines USING btree (uuid);
2640 -- Name: index_workflows_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
2643 CREATE INDEX index_workflows_on_modified_at_uuid ON public.workflows USING btree (modified_at DESC, uuid);
2647 -- Name: index_workflows_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2650 CREATE INDEX index_workflows_on_owner_uuid ON public.workflows USING btree (owner_uuid);
2654 -- Name: index_workflows_on_uuid; Type: INDEX; Schema: public; Owner: -
2657 CREATE UNIQUE INDEX index_workflows_on_uuid ON public.workflows USING btree (uuid);
2661 -- Name: job_tasks_search_index; Type: INDEX; Schema: public; Owner: -
2664 CREATE INDEX job_tasks_search_index ON public.job_tasks USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, job_uuid, created_by_job_task_uuid);
2668 -- Name: jobs_full_text_search_idx; Type: INDEX; Schema: public; Owner: -
2671 CREATE INDEX jobs_full_text_search_idx ON public.jobs USING gin (to_tsvector('english'::regconfig, substr((((((((((((((((((((((((((((((((((((((((((((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)), 0, 1000000)));
2675 -- Name: jobs_search_index; Type: INDEX; Schema: public; Owner: -
2678 CREATE INDEX jobs_search_index ON public.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);
2682 -- Name: keep_disks_search_index; Type: INDEX; Schema: public; Owner: -
2685 CREATE INDEX keep_disks_search_index ON public.keep_disks USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, ping_secret, node_uuid, filesystem_uuid, keep_service_uuid);
2689 -- Name: keep_services_search_index; Type: INDEX; Schema: public; Owner: -
2692 CREATE INDEX keep_services_search_index ON public.keep_services USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, service_host, service_type);
2696 -- Name: links_index_on_properties; Type: INDEX; Schema: public; Owner: -
2699 CREATE INDEX links_index_on_properties ON public.links USING gin (properties);
2703 -- Name: links_search_index; Type: INDEX; Schema: public; Owner: -
2706 CREATE INDEX links_search_index ON public.links USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, tail_uuid, link_class, name, head_uuid);
2710 -- Name: links_tail_name_unique_if_link_class_name; Type: INDEX; Schema: public; Owner: -
2713 CREATE UNIQUE INDEX links_tail_name_unique_if_link_class_name ON public.links USING btree (tail_uuid, name) WHERE ((link_class)::text = 'name'::text);
2717 -- Name: logs_search_index; Type: INDEX; Schema: public; Owner: -
2720 CREATE INDEX logs_search_index ON public.logs USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, object_uuid, event_type, object_owner_uuid);
2724 -- Name: nodes_index_on_info; Type: INDEX; Schema: public; Owner: -
2727 CREATE INDEX nodes_index_on_info ON public.nodes USING gin (info);
2731 -- Name: nodes_index_on_properties; Type: INDEX; Schema: public; Owner: -
2734 CREATE INDEX nodes_index_on_properties ON public.nodes USING gin (properties);
2738 -- Name: nodes_search_index; Type: INDEX; Schema: public; Owner: -
2741 CREATE INDEX nodes_search_index ON public.nodes USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, hostname, domain, ip_address, job_uuid);
2745 -- Name: permission_target_trashed; Type: INDEX; Schema: public; Owner: -
2748 CREATE INDEX permission_target_trashed ON public.materialized_permission_view USING btree (trashed, target_uuid);
2752 -- Name: permission_target_user_trashed_level; Type: INDEX; Schema: public; Owner: -
2755 CREATE INDEX permission_target_user_trashed_level ON public.materialized_permission_view USING btree (user_uuid, trashed, perm_level);
2759 -- Name: pipeline_instances_full_text_search_idx; Type: INDEX; Schema: public; Owner: -
2762 CREATE INDEX pipeline_instances_full_text_search_idx ON public.pipeline_instances USING gin (to_tsvector('english'::regconfig, substr((((((((((((((((((((((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), 0, 1000000)));
2766 -- Name: pipeline_instances_search_index; Type: INDEX; Schema: public; Owner: -
2769 CREATE INDEX pipeline_instances_search_index ON public.pipeline_instances USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, pipeline_template_uuid, name, state);
2773 -- Name: pipeline_template_owner_uuid_name_unique; Type: INDEX; Schema: public; Owner: -
2776 CREATE UNIQUE INDEX pipeline_template_owner_uuid_name_unique ON public.pipeline_templates USING btree (owner_uuid, name);
2780 -- Name: pipeline_templates_full_text_search_idx; Type: INDEX; Schema: public; Owner: -
2783 CREATE INDEX pipeline_templates_full_text_search_idx ON public.pipeline_templates USING gin (to_tsvector('english'::regconfig, substr((((((((((((((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), 0, 1000000)));
2787 -- Name: pipeline_templates_search_index; Type: INDEX; Schema: public; Owner: -
2790 CREATE INDEX pipeline_templates_search_index ON public.pipeline_templates USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2794 -- Name: repositories_search_index; Type: INDEX; Schema: public; Owner: -
2797 CREATE INDEX repositories_search_index ON public.repositories USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2801 -- Name: specimens_search_index; Type: INDEX; Schema: public; Owner: -
2804 CREATE INDEX specimens_search_index ON public.specimens USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, material);
2808 -- Name: traits_search_index; Type: INDEX; Schema: public; Owner: -
2811 CREATE INDEX traits_search_index ON public.traits USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2815 -- Name: unique_schema_migrations; Type: INDEX; Schema: public; Owner: -
2818 CREATE UNIQUE INDEX unique_schema_migrations ON public.schema_migrations USING btree (version);
2822 -- Name: users_search_index; Type: INDEX; Schema: public; Owner: -
2825 CREATE INDEX users_search_index ON public.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, redirect_to_user_uuid);
2829 -- Name: virtual_machines_search_index; Type: INDEX; Schema: public; Owner: -
2832 CREATE INDEX virtual_machines_search_index ON public.virtual_machines USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, hostname);
2836 -- Name: workflows_full_text_search_idx; Type: INDEX; Schema: public; Owner: -
2839 CREATE INDEX workflows_full_text_search_idx ON public.workflows USING gin (to_tsvector('english'::regconfig, substr((((((((((((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)), 0, 1000000)));
2843 -- Name: workflows_search_idx; Type: INDEX; Schema: public; Owner: -
2846 CREATE INDEX workflows_search_idx ON public.workflows USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2850 -- PostgreSQL database dump complete
2853 SET search_path TO "$user", public;
2855 INSERT INTO schema_migrations (version) VALUES ('20121016005009');
2857 INSERT INTO schema_migrations (version) VALUES ('20130105203021');
2859 INSERT INTO schema_migrations (version) VALUES ('20130105224358');
2861 INSERT INTO schema_migrations (version) VALUES ('20130105224618');
2863 INSERT INTO schema_migrations (version) VALUES ('20130107181109');
2865 INSERT INTO schema_migrations (version) VALUES ('20130107212832');
2867 INSERT INTO schema_migrations (version) VALUES ('20130109175700');
2869 INSERT INTO schema_migrations (version) VALUES ('20130109220548');
2871 INSERT INTO schema_migrations (version) VALUES ('20130113214204');
2873 INSERT INTO schema_migrations (version) VALUES ('20130116024233');
2875 INSERT INTO schema_migrations (version) VALUES ('20130116215213');
2877 INSERT INTO schema_migrations (version) VALUES ('20130118002239');
2879 INSERT INTO schema_migrations (version) VALUES ('20130122020042');
2881 INSERT INTO schema_migrations (version) VALUES ('20130122201442');
2883 INSERT INTO schema_migrations (version) VALUES ('20130122221616');
2885 INSERT INTO schema_migrations (version) VALUES ('20130123174514');
2887 INSERT INTO schema_migrations (version) VALUES ('20130123180224');
2889 INSERT INTO schema_migrations (version) VALUES ('20130123180228');
2891 INSERT INTO schema_migrations (version) VALUES ('20130125220425');
2893 INSERT INTO schema_migrations (version) VALUES ('20130128202518');
2895 INSERT INTO schema_migrations (version) VALUES ('20130128231343');
2897 INSERT INTO schema_migrations (version) VALUES ('20130130205749');
2899 INSERT INTO schema_migrations (version) VALUES ('20130203104818');
2901 INSERT INTO schema_migrations (version) VALUES ('20130203104824');
2903 INSERT INTO schema_migrations (version) VALUES ('20130203115329');
2905 INSERT INTO schema_migrations (version) VALUES ('20130207195855');
2907 INSERT INTO schema_migrations (version) VALUES ('20130218181504');
2909 INSERT INTO schema_migrations (version) VALUES ('20130226170000');
2911 INSERT INTO schema_migrations (version) VALUES ('20130313175417');
2913 INSERT INTO schema_migrations (version) VALUES ('20130315155820');
2915 INSERT INTO schema_migrations (version) VALUES ('20130315183626');
2917 INSERT INTO schema_migrations (version) VALUES ('20130315213205');
2919 INSERT INTO schema_migrations (version) VALUES ('20130318002138');
2921 INSERT INTO schema_migrations (version) VALUES ('20130319165853');
2923 INSERT INTO schema_migrations (version) VALUES ('20130319180730');
2925 INSERT INTO schema_migrations (version) VALUES ('20130319194637');
2927 INSERT INTO schema_migrations (version) VALUES ('20130319201431');
2929 INSERT INTO schema_migrations (version) VALUES ('20130319235957');
2931 INSERT INTO schema_migrations (version) VALUES ('20130320000107');
2933 INSERT INTO schema_migrations (version) VALUES ('20130326173804');
2935 INSERT INTO schema_migrations (version) VALUES ('20130326182917');
2937 INSERT INTO schema_migrations (version) VALUES ('20130415020241');
2939 INSERT INTO schema_migrations (version) VALUES ('20130425024459');
2941 INSERT INTO schema_migrations (version) VALUES ('20130425214427');
2943 INSERT INTO schema_migrations (version) VALUES ('20130523060112');
2945 INSERT INTO schema_migrations (version) VALUES ('20130523060213');
2947 INSERT INTO schema_migrations (version) VALUES ('20130524042319');
2949 INSERT INTO schema_migrations (version) VALUES ('20130528134100');
2951 INSERT INTO schema_migrations (version) VALUES ('20130606183519');
2953 INSERT INTO schema_migrations (version) VALUES ('20130608053730');
2955 INSERT INTO schema_migrations (version) VALUES ('20130610202538');
2957 INSERT INTO schema_migrations (version) VALUES ('20130611163736');
2959 INSERT INTO schema_migrations (version) VALUES ('20130612042554');
2961 INSERT INTO schema_migrations (version) VALUES ('20130617150007');
2963 INSERT INTO schema_migrations (version) VALUES ('20130626002829');
2965 INSERT INTO schema_migrations (version) VALUES ('20130626022810');
2967 INSERT INTO schema_migrations (version) VALUES ('20130627154537');
2969 INSERT INTO schema_migrations (version) VALUES ('20130627184333');
2971 INSERT INTO schema_migrations (version) VALUES ('20130708163414');
2973 INSERT INTO schema_migrations (version) VALUES ('20130708182912');
2975 INSERT INTO schema_migrations (version) VALUES ('20130708185153');
2977 INSERT INTO schema_migrations (version) VALUES ('20130724153034');
2979 INSERT INTO schema_migrations (version) VALUES ('20131007180607');
2981 INSERT INTO schema_migrations (version) VALUES ('20140117231056');
2983 INSERT INTO schema_migrations (version) VALUES ('20140124222114');
2985 INSERT INTO schema_migrations (version) VALUES ('20140129184311');
2987 INSERT INTO schema_migrations (version) VALUES ('20140317135600');
2989 INSERT INTO schema_migrations (version) VALUES ('20140319160547');
2991 INSERT INTO schema_migrations (version) VALUES ('20140321191343');
2993 INSERT INTO schema_migrations (version) VALUES ('20140324024606');
2995 INSERT INTO schema_migrations (version) VALUES ('20140325175653');
2997 INSERT INTO schema_migrations (version) VALUES ('20140402001908');
2999 INSERT INTO schema_migrations (version) VALUES ('20140407184311');
3001 INSERT INTO schema_migrations (version) VALUES ('20140421140924');
3003 INSERT INTO schema_migrations (version) VALUES ('20140421151939');
3005 INSERT INTO schema_migrations (version) VALUES ('20140421151940');
3007 INSERT INTO schema_migrations (version) VALUES ('20140422011506');
3009 INSERT INTO schema_migrations (version) VALUES ('20140423132913');
3011 INSERT INTO schema_migrations (version) VALUES ('20140423133559');
3013 INSERT INTO schema_migrations (version) VALUES ('20140501165548');
3015 INSERT INTO schema_migrations (version) VALUES ('20140519205916');
3017 INSERT INTO schema_migrations (version) VALUES ('20140527152921');
3019 INSERT INTO schema_migrations (version) VALUES ('20140530200539');
3021 INSERT INTO schema_migrations (version) VALUES ('20140601022548');
3023 INSERT INTO schema_migrations (version) VALUES ('20140602143352');
3025 INSERT INTO schema_migrations (version) VALUES ('20140607150616');
3027 INSERT INTO schema_migrations (version) VALUES ('20140611173003');
3029 INSERT INTO schema_migrations (version) VALUES ('20140627210837');
3031 INSERT INTO schema_migrations (version) VALUES ('20140709172343');
3033 INSERT INTO schema_migrations (version) VALUES ('20140714184006');
3035 INSERT INTO schema_migrations (version) VALUES ('20140811184643');
3037 INSERT INTO schema_migrations (version) VALUES ('20140817035914');
3039 INSERT INTO schema_migrations (version) VALUES ('20140818125735');
3041 INSERT INTO schema_migrations (version) VALUES ('20140826180337');
3043 INSERT INTO schema_migrations (version) VALUES ('20140828141043');
3045 INSERT INTO schema_migrations (version) VALUES ('20140909183946');
3047 INSERT INTO schema_migrations (version) VALUES ('20140911221252');
3049 INSERT INTO schema_migrations (version) VALUES ('20140918141529');
3051 INSERT INTO schema_migrations (version) VALUES ('20140918153541');
3053 INSERT INTO schema_migrations (version) VALUES ('20140918153705');
3055 INSERT INTO schema_migrations (version) VALUES ('20140924091559');
3057 INSERT INTO schema_migrations (version) VALUES ('20141111133038');
3059 INSERT INTO schema_migrations (version) VALUES ('20141208164553');
3061 INSERT INTO schema_migrations (version) VALUES ('20141208174553');
3063 INSERT INTO schema_migrations (version) VALUES ('20141208174653');
3065 INSERT INTO schema_migrations (version) VALUES ('20141208185217');
3067 INSERT INTO schema_migrations (version) VALUES ('20150122175935');
3069 INSERT INTO schema_migrations (version) VALUES ('20150123142953');
3071 INSERT INTO schema_migrations (version) VALUES ('20150203180223');
3073 INSERT INTO schema_migrations (version) VALUES ('20150206210804');
3075 INSERT INTO schema_migrations (version) VALUES ('20150206230342');
3077 INSERT INTO schema_migrations (version) VALUES ('20150216193428');
3079 INSERT INTO schema_migrations (version) VALUES ('20150303210106');
3081 INSERT INTO schema_migrations (version) VALUES ('20150312151136');
3083 INSERT INTO schema_migrations (version) VALUES ('20150317132720');
3085 INSERT INTO schema_migrations (version) VALUES ('20150324152204');
3087 INSERT INTO schema_migrations (version) VALUES ('20150423145759');
3089 INSERT INTO schema_migrations (version) VALUES ('20150512193020');
3091 INSERT INTO schema_migrations (version) VALUES ('20150526180251');
3093 INSERT INTO schema_migrations (version) VALUES ('20151202151426');
3095 INSERT INTO schema_migrations (version) VALUES ('20151215134304');
3097 INSERT INTO schema_migrations (version) VALUES ('20151229214707');
3099 INSERT INTO schema_migrations (version) VALUES ('20160208210629');
3101 INSERT INTO schema_migrations (version) VALUES ('20160209155729');
3103 INSERT INTO schema_migrations (version) VALUES ('20160324144017');
3105 INSERT INTO schema_migrations (version) VALUES ('20160506175108');
3107 INSERT INTO schema_migrations (version) VALUES ('20160509143250');
3109 INSERT INTO schema_migrations (version) VALUES ('20160808151559');
3111 INSERT INTO schema_migrations (version) VALUES ('20160819195557');
3113 INSERT INTO schema_migrations (version) VALUES ('20160819195725');
3115 INSERT INTO schema_migrations (version) VALUES ('20160901210110');
3117 INSERT INTO schema_migrations (version) VALUES ('20160909181442');
3119 INSERT INTO schema_migrations (version) VALUES ('20160926194129');
3121 INSERT INTO schema_migrations (version) VALUES ('20161019171346');
3123 INSERT INTO schema_migrations (version) VALUES ('20161111143147');
3125 INSERT INTO schema_migrations (version) VALUES ('20161115171221');
3127 INSERT INTO schema_migrations (version) VALUES ('20161115174218');
3129 INSERT INTO schema_migrations (version) VALUES ('20161213172944');
3131 INSERT INTO schema_migrations (version) VALUES ('20161222153434');
3133 INSERT INTO schema_migrations (version) VALUES ('20161223090712');
3135 INSERT INTO schema_migrations (version) VALUES ('20170102153111');
3137 INSERT INTO schema_migrations (version) VALUES ('20170105160301');
3139 INSERT INTO schema_migrations (version) VALUES ('20170105160302');
3141 INSERT INTO schema_migrations (version) VALUES ('20170216170823');
3143 INSERT INTO schema_migrations (version) VALUES ('20170301225558');
3145 INSERT INTO schema_migrations (version) VALUES ('20170319063406');
3147 INSERT INTO schema_migrations (version) VALUES ('20170328215436');
3149 INSERT INTO schema_migrations (version) VALUES ('20170330012505');
3151 INSERT INTO schema_migrations (version) VALUES ('20170419173031');
3153 INSERT INTO schema_migrations (version) VALUES ('20170419173712');
3155 INSERT INTO schema_migrations (version) VALUES ('20170419175801');
3157 INSERT INTO schema_migrations (version) VALUES ('20170628185847');
3159 INSERT INTO schema_migrations (version) VALUES ('20170704160233');
3161 INSERT INTO schema_migrations (version) VALUES ('20170706141334');
3163 INSERT INTO schema_migrations (version) VALUES ('20170824202826');
3165 INSERT INTO schema_migrations (version) VALUES ('20170906224040');
3167 INSERT INTO schema_migrations (version) VALUES ('20171027183824');
3169 INSERT INTO schema_migrations (version) VALUES ('20171208203841');
3171 INSERT INTO schema_migrations (version) VALUES ('20171212153352');
3173 INSERT INTO schema_migrations (version) VALUES ('20180216203422');
3175 INSERT INTO schema_migrations (version) VALUES ('20180228220311');
3177 INSERT INTO schema_migrations (version) VALUES ('20180313180114');
3179 INSERT INTO schema_migrations (version) VALUES ('20180501182859');
3181 INSERT INTO schema_migrations (version) VALUES ('20180514135529');
3183 INSERT INTO schema_migrations (version) VALUES ('20180607175050');
3185 INSERT INTO schema_migrations (version) VALUES ('20180608123145');
3187 INSERT INTO schema_migrations (version) VALUES ('20180806133039');
3189 INSERT INTO schema_migrations (version) VALUES ('20180820130357');
3191 INSERT INTO schema_migrations (version) VALUES ('20180820132617');
3193 INSERT INTO schema_migrations (version) VALUES ('20180820135808');
3195 INSERT INTO schema_migrations (version) VALUES ('20180824152014');
3197 INSERT INTO schema_migrations (version) VALUES ('20180824155207');
3199 INSERT INTO schema_migrations (version) VALUES ('20180904110712');
3201 INSERT INTO schema_migrations (version) VALUES ('20180913175443');
3203 INSERT INTO schema_migrations (version) VALUES ('20180915155335');
3205 INSERT INTO schema_migrations (version) VALUES ('20180917200000');
3207 INSERT INTO schema_migrations (version) VALUES ('20180917205609');
3209 INSERT INTO schema_migrations (version) VALUES ('20180919001158');
3211 INSERT INTO schema_migrations (version) VALUES ('20181001175023');
3213 INSERT INTO schema_migrations (version) VALUES ('20181004131141');
3215 INSERT INTO schema_migrations (version) VALUES ('20181005192222');
3217 INSERT INTO schema_migrations (version) VALUES ('20181011184200');
3219 INSERT INTO schema_migrations (version) VALUES ('20181213183234');
3221 INSERT INTO schema_migrations (version) VALUES ('20190214214814');