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
180 -- Name: collections_id_seq; Type: SEQUENCE; Schema: public; Owner: -
183 CREATE SEQUENCE public.collections_id_seq
192 -- Name: collections_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
195 ALTER SEQUENCE public.collections_id_seq OWNED BY public.collections.id;
199 -- Name: commit_ancestors; Type: TABLE; Schema: public; Owner: -
202 CREATE TABLE public.commit_ancestors (
204 repository_name character varying(255),
205 descendant character varying(255) NOT NULL,
206 ancestor character varying(255) NOT NULL,
207 "is" boolean DEFAULT false NOT NULL,
208 created_at timestamp without time zone NOT NULL,
209 updated_at timestamp without time zone NOT NULL
214 -- Name: commit_ancestors_id_seq; Type: SEQUENCE; Schema: public; Owner: -
217 CREATE SEQUENCE public.commit_ancestors_id_seq
226 -- Name: commit_ancestors_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
229 ALTER SEQUENCE public.commit_ancestors_id_seq OWNED BY public.commit_ancestors.id;
233 -- Name: commits; Type: TABLE; Schema: public; Owner: -
236 CREATE TABLE public.commits (
238 repository_name character varying(255),
239 sha1 character varying(255),
240 message character varying(255),
241 created_at timestamp without time zone NOT NULL,
242 updated_at timestamp without time zone NOT NULL
247 -- Name: commits_id_seq; Type: SEQUENCE; Schema: public; Owner: -
250 CREATE SEQUENCE public.commits_id_seq
259 -- Name: commits_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
262 ALTER SEQUENCE public.commits_id_seq OWNED BY public.commits.id;
266 -- Name: container_requests; Type: TABLE; Schema: public; Owner: -
269 CREATE TABLE public.container_requests (
271 uuid character varying(255),
272 owner_uuid character varying(255),
273 created_at timestamp without time zone NOT NULL,
274 modified_at timestamp without time zone,
275 modified_by_client_uuid character varying(255),
276 modified_by_user_uuid character varying(255),
277 name character varying(255),
280 state character varying(255),
281 requesting_container_uuid character varying(255),
282 container_uuid character varying(255),
283 container_count_max integer,
285 runtime_constraints text,
286 container_image character varying(255),
288 cwd character varying(255),
290 output_path character varying(255),
292 expires_at timestamp without time zone,
294 updated_at timestamp without time zone NOT NULL,
295 container_count integer DEFAULT 0,
296 use_existing boolean DEFAULT true,
297 scheduling_parameters text,
298 output_uuid character varying(255),
299 log_uuid character varying(255),
300 output_name character varying(255) DEFAULT NULL::character varying,
301 output_ttl integer DEFAULT 0 NOT NULL,
302 secret_mounts jsonb DEFAULT '{}'::jsonb
307 -- Name: container_requests_id_seq; Type: SEQUENCE; Schema: public; Owner: -
310 CREATE SEQUENCE public.container_requests_id_seq
319 -- Name: container_requests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
322 ALTER SEQUENCE public.container_requests_id_seq OWNED BY public.container_requests.id;
326 -- Name: containers; Type: TABLE; Schema: public; Owner: -
329 CREATE TABLE public.containers (
331 uuid character varying(255),
332 owner_uuid character varying(255),
333 created_at timestamp without time zone NOT NULL,
334 modified_at timestamp without time zone,
335 modified_by_client_uuid character varying(255),
336 modified_by_user_uuid character varying(255),
337 state character varying(255),
338 started_at timestamp without time zone,
339 finished_at timestamp without time zone,
340 log character varying(255),
342 cwd character varying(255),
344 output_path character varying(255),
346 runtime_constraints text,
347 output character varying(255),
348 container_image character varying(255),
349 progress double precision,
351 updated_at timestamp without time zone NOT NULL,
353 auth_uuid character varying(255),
354 locked_by_uuid character varying(255),
355 scheduling_parameters text,
356 secret_mounts jsonb DEFAULT '{}'::jsonb,
357 secret_mounts_md5 character varying DEFAULT '99914b932bd37a50b983c5e7c90ae93b'::character varying,
358 runtime_status jsonb DEFAULT '{}'::jsonb
363 -- Name: containers_id_seq; Type: SEQUENCE; Schema: public; Owner: -
366 CREATE SEQUENCE public.containers_id_seq
375 -- Name: containers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
378 ALTER SEQUENCE public.containers_id_seq OWNED BY public.containers.id;
382 -- Name: groups; Type: TABLE; Schema: public; Owner: -
385 CREATE TABLE public.groups (
387 uuid character varying(255),
388 owner_uuid character varying(255),
389 created_at timestamp without time zone NOT NULL,
390 modified_by_client_uuid character varying(255),
391 modified_by_user_uuid character varying(255),
392 modified_at timestamp without time zone,
393 name character varying(255) NOT NULL,
394 description character varying(524288),
395 updated_at timestamp without time zone NOT NULL,
396 group_class character varying(255),
397 trash_at timestamp without time zone,
398 is_trashed boolean DEFAULT false NOT NULL,
399 delete_at timestamp without time zone,
400 properties jsonb DEFAULT '{}'::jsonb
405 -- Name: groups_id_seq; Type: SEQUENCE; Schema: public; Owner: -
408 CREATE SEQUENCE public.groups_id_seq
417 -- Name: groups_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
420 ALTER SEQUENCE public.groups_id_seq OWNED BY public.groups.id;
424 -- Name: humans; Type: TABLE; Schema: public; Owner: -
427 CREATE TABLE public.humans (
429 uuid character varying(255) NOT NULL,
430 owner_uuid character varying(255) NOT NULL,
431 modified_by_client_uuid character varying(255),
432 modified_by_user_uuid character varying(255),
433 modified_at timestamp without time zone,
435 created_at timestamp without time zone NOT NULL,
436 updated_at timestamp without time zone NOT NULL
441 -- Name: humans_id_seq; Type: SEQUENCE; Schema: public; Owner: -
444 CREATE SEQUENCE public.humans_id_seq
453 -- Name: humans_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
456 ALTER SEQUENCE public.humans_id_seq OWNED BY public.humans.id;
460 -- Name: job_tasks; Type: TABLE; Schema: public; Owner: -
463 CREATE TABLE public.job_tasks (
465 uuid character varying(255),
466 owner_uuid character varying(255),
467 modified_by_client_uuid character varying(255),
468 modified_by_user_uuid character varying(255),
469 modified_at timestamp without time zone,
470 job_uuid character varying(255),
474 progress double precision,
476 created_at timestamp without time zone NOT NULL,
477 updated_at timestamp without time zone NOT NULL,
478 created_by_job_task_uuid character varying(255),
480 started_at timestamp without time zone,
481 finished_at timestamp without time zone
486 -- Name: job_tasks_id_seq; Type: SEQUENCE; Schema: public; Owner: -
489 CREATE SEQUENCE public.job_tasks_id_seq
498 -- Name: job_tasks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
501 ALTER SEQUENCE public.job_tasks_id_seq OWNED BY public.job_tasks.id;
505 -- Name: job_tasks_qsequence_seq; Type: SEQUENCE; Schema: public; Owner: -
508 CREATE SEQUENCE public.job_tasks_qsequence_seq
517 -- Name: job_tasks_qsequence_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
520 ALTER SEQUENCE public.job_tasks_qsequence_seq OWNED BY public.job_tasks.qsequence;
524 -- Name: jobs; Type: TABLE; Schema: public; Owner: -
527 CREATE TABLE public.jobs (
529 uuid character varying(255),
530 owner_uuid character varying(255),
531 modified_by_client_uuid character varying(255),
532 modified_by_user_uuid character varying(255),
533 modified_at timestamp without time zone,
534 submit_id character varying(255),
535 script character varying(255),
536 script_version character varying(255),
537 script_parameters text,
538 cancelled_by_client_uuid character varying(255),
539 cancelled_by_user_uuid character varying(255),
540 cancelled_at timestamp without time zone,
541 started_at timestamp without time zone,
542 finished_at timestamp without time zone,
545 output character varying(255),
546 created_at timestamp without time zone NOT NULL,
547 updated_at timestamp without time zone NOT NULL,
548 is_locked_by_uuid character varying(255),
549 log character varying(255),
551 runtime_constraints text,
552 nondeterministic boolean,
553 repository character varying(255),
554 supplied_script_version character varying(255),
555 docker_image_locator character varying(255),
556 priority integer DEFAULT 0 NOT NULL,
557 description character varying(524288),
558 state character varying(255),
559 arvados_sdk_version character varying(255),
561 script_parameters_digest character varying(255)
566 -- Name: jobs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
569 CREATE SEQUENCE public.jobs_id_seq
578 -- Name: jobs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
581 ALTER SEQUENCE public.jobs_id_seq OWNED BY public.jobs.id;
585 -- Name: keep_disks; Type: TABLE; Schema: public; Owner: -
588 CREATE TABLE public.keep_disks (
590 uuid character varying(255) NOT NULL,
591 owner_uuid character varying(255) NOT NULL,
592 modified_by_client_uuid character varying(255),
593 modified_by_user_uuid character varying(255),
594 modified_at timestamp without time zone,
595 ping_secret character varying(255) NOT NULL,
596 node_uuid character varying(255),
597 filesystem_uuid character varying(255),
600 is_readable boolean DEFAULT true NOT NULL,
601 is_writable boolean DEFAULT true NOT NULL,
602 last_read_at timestamp without time zone,
603 last_write_at timestamp without time zone,
604 last_ping_at timestamp without time zone,
605 created_at timestamp without time zone NOT NULL,
606 updated_at timestamp without time zone NOT NULL,
607 keep_service_uuid character varying(255)
612 -- Name: keep_disks_id_seq; Type: SEQUENCE; Schema: public; Owner: -
615 CREATE SEQUENCE public.keep_disks_id_seq
624 -- Name: keep_disks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
627 ALTER SEQUENCE public.keep_disks_id_seq OWNED BY public.keep_disks.id;
631 -- Name: keep_services; Type: TABLE; Schema: public; Owner: -
634 CREATE TABLE public.keep_services (
636 uuid character varying(255) NOT NULL,
637 owner_uuid character varying(255) NOT NULL,
638 modified_by_client_uuid character varying(255),
639 modified_by_user_uuid character varying(255),
640 modified_at timestamp without time zone,
641 service_host character varying(255),
642 service_port integer,
643 service_ssl_flag boolean,
644 service_type character varying(255),
645 created_at timestamp without time zone NOT NULL,
646 updated_at timestamp without time zone NOT NULL,
647 read_only boolean DEFAULT false NOT NULL
652 -- Name: keep_services_id_seq; Type: SEQUENCE; Schema: public; Owner: -
655 CREATE SEQUENCE public.keep_services_id_seq
664 -- Name: keep_services_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
667 ALTER SEQUENCE public.keep_services_id_seq OWNED BY public.keep_services.id;
671 -- Name: links; Type: TABLE; Schema: public; Owner: -
674 CREATE TABLE public.links (
676 uuid character varying(255),
677 owner_uuid character varying(255),
678 created_at timestamp without time zone NOT NULL,
679 modified_by_client_uuid character varying(255),
680 modified_by_user_uuid character varying(255),
681 modified_at timestamp without time zone,
682 tail_uuid character varying(255),
683 link_class character varying(255),
684 name character varying(255),
685 head_uuid character varying(255),
687 updated_at timestamp without time zone NOT NULL
692 -- Name: links_id_seq; Type: SEQUENCE; Schema: public; Owner: -
695 CREATE SEQUENCE public.links_id_seq
704 -- Name: links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
707 ALTER SEQUENCE public.links_id_seq OWNED BY public.links.id;
711 -- Name: logs; Type: TABLE; Schema: public; Owner: -
714 CREATE TABLE public.logs (
716 uuid character varying(255),
717 owner_uuid character varying(255),
718 modified_by_client_uuid character varying(255),
719 modified_by_user_uuid character varying(255),
720 object_uuid character varying(255),
721 event_at timestamp without time zone,
722 event_type character varying(255),
725 created_at timestamp without time zone NOT NULL,
726 updated_at timestamp without time zone NOT NULL,
727 modified_at timestamp without time zone,
728 object_owner_uuid character varying(255)
733 -- Name: logs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
736 CREATE SEQUENCE public.logs_id_seq
745 -- Name: logs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
748 ALTER SEQUENCE public.logs_id_seq OWNED BY public.logs.id;
752 -- Name: users; Type: TABLE; Schema: public; Owner: -
755 CREATE TABLE public.users (
757 uuid character varying(255),
758 owner_uuid character varying(255) NOT NULL,
759 created_at timestamp without time zone NOT NULL,
760 modified_by_client_uuid character varying(255),
761 modified_by_user_uuid character varying(255),
762 modified_at timestamp without time zone,
763 email character varying(255),
764 first_name character varying(255),
765 last_name character varying(255),
766 identity_url character varying(255),
769 updated_at timestamp without time zone NOT NULL,
770 default_owner_uuid character varying(255),
771 is_active boolean DEFAULT false,
772 username character varying(255),
773 redirect_to_user_uuid character varying
778 -- Name: materialized_permission_view; Type: MATERIALIZED VIEW; Schema: public; Owner: -
781 CREATE MATERIALIZED VIEW public.materialized_permission_view AS
782 WITH RECURSIVE perm_value(name, val) AS (
783 VALUES ('can_read'::text,(1)::smallint), ('can_login'::text,1), ('can_write'::text,2), ('can_manage'::text,3)
784 ), perm_edges(tail_uuid, head_uuid, val, follow, trashed) AS (
785 SELECT links.tail_uuid,
788 ((pv.val = 3) OR (groups.uuid IS NOT NULL)) AS follow,
789 (0)::smallint AS trashed,
790 (0)::smallint AS followtrash
792 LEFT JOIN perm_value pv ON ((pv.name = (links.name)::text)))
793 LEFT JOIN public.groups ON (((pv.val < 3) AND ((groups.uuid)::text = (links.head_uuid)::text))))
794 WHERE ((links.link_class)::text = 'permission'::text)
796 SELECT groups.owner_uuid,
801 WHEN ((groups.trash_at IS NOT NULL) AND (groups.trash_at < clock_timestamp())) THEN 1
806 ), perm(val, follow, user_uuid, target_uuid, trashed) AS (
807 SELECT (3)::smallint AS val,
809 (users.uuid)::character varying(32) AS user_uuid,
810 (users.uuid)::character varying(32) AS target_uuid,
811 (0)::smallint AS trashed
814 SELECT (LEAST((perm_1.val)::integer, edges.val))::smallint AS val,
817 (edges.head_uuid)::character varying(32) AS target_uuid,
818 ((GREATEST((perm_1.trashed)::integer, edges.trashed) * edges.followtrash))::smallint AS trashed
820 JOIN perm_edges edges ON ((perm_1.follow AND ((edges.tail_uuid)::text = (perm_1.target_uuid)::text))))
822 SELECT perm.user_uuid,
824 max(perm.val) AS perm_level,
826 WHEN true THEN perm.target_uuid
827 ELSE NULL::character varying
828 END AS target_owner_uuid,
829 max(perm.trashed) AS trashed
831 GROUP BY perm.user_uuid, perm.target_uuid,
833 WHEN true THEN perm.target_uuid
834 ELSE NULL::character varying
840 -- Name: nodes; Type: TABLE; Schema: public; Owner: -
843 CREATE TABLE public.nodes (
845 uuid character varying(255),
846 owner_uuid character varying(255),
847 created_at timestamp without time zone NOT NULL,
848 modified_by_client_uuid character varying(255),
849 modified_by_user_uuid character varying(255),
850 modified_at timestamp without time zone,
852 hostname character varying(255),
853 domain character varying(255),
854 ip_address character varying(255),
855 first_ping_at timestamp without time zone,
856 last_ping_at timestamp without time zone,
858 updated_at timestamp without time zone NOT NULL,
860 job_uuid character varying(255)
865 -- Name: nodes_id_seq; Type: SEQUENCE; Schema: public; Owner: -
868 CREATE SEQUENCE public.nodes_id_seq
877 -- Name: nodes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
880 ALTER SEQUENCE public.nodes_id_seq OWNED BY public.nodes.id;
884 -- Name: permission_refresh_lock; Type: TABLE; Schema: public; Owner: -
887 CREATE TABLE public.permission_refresh_lock (
893 -- Name: permission_refresh_lock_id_seq; Type: SEQUENCE; Schema: public; Owner: -
896 CREATE SEQUENCE public.permission_refresh_lock_id_seq
905 -- Name: permission_refresh_lock_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
908 ALTER SEQUENCE public.permission_refresh_lock_id_seq OWNED BY public.permission_refresh_lock.id;
912 -- Name: pipeline_instances; Type: TABLE; Schema: public; Owner: -
915 CREATE TABLE public.pipeline_instances (
917 uuid character varying(255),
918 owner_uuid character varying(255),
919 created_at timestamp without time zone NOT NULL,
920 modified_by_client_uuid character varying(255),
921 modified_by_user_uuid character varying(255),
922 modified_at timestamp without time zone,
923 pipeline_template_uuid character varying(255),
924 name character varying(255),
926 updated_at timestamp without time zone NOT NULL,
928 state character varying(255),
929 components_summary text,
930 started_at timestamp without time zone,
931 finished_at timestamp without time zone,
932 description character varying(524288)
937 -- Name: pipeline_instances_id_seq; Type: SEQUENCE; Schema: public; Owner: -
940 CREATE SEQUENCE public.pipeline_instances_id_seq
949 -- Name: pipeline_instances_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
952 ALTER SEQUENCE public.pipeline_instances_id_seq OWNED BY public.pipeline_instances.id;
956 -- Name: pipeline_templates; Type: TABLE; Schema: public; Owner: -
959 CREATE TABLE public.pipeline_templates (
961 uuid character varying(255),
962 owner_uuid character varying(255),
963 created_at timestamp without time zone NOT NULL,
964 modified_by_client_uuid character varying(255),
965 modified_by_user_uuid character varying(255),
966 modified_at timestamp without time zone,
967 name character varying(255),
969 updated_at timestamp without time zone NOT NULL,
970 description character varying(524288)
975 -- Name: pipeline_templates_id_seq; Type: SEQUENCE; Schema: public; Owner: -
978 CREATE SEQUENCE public.pipeline_templates_id_seq
987 -- Name: pipeline_templates_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
990 ALTER SEQUENCE public.pipeline_templates_id_seq OWNED BY public.pipeline_templates.id;
994 -- Name: repositories; Type: TABLE; Schema: public; Owner: -
997 CREATE TABLE public.repositories (
999 uuid character varying(255) NOT NULL,
1000 owner_uuid character varying(255) NOT NULL,
1001 modified_by_client_uuid character varying(255),
1002 modified_by_user_uuid character varying(255),
1003 modified_at timestamp without time zone,
1004 name character varying(255),
1005 created_at timestamp without time zone NOT NULL,
1006 updated_at timestamp without time zone NOT NULL
1011 -- Name: repositories_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1014 CREATE SEQUENCE public.repositories_id_seq
1023 -- Name: repositories_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1026 ALTER SEQUENCE public.repositories_id_seq OWNED BY public.repositories.id;
1030 -- Name: schema_migrations; Type: TABLE; Schema: public; Owner: -
1033 CREATE TABLE public.schema_migrations (
1034 version character varying(255) NOT NULL
1039 -- Name: specimens; Type: TABLE; Schema: public; Owner: -
1042 CREATE TABLE public.specimens (
1043 id integer NOT NULL,
1044 uuid character varying(255),
1045 owner_uuid character varying(255),
1046 created_at timestamp without time zone NOT NULL,
1047 modified_by_client_uuid character varying(255),
1048 modified_by_user_uuid character varying(255),
1049 modified_at timestamp without time zone,
1050 material character varying(255),
1051 updated_at timestamp without time zone NOT NULL,
1057 -- Name: specimens_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1060 CREATE SEQUENCE public.specimens_id_seq
1069 -- Name: specimens_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1072 ALTER SEQUENCE public.specimens_id_seq OWNED BY public.specimens.id;
1076 -- Name: traits; Type: TABLE; Schema: public; Owner: -
1079 CREATE TABLE public.traits (
1080 id integer NOT NULL,
1081 uuid character varying(255) NOT NULL,
1082 owner_uuid character varying(255) NOT NULL,
1083 modified_by_client_uuid character varying(255),
1084 modified_by_user_uuid character varying(255),
1085 modified_at timestamp without time zone,
1086 name character varying(255),
1088 created_at timestamp without time zone NOT NULL,
1089 updated_at timestamp without time zone NOT NULL
1094 -- Name: traits_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1097 CREATE SEQUENCE public.traits_id_seq
1106 -- Name: traits_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1109 ALTER SEQUENCE public.traits_id_seq OWNED BY public.traits.id;
1113 -- Name: users_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1116 CREATE SEQUENCE public.users_id_seq
1125 -- Name: users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1128 ALTER SEQUENCE public.users_id_seq OWNED BY public.users.id;
1132 -- Name: virtual_machines; Type: TABLE; Schema: public; Owner: -
1135 CREATE TABLE public.virtual_machines (
1136 id integer NOT NULL,
1137 uuid character varying(255) NOT NULL,
1138 owner_uuid character varying(255) NOT NULL,
1139 modified_by_client_uuid character varying(255),
1140 modified_by_user_uuid character varying(255),
1141 modified_at timestamp without time zone,
1142 hostname character varying(255),
1143 created_at timestamp without time zone NOT NULL,
1144 updated_at timestamp without time zone NOT NULL
1149 -- Name: virtual_machines_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1152 CREATE SEQUENCE public.virtual_machines_id_seq
1161 -- Name: virtual_machines_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1164 ALTER SEQUENCE public.virtual_machines_id_seq OWNED BY public.virtual_machines.id;
1168 -- Name: workflows; Type: TABLE; Schema: public; Owner: -
1171 CREATE TABLE public.workflows (
1172 id integer NOT NULL,
1173 uuid character varying(255),
1174 owner_uuid character varying(255),
1175 created_at timestamp without time zone NOT NULL,
1176 modified_at timestamp without time zone,
1177 modified_by_client_uuid character varying(255),
1178 modified_by_user_uuid character varying(255),
1179 name character varying(255),
1182 updated_at timestamp without time zone NOT NULL
1187 -- Name: workflows_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1190 CREATE SEQUENCE public.workflows_id_seq
1199 -- Name: workflows_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1202 ALTER SEQUENCE public.workflows_id_seq OWNED BY public.workflows.id;
1206 -- Name: api_client_authorizations id; Type: DEFAULT; Schema: public; Owner: -
1209 ALTER TABLE ONLY public.api_client_authorizations ALTER COLUMN id SET DEFAULT nextval('public.api_client_authorizations_id_seq'::regclass);
1213 -- Name: api_clients id; Type: DEFAULT; Schema: public; Owner: -
1216 ALTER TABLE ONLY public.api_clients ALTER COLUMN id SET DEFAULT nextval('public.api_clients_id_seq'::regclass);
1220 -- Name: authorized_keys id; Type: DEFAULT; Schema: public; Owner: -
1223 ALTER TABLE ONLY public.authorized_keys ALTER COLUMN id SET DEFAULT nextval('public.authorized_keys_id_seq'::regclass);
1227 -- Name: collections id; Type: DEFAULT; Schema: public; Owner: -
1230 ALTER TABLE ONLY public.collections ALTER COLUMN id SET DEFAULT nextval('public.collections_id_seq'::regclass);
1234 -- Name: commit_ancestors id; Type: DEFAULT; Schema: public; Owner: -
1237 ALTER TABLE ONLY public.commit_ancestors ALTER COLUMN id SET DEFAULT nextval('public.commit_ancestors_id_seq'::regclass);
1241 -- Name: commits id; Type: DEFAULT; Schema: public; Owner: -
1244 ALTER TABLE ONLY public.commits ALTER COLUMN id SET DEFAULT nextval('public.commits_id_seq'::regclass);
1248 -- Name: container_requests id; Type: DEFAULT; Schema: public; Owner: -
1251 ALTER TABLE ONLY public.container_requests ALTER COLUMN id SET DEFAULT nextval('public.container_requests_id_seq'::regclass);
1255 -- Name: containers id; Type: DEFAULT; Schema: public; Owner: -
1258 ALTER TABLE ONLY public.containers ALTER COLUMN id SET DEFAULT nextval('public.containers_id_seq'::regclass);
1262 -- Name: groups id; Type: DEFAULT; Schema: public; Owner: -
1265 ALTER TABLE ONLY public.groups ALTER COLUMN id SET DEFAULT nextval('public.groups_id_seq'::regclass);
1269 -- Name: humans id; Type: DEFAULT; Schema: public; Owner: -
1272 ALTER TABLE ONLY public.humans ALTER COLUMN id SET DEFAULT nextval('public.humans_id_seq'::regclass);
1276 -- Name: job_tasks id; Type: DEFAULT; Schema: public; Owner: -
1279 ALTER TABLE ONLY public.job_tasks ALTER COLUMN id SET DEFAULT nextval('public.job_tasks_id_seq'::regclass);
1283 -- Name: jobs id; Type: DEFAULT; Schema: public; Owner: -
1286 ALTER TABLE ONLY public.jobs ALTER COLUMN id SET DEFAULT nextval('public.jobs_id_seq'::regclass);
1290 -- Name: keep_disks id; Type: DEFAULT; Schema: public; Owner: -
1293 ALTER TABLE ONLY public.keep_disks ALTER COLUMN id SET DEFAULT nextval('public.keep_disks_id_seq'::regclass);
1297 -- Name: keep_services id; Type: DEFAULT; Schema: public; Owner: -
1300 ALTER TABLE ONLY public.keep_services ALTER COLUMN id SET DEFAULT nextval('public.keep_services_id_seq'::regclass);
1304 -- Name: links id; Type: DEFAULT; Schema: public; Owner: -
1307 ALTER TABLE ONLY public.links ALTER COLUMN id SET DEFAULT nextval('public.links_id_seq'::regclass);
1311 -- Name: logs id; Type: DEFAULT; Schema: public; Owner: -
1314 ALTER TABLE ONLY public.logs ALTER COLUMN id SET DEFAULT nextval('public.logs_id_seq'::regclass);
1318 -- Name: nodes id; Type: DEFAULT; Schema: public; Owner: -
1321 ALTER TABLE ONLY public.nodes ALTER COLUMN id SET DEFAULT nextval('public.nodes_id_seq'::regclass);
1325 -- Name: permission_refresh_lock id; Type: DEFAULT; Schema: public; Owner: -
1328 ALTER TABLE ONLY public.permission_refresh_lock ALTER COLUMN id SET DEFAULT nextval('public.permission_refresh_lock_id_seq'::regclass);
1332 -- Name: pipeline_instances id; Type: DEFAULT; Schema: public; Owner: -
1335 ALTER TABLE ONLY public.pipeline_instances ALTER COLUMN id SET DEFAULT nextval('public.pipeline_instances_id_seq'::regclass);
1339 -- Name: pipeline_templates id; Type: DEFAULT; Schema: public; Owner: -
1342 ALTER TABLE ONLY public.pipeline_templates ALTER COLUMN id SET DEFAULT nextval('public.pipeline_templates_id_seq'::regclass);
1346 -- Name: repositories id; Type: DEFAULT; Schema: public; Owner: -
1349 ALTER TABLE ONLY public.repositories ALTER COLUMN id SET DEFAULT nextval('public.repositories_id_seq'::regclass);
1353 -- Name: specimens id; Type: DEFAULT; Schema: public; Owner: -
1356 ALTER TABLE ONLY public.specimens ALTER COLUMN id SET DEFAULT nextval('public.specimens_id_seq'::regclass);
1360 -- Name: traits id; Type: DEFAULT; Schema: public; Owner: -
1363 ALTER TABLE ONLY public.traits ALTER COLUMN id SET DEFAULT nextval('public.traits_id_seq'::regclass);
1367 -- Name: users id; Type: DEFAULT; Schema: public; Owner: -
1370 ALTER TABLE ONLY public.users ALTER COLUMN id SET DEFAULT nextval('public.users_id_seq'::regclass);
1374 -- Name: virtual_machines id; Type: DEFAULT; Schema: public; Owner: -
1377 ALTER TABLE ONLY public.virtual_machines ALTER COLUMN id SET DEFAULT nextval('public.virtual_machines_id_seq'::regclass);
1381 -- Name: workflows id; Type: DEFAULT; Schema: public; Owner: -
1384 ALTER TABLE ONLY public.workflows ALTER COLUMN id SET DEFAULT nextval('public.workflows_id_seq'::regclass);
1388 -- Name: api_client_authorizations api_client_authorizations_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1391 ALTER TABLE ONLY public.api_client_authorizations
1392 ADD CONSTRAINT api_client_authorizations_pkey PRIMARY KEY (id);
1396 -- Name: api_clients api_clients_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1399 ALTER TABLE ONLY public.api_clients
1400 ADD CONSTRAINT api_clients_pkey PRIMARY KEY (id);
1404 -- Name: authorized_keys authorized_keys_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1407 ALTER TABLE ONLY public.authorized_keys
1408 ADD CONSTRAINT authorized_keys_pkey PRIMARY KEY (id);
1412 -- Name: collections collections_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1415 ALTER TABLE ONLY public.collections
1416 ADD CONSTRAINT collections_pkey PRIMARY KEY (id);
1420 -- Name: commit_ancestors commit_ancestors_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1423 ALTER TABLE ONLY public.commit_ancestors
1424 ADD CONSTRAINT commit_ancestors_pkey PRIMARY KEY (id);
1428 -- Name: commits commits_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1431 ALTER TABLE ONLY public.commits
1432 ADD CONSTRAINT commits_pkey PRIMARY KEY (id);
1436 -- Name: container_requests container_requests_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1439 ALTER TABLE ONLY public.container_requests
1440 ADD CONSTRAINT container_requests_pkey PRIMARY KEY (id);
1444 -- Name: containers containers_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1447 ALTER TABLE ONLY public.containers
1448 ADD CONSTRAINT containers_pkey PRIMARY KEY (id);
1452 -- Name: groups groups_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1455 ALTER TABLE ONLY public.groups
1456 ADD CONSTRAINT groups_pkey PRIMARY KEY (id);
1460 -- Name: humans humans_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1463 ALTER TABLE ONLY public.humans
1464 ADD CONSTRAINT humans_pkey PRIMARY KEY (id);
1468 -- Name: job_tasks job_tasks_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1471 ALTER TABLE ONLY public.job_tasks
1472 ADD CONSTRAINT job_tasks_pkey PRIMARY KEY (id);
1476 -- Name: jobs jobs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1479 ALTER TABLE ONLY public.jobs
1480 ADD CONSTRAINT jobs_pkey PRIMARY KEY (id);
1484 -- Name: keep_disks keep_disks_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1487 ALTER TABLE ONLY public.keep_disks
1488 ADD CONSTRAINT keep_disks_pkey PRIMARY KEY (id);
1492 -- Name: keep_services keep_services_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1495 ALTER TABLE ONLY public.keep_services
1496 ADD CONSTRAINT keep_services_pkey PRIMARY KEY (id);
1500 -- Name: links links_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1503 ALTER TABLE ONLY public.links
1504 ADD CONSTRAINT links_pkey PRIMARY KEY (id);
1508 -- Name: logs logs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1511 ALTER TABLE ONLY public.logs
1512 ADD CONSTRAINT logs_pkey PRIMARY KEY (id);
1516 -- Name: nodes nodes_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1519 ALTER TABLE ONLY public.nodes
1520 ADD CONSTRAINT nodes_pkey PRIMARY KEY (id);
1524 -- Name: permission_refresh_lock permission_refresh_lock_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1527 ALTER TABLE ONLY public.permission_refresh_lock
1528 ADD CONSTRAINT permission_refresh_lock_pkey PRIMARY KEY (id);
1532 -- Name: pipeline_instances pipeline_instances_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1535 ALTER TABLE ONLY public.pipeline_instances
1536 ADD CONSTRAINT pipeline_instances_pkey PRIMARY KEY (id);
1540 -- Name: pipeline_templates pipeline_templates_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1543 ALTER TABLE ONLY public.pipeline_templates
1544 ADD CONSTRAINT pipeline_templates_pkey PRIMARY KEY (id);
1548 -- Name: repositories repositories_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1551 ALTER TABLE ONLY public.repositories
1552 ADD CONSTRAINT repositories_pkey PRIMARY KEY (id);
1556 -- Name: specimens specimens_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1559 ALTER TABLE ONLY public.specimens
1560 ADD CONSTRAINT specimens_pkey PRIMARY KEY (id);
1564 -- Name: traits traits_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1567 ALTER TABLE ONLY public.traits
1568 ADD CONSTRAINT traits_pkey PRIMARY KEY (id);
1572 -- Name: users users_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1575 ALTER TABLE ONLY public.users
1576 ADD CONSTRAINT users_pkey PRIMARY KEY (id);
1580 -- Name: virtual_machines virtual_machines_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1583 ALTER TABLE ONLY public.virtual_machines
1584 ADD CONSTRAINT virtual_machines_pkey PRIMARY KEY (id);
1588 -- Name: workflows workflows_pkey; Type: CONSTRAINT; Schema: public; Owner: -
1591 ALTER TABLE ONLY public.workflows
1592 ADD CONSTRAINT workflows_pkey PRIMARY KEY (id);
1596 -- Name: api_client_authorizations_search_index; Type: INDEX; Schema: public; Owner: -
1599 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);
1603 -- Name: api_clients_search_index; Type: INDEX; Schema: public; Owner: -
1606 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);
1610 -- Name: authorized_keys_search_index; Type: INDEX; Schema: public; Owner: -
1613 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);
1617 -- Name: collection_index_on_properties; Type: INDEX; Schema: public; Owner: -
1620 CREATE INDEX collection_index_on_properties ON public.collections USING gin (properties);
1624 -- Name: collections_full_text_search_idx; Type: INDEX; Schema: public; Owner: -
1627 CREATE INDEX collections_full_text_search_idx ON public.collections USING gin (to_tsvector('english'::regconfig, (((((((((((((((((COALESCE(owner_uuid, ''::character varying))::text || ' '::text) || (COALESCE(modified_by_client_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_user_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(portable_data_hash, ''::character varying))::text) || ' '::text) || (COALESCE(uuid, ''::character varying))::text) || ' '::text) || (COALESCE(name, ''::character varying))::text) || ' '::text) || (COALESCE(description, ''::character varying))::text) || ' '::text) || COALESCE((properties)::text, ''::text)) || ' '::text) || COALESCE(file_names, (''::character varying)::text))));
1631 -- Name: collections_search_index; Type: INDEX; Schema: public; Owner: -
1634 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);
1638 -- Name: container_requests_full_text_search_idx; Type: INDEX; Schema: public; Owner: -
1641 CREATE INDEX container_requests_full_text_search_idx ON public.container_requests USING gin (to_tsvector('english'::regconfig, (((((((((((((((((((((((((((((((((((((((((COALESCE(uuid, ''::character varying))::text || ' '::text) || (COALESCE(owner_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_client_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_user_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(name, ''::character varying))::text) || ' '::text) || COALESCE(description, ''::text)) || ' '::text) || COALESCE((properties)::text, ''::text)) || ' '::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)));
1645 -- Name: container_requests_index_on_properties; Type: INDEX; Schema: public; Owner: -
1648 CREATE INDEX container_requests_index_on_properties ON public.container_requests USING gin (properties);
1652 -- Name: container_requests_search_index; Type: INDEX; Schema: public; Owner: -
1655 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);
1659 -- Name: containers_search_index; Type: INDEX; Schema: public; Owner: -
1662 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);
1666 -- Name: group_index_on_properties; Type: INDEX; Schema: public; Owner: -
1669 CREATE INDEX group_index_on_properties ON public.groups USING gin (properties);
1673 -- Name: groups_full_text_search_idx; Type: INDEX; Schema: public; Owner: -
1676 CREATE INDEX groups_full_text_search_idx ON public.groups USING gin (to_tsvector('english'::regconfig, (((((((((((((((COALESCE(uuid, ''::character varying))::text || ' '::text) || (COALESCE(owner_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_client_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_user_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(name, ''::character varying))::text) || ' '::text) || (COALESCE(description, ''::character varying))::text) || ' '::text) || (COALESCE(group_class, ''::character varying))::text) || ' '::text) || COALESCE((properties)::text, ''::text))));
1680 -- Name: groups_search_index; Type: INDEX; Schema: public; Owner: -
1683 CREATE INDEX groups_search_index ON public.groups USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name, group_class);
1687 -- Name: humans_search_index; Type: INDEX; Schema: public; Owner: -
1690 CREATE INDEX humans_search_index ON public.humans USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid);
1694 -- Name: index_api_client_authorizations_on_api_client_id; Type: INDEX; Schema: public; Owner: -
1697 CREATE INDEX index_api_client_authorizations_on_api_client_id ON public.api_client_authorizations USING btree (api_client_id);
1701 -- Name: index_api_client_authorizations_on_api_token; Type: INDEX; Schema: public; Owner: -
1704 CREATE UNIQUE INDEX index_api_client_authorizations_on_api_token ON public.api_client_authorizations USING btree (api_token);
1708 -- Name: index_api_client_authorizations_on_expires_at; Type: INDEX; Schema: public; Owner: -
1711 CREATE INDEX index_api_client_authorizations_on_expires_at ON public.api_client_authorizations USING btree (expires_at);
1715 -- Name: index_api_client_authorizations_on_user_id; Type: INDEX; Schema: public; Owner: -
1718 CREATE INDEX index_api_client_authorizations_on_user_id ON public.api_client_authorizations USING btree (user_id);
1722 -- Name: index_api_client_authorizations_on_uuid; Type: INDEX; Schema: public; Owner: -
1725 CREATE UNIQUE INDEX index_api_client_authorizations_on_uuid ON public.api_client_authorizations USING btree (uuid);
1729 -- Name: index_api_clients_on_created_at; Type: INDEX; Schema: public; Owner: -
1732 CREATE INDEX index_api_clients_on_created_at ON public.api_clients USING btree (created_at);
1736 -- Name: index_api_clients_on_modified_at; Type: INDEX; Schema: public; Owner: -
1739 CREATE INDEX index_api_clients_on_modified_at ON public.api_clients USING btree (modified_at);
1743 -- Name: index_api_clients_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
1746 CREATE INDEX index_api_clients_on_owner_uuid ON public.api_clients USING btree (owner_uuid);
1750 -- Name: index_api_clients_on_uuid; Type: INDEX; Schema: public; Owner: -
1753 CREATE UNIQUE INDEX index_api_clients_on_uuid ON public.api_clients USING btree (uuid);
1757 -- Name: index_authkeys_on_user_and_expires_at; Type: INDEX; Schema: public; Owner: -
1760 CREATE INDEX index_authkeys_on_user_and_expires_at ON public.authorized_keys USING btree (authorized_user_uuid, expires_at);
1764 -- Name: index_authorized_keys_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
1767 CREATE INDEX index_authorized_keys_on_owner_uuid ON public.authorized_keys USING btree (owner_uuid);
1771 -- Name: index_authorized_keys_on_uuid; Type: INDEX; Schema: public; Owner: -
1774 CREATE UNIQUE INDEX index_authorized_keys_on_uuid ON public.authorized_keys USING btree (uuid);
1778 -- Name: index_collections_on_created_at; Type: INDEX; Schema: public; Owner: -
1781 CREATE INDEX index_collections_on_created_at ON public.collections USING btree (created_at);
1785 -- Name: index_collections_on_delete_at; Type: INDEX; Schema: public; Owner: -
1788 CREATE INDEX index_collections_on_delete_at ON public.collections USING btree (delete_at);
1792 -- Name: index_collections_on_is_trashed; Type: INDEX; Schema: public; Owner: -
1795 CREATE INDEX index_collections_on_is_trashed ON public.collections USING btree (is_trashed);
1799 -- Name: index_collections_on_modified_at; Type: INDEX; Schema: public; Owner: -
1802 CREATE INDEX index_collections_on_modified_at ON public.collections USING btree (modified_at);
1806 -- Name: index_collections_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
1809 CREATE INDEX index_collections_on_modified_at_uuid ON public.collections USING btree (modified_at DESC, uuid);
1813 -- Name: index_collections_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
1816 CREATE INDEX index_collections_on_owner_uuid ON public.collections USING btree (owner_uuid);
1820 -- Name: index_collections_on_owner_uuid_and_name; Type: INDEX; Schema: public; Owner: -
1823 CREATE UNIQUE INDEX index_collections_on_owner_uuid_and_name ON public.collections USING btree (owner_uuid, name) WHERE (is_trashed = false);
1827 -- Name: index_collections_on_portable_data_hash_and_trash_at; Type: INDEX; Schema: public; Owner: -
1830 CREATE INDEX index_collections_on_portable_data_hash_and_trash_at ON public.collections USING btree (portable_data_hash, trash_at);
1834 -- Name: index_collections_on_trash_at; Type: INDEX; Schema: public; Owner: -
1837 CREATE INDEX index_collections_on_trash_at ON public.collections USING btree (trash_at);
1841 -- Name: index_collections_on_uuid; Type: INDEX; Schema: public; Owner: -
1844 CREATE UNIQUE INDEX index_collections_on_uuid ON public.collections USING btree (uuid);
1848 -- Name: index_commit_ancestors_on_descendant_and_ancestor; Type: INDEX; Schema: public; Owner: -
1851 CREATE UNIQUE INDEX index_commit_ancestors_on_descendant_and_ancestor ON public.commit_ancestors USING btree (descendant, ancestor);
1855 -- Name: index_commits_on_repository_name_and_sha1; Type: INDEX; Schema: public; Owner: -
1858 CREATE UNIQUE INDEX index_commits_on_repository_name_and_sha1 ON public.commits USING btree (repository_name, sha1);
1862 -- Name: index_container_requests_on_container_uuid; Type: INDEX; Schema: public; Owner: -
1865 CREATE INDEX index_container_requests_on_container_uuid ON public.container_requests USING btree (container_uuid);
1869 -- Name: index_container_requests_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
1872 CREATE INDEX index_container_requests_on_modified_at_uuid ON public.container_requests USING btree (modified_at DESC, uuid);
1876 -- Name: index_container_requests_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
1879 CREATE INDEX index_container_requests_on_owner_uuid ON public.container_requests USING btree (owner_uuid);
1883 -- Name: index_container_requests_on_requesting_container_uuid; Type: INDEX; Schema: public; Owner: -
1886 CREATE INDEX index_container_requests_on_requesting_container_uuid ON public.container_requests USING btree (requesting_container_uuid);
1890 -- Name: index_container_requests_on_uuid; Type: INDEX; Schema: public; Owner: -
1893 CREATE UNIQUE INDEX index_container_requests_on_uuid ON public.container_requests USING btree (uuid);
1897 -- Name: index_containers_on_auth_uuid; Type: INDEX; Schema: public; Owner: -
1900 CREATE INDEX index_containers_on_auth_uuid ON public.containers USING btree (auth_uuid);
1904 -- Name: index_containers_on_locked_by_uuid_and_priority; Type: INDEX; Schema: public; Owner: -
1907 CREATE INDEX index_containers_on_locked_by_uuid_and_priority ON public.containers USING btree (locked_by_uuid, priority);
1911 -- Name: index_containers_on_locked_by_uuid_and_uuid; Type: INDEX; Schema: public; Owner: -
1914 CREATE INDEX index_containers_on_locked_by_uuid_and_uuid ON public.containers USING btree (locked_by_uuid, uuid);
1918 -- Name: index_containers_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
1921 CREATE INDEX index_containers_on_modified_at_uuid ON public.containers USING btree (modified_at DESC, uuid);
1925 -- Name: index_containers_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
1928 CREATE INDEX index_containers_on_owner_uuid ON public.containers USING btree (owner_uuid);
1932 -- Name: index_containers_on_queued_state; Type: INDEX; Schema: public; Owner: -
1935 CREATE INDEX index_containers_on_queued_state ON public.containers USING btree (state, ((priority > 0)));
1939 -- Name: index_containers_on_reuse_columns; Type: INDEX; Schema: public; Owner: -
1942 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));
1946 -- Name: index_containers_on_runtime_status; Type: INDEX; Schema: public; Owner: -
1949 CREATE INDEX index_containers_on_runtime_status ON public.containers USING gin (runtime_status);
1953 -- Name: index_containers_on_secret_mounts_md5; Type: INDEX; Schema: public; Owner: -
1956 CREATE INDEX index_containers_on_secret_mounts_md5 ON public.containers USING btree (secret_mounts_md5);
1960 -- Name: index_containers_on_uuid; Type: INDEX; Schema: public; Owner: -
1963 CREATE UNIQUE INDEX index_containers_on_uuid ON public.containers USING btree (uuid);
1967 -- Name: index_groups_on_created_at; Type: INDEX; Schema: public; Owner: -
1970 CREATE INDEX index_groups_on_created_at ON public.groups USING btree (created_at);
1974 -- Name: index_groups_on_delete_at; Type: INDEX; Schema: public; Owner: -
1977 CREATE INDEX index_groups_on_delete_at ON public.groups USING btree (delete_at);
1981 -- Name: index_groups_on_group_class; Type: INDEX; Schema: public; Owner: -
1984 CREATE INDEX index_groups_on_group_class ON public.groups USING btree (group_class);
1988 -- Name: index_groups_on_is_trashed; Type: INDEX; Schema: public; Owner: -
1991 CREATE INDEX index_groups_on_is_trashed ON public.groups USING btree (is_trashed);
1995 -- Name: index_groups_on_modified_at; Type: INDEX; Schema: public; Owner: -
1998 CREATE INDEX index_groups_on_modified_at ON public.groups USING btree (modified_at);
2002 -- Name: index_groups_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
2005 CREATE INDEX index_groups_on_modified_at_uuid ON public.groups USING btree (modified_at DESC, uuid);
2009 -- Name: index_groups_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2012 CREATE INDEX index_groups_on_owner_uuid ON public.groups USING btree (owner_uuid);
2016 -- Name: index_groups_on_owner_uuid_and_name; Type: INDEX; Schema: public; Owner: -
2019 CREATE UNIQUE INDEX index_groups_on_owner_uuid_and_name ON public.groups USING btree (owner_uuid, name) WHERE (is_trashed = false);
2023 -- Name: index_groups_on_trash_at; Type: INDEX; Schema: public; Owner: -
2026 CREATE INDEX index_groups_on_trash_at ON public.groups USING btree (trash_at);
2030 -- Name: index_groups_on_uuid; Type: INDEX; Schema: public; Owner: -
2033 CREATE UNIQUE INDEX index_groups_on_uuid ON public.groups USING btree (uuid);
2037 -- Name: index_humans_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2040 CREATE INDEX index_humans_on_owner_uuid ON public.humans USING btree (owner_uuid);
2044 -- Name: index_humans_on_uuid; Type: INDEX; Schema: public; Owner: -
2047 CREATE UNIQUE INDEX index_humans_on_uuid ON public.humans USING btree (uuid);
2051 -- Name: index_job_tasks_on_created_at; Type: INDEX; Schema: public; Owner: -
2054 CREATE INDEX index_job_tasks_on_created_at ON public.job_tasks USING btree (created_at);
2058 -- Name: index_job_tasks_on_created_by_job_task_uuid; Type: INDEX; Schema: public; Owner: -
2061 CREATE INDEX index_job_tasks_on_created_by_job_task_uuid ON public.job_tasks USING btree (created_by_job_task_uuid);
2065 -- Name: index_job_tasks_on_job_uuid; Type: INDEX; Schema: public; Owner: -
2068 CREATE INDEX index_job_tasks_on_job_uuid ON public.job_tasks USING btree (job_uuid);
2072 -- Name: index_job_tasks_on_modified_at; Type: INDEX; Schema: public; Owner: -
2075 CREATE INDEX index_job_tasks_on_modified_at ON public.job_tasks USING btree (modified_at);
2079 -- Name: index_job_tasks_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2082 CREATE INDEX index_job_tasks_on_owner_uuid ON public.job_tasks USING btree (owner_uuid);
2086 -- Name: index_job_tasks_on_sequence; Type: INDEX; Schema: public; Owner: -
2089 CREATE INDEX index_job_tasks_on_sequence ON public.job_tasks USING btree (sequence);
2093 -- Name: index_job_tasks_on_success; Type: INDEX; Schema: public; Owner: -
2096 CREATE INDEX index_job_tasks_on_success ON public.job_tasks USING btree (success);
2100 -- Name: index_job_tasks_on_uuid; Type: INDEX; Schema: public; Owner: -
2103 CREATE UNIQUE INDEX index_job_tasks_on_uuid ON public.job_tasks USING btree (uuid);
2107 -- Name: index_jobs_on_created_at; Type: INDEX; Schema: public; Owner: -
2110 CREATE INDEX index_jobs_on_created_at ON public.jobs USING btree (created_at);
2114 -- Name: index_jobs_on_finished_at; Type: INDEX; Schema: public; Owner: -
2117 CREATE INDEX index_jobs_on_finished_at ON public.jobs USING btree (finished_at);
2121 -- Name: index_jobs_on_modified_at; Type: INDEX; Schema: public; Owner: -
2124 CREATE INDEX index_jobs_on_modified_at ON public.jobs USING btree (modified_at);
2128 -- Name: index_jobs_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
2131 CREATE INDEX index_jobs_on_modified_at_uuid ON public.jobs USING btree (modified_at DESC, uuid);
2135 -- Name: index_jobs_on_output; Type: INDEX; Schema: public; Owner: -
2138 CREATE INDEX index_jobs_on_output ON public.jobs USING btree (output);
2142 -- Name: index_jobs_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2145 CREATE INDEX index_jobs_on_owner_uuid ON public.jobs USING btree (owner_uuid);
2149 -- Name: index_jobs_on_script; Type: INDEX; Schema: public; Owner: -
2152 CREATE INDEX index_jobs_on_script ON public.jobs USING btree (script);
2156 -- Name: index_jobs_on_script_parameters_digest; Type: INDEX; Schema: public; Owner: -
2159 CREATE INDEX index_jobs_on_script_parameters_digest ON public.jobs USING btree (script_parameters_digest);
2163 -- Name: index_jobs_on_started_at; Type: INDEX; Schema: public; Owner: -
2166 CREATE INDEX index_jobs_on_started_at ON public.jobs USING btree (started_at);
2170 -- Name: index_jobs_on_submit_id; Type: INDEX; Schema: public; Owner: -
2173 CREATE UNIQUE INDEX index_jobs_on_submit_id ON public.jobs USING btree (submit_id);
2177 -- Name: index_jobs_on_uuid; Type: INDEX; Schema: public; Owner: -
2180 CREATE UNIQUE INDEX index_jobs_on_uuid ON public.jobs USING btree (uuid);
2184 -- Name: index_keep_disks_on_filesystem_uuid; Type: INDEX; Schema: public; Owner: -
2187 CREATE INDEX index_keep_disks_on_filesystem_uuid ON public.keep_disks USING btree (filesystem_uuid);
2191 -- Name: index_keep_disks_on_last_ping_at; Type: INDEX; Schema: public; Owner: -
2194 CREATE INDEX index_keep_disks_on_last_ping_at ON public.keep_disks USING btree (last_ping_at);
2198 -- Name: index_keep_disks_on_node_uuid; Type: INDEX; Schema: public; Owner: -
2201 CREATE INDEX index_keep_disks_on_node_uuid ON public.keep_disks USING btree (node_uuid);
2205 -- Name: index_keep_disks_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2208 CREATE INDEX index_keep_disks_on_owner_uuid ON public.keep_disks USING btree (owner_uuid);
2212 -- Name: index_keep_disks_on_uuid; Type: INDEX; Schema: public; Owner: -
2215 CREATE UNIQUE INDEX index_keep_disks_on_uuid ON public.keep_disks USING btree (uuid);
2219 -- Name: index_keep_services_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2222 CREATE INDEX index_keep_services_on_owner_uuid ON public.keep_services USING btree (owner_uuid);
2226 -- Name: index_keep_services_on_uuid; Type: INDEX; Schema: public; Owner: -
2229 CREATE UNIQUE INDEX index_keep_services_on_uuid ON public.keep_services USING btree (uuid);
2233 -- Name: index_links_on_created_at; Type: INDEX; Schema: public; Owner: -
2236 CREATE INDEX index_links_on_created_at ON public.links USING btree (created_at);
2240 -- Name: index_links_on_head_uuid; Type: INDEX; Schema: public; Owner: -
2243 CREATE INDEX index_links_on_head_uuid ON public.links USING btree (head_uuid);
2247 -- Name: index_links_on_modified_at; Type: INDEX; Schema: public; Owner: -
2250 CREATE INDEX index_links_on_modified_at ON public.links USING btree (modified_at);
2254 -- Name: index_links_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
2257 CREATE INDEX index_links_on_modified_at_uuid ON public.links USING btree (modified_at DESC, uuid);
2261 -- Name: index_links_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2264 CREATE INDEX index_links_on_owner_uuid ON public.links USING btree (owner_uuid);
2268 -- Name: index_links_on_tail_uuid; Type: INDEX; Schema: public; Owner: -
2271 CREATE INDEX index_links_on_tail_uuid ON public.links USING btree (tail_uuid);
2275 -- Name: index_links_on_uuid; Type: INDEX; Schema: public; Owner: -
2278 CREATE UNIQUE INDEX index_links_on_uuid ON public.links USING btree (uuid);
2282 -- Name: index_logs_on_created_at; Type: INDEX; Schema: public; Owner: -
2285 CREATE INDEX index_logs_on_created_at ON public.logs USING btree (created_at);
2289 -- Name: index_logs_on_event_at; Type: INDEX; Schema: public; Owner: -
2292 CREATE INDEX index_logs_on_event_at ON public.logs USING btree (event_at);
2296 -- Name: index_logs_on_event_type; Type: INDEX; Schema: public; Owner: -
2299 CREATE INDEX index_logs_on_event_type ON public.logs USING btree (event_type);
2303 -- Name: index_logs_on_modified_at; Type: INDEX; Schema: public; Owner: -
2306 CREATE INDEX index_logs_on_modified_at ON public.logs USING btree (modified_at);
2310 -- Name: index_logs_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
2313 CREATE INDEX index_logs_on_modified_at_uuid ON public.logs USING btree (modified_at DESC, uuid);
2317 -- Name: index_logs_on_object_owner_uuid; Type: INDEX; Schema: public; Owner: -
2320 CREATE INDEX index_logs_on_object_owner_uuid ON public.logs USING btree (object_owner_uuid);
2324 -- Name: index_logs_on_object_uuid; Type: INDEX; Schema: public; Owner: -
2327 CREATE INDEX index_logs_on_object_uuid ON public.logs USING btree (object_uuid);
2331 -- Name: index_logs_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2334 CREATE INDEX index_logs_on_owner_uuid ON public.logs USING btree (owner_uuid);
2338 -- Name: index_logs_on_summary; Type: INDEX; Schema: public; Owner: -
2341 CREATE INDEX index_logs_on_summary ON public.logs USING btree (summary);
2345 -- Name: index_logs_on_uuid; Type: INDEX; Schema: public; Owner: -
2348 CREATE UNIQUE INDEX index_logs_on_uuid ON public.logs USING btree (uuid);
2352 -- Name: index_nodes_on_created_at; Type: INDEX; Schema: public; Owner: -
2355 CREATE INDEX index_nodes_on_created_at ON public.nodes USING btree (created_at);
2359 -- Name: index_nodes_on_hostname; Type: INDEX; Schema: public; Owner: -
2362 CREATE INDEX index_nodes_on_hostname ON public.nodes USING btree (hostname);
2366 -- Name: index_nodes_on_modified_at; Type: INDEX; Schema: public; Owner: -
2369 CREATE INDEX index_nodes_on_modified_at ON public.nodes USING btree (modified_at);
2373 -- Name: index_nodes_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2376 CREATE INDEX index_nodes_on_owner_uuid ON public.nodes USING btree (owner_uuid);
2380 -- Name: index_nodes_on_slot_number; Type: INDEX; Schema: public; Owner: -
2383 CREATE UNIQUE INDEX index_nodes_on_slot_number ON public.nodes USING btree (slot_number);
2387 -- Name: index_nodes_on_uuid; Type: INDEX; Schema: public; Owner: -
2390 CREATE UNIQUE INDEX index_nodes_on_uuid ON public.nodes USING btree (uuid);
2394 -- Name: index_pipeline_instances_on_created_at; Type: INDEX; Schema: public; Owner: -
2397 CREATE INDEX index_pipeline_instances_on_created_at ON public.pipeline_instances USING btree (created_at);
2401 -- Name: index_pipeline_instances_on_modified_at; Type: INDEX; Schema: public; Owner: -
2404 CREATE INDEX index_pipeline_instances_on_modified_at ON public.pipeline_instances USING btree (modified_at);
2408 -- Name: index_pipeline_instances_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
2411 CREATE INDEX index_pipeline_instances_on_modified_at_uuid ON public.pipeline_instances USING btree (modified_at DESC, uuid);
2415 -- Name: index_pipeline_instances_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2418 CREATE INDEX index_pipeline_instances_on_owner_uuid ON public.pipeline_instances USING btree (owner_uuid);
2422 -- Name: index_pipeline_instances_on_uuid; Type: INDEX; Schema: public; Owner: -
2425 CREATE UNIQUE INDEX index_pipeline_instances_on_uuid ON public.pipeline_instances USING btree (uuid);
2429 -- Name: index_pipeline_templates_on_created_at; Type: INDEX; Schema: public; Owner: -
2432 CREATE INDEX index_pipeline_templates_on_created_at ON public.pipeline_templates USING btree (created_at);
2436 -- Name: index_pipeline_templates_on_modified_at; Type: INDEX; Schema: public; Owner: -
2439 CREATE INDEX index_pipeline_templates_on_modified_at ON public.pipeline_templates USING btree (modified_at);
2443 -- Name: index_pipeline_templates_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
2446 CREATE INDEX index_pipeline_templates_on_modified_at_uuid ON public.pipeline_templates USING btree (modified_at DESC, uuid);
2450 -- Name: index_pipeline_templates_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2453 CREATE INDEX index_pipeline_templates_on_owner_uuid ON public.pipeline_templates USING btree (owner_uuid);
2457 -- Name: index_pipeline_templates_on_uuid; Type: INDEX; Schema: public; Owner: -
2460 CREATE UNIQUE INDEX index_pipeline_templates_on_uuid ON public.pipeline_templates USING btree (uuid);
2464 -- Name: index_repositories_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
2467 CREATE INDEX index_repositories_on_modified_at_uuid ON public.repositories USING btree (modified_at DESC, uuid);
2471 -- Name: index_repositories_on_name; Type: INDEX; Schema: public; Owner: -
2474 CREATE UNIQUE INDEX index_repositories_on_name ON public.repositories USING btree (name);
2478 -- Name: index_repositories_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2481 CREATE INDEX index_repositories_on_owner_uuid ON public.repositories USING btree (owner_uuid);
2485 -- Name: index_repositories_on_uuid; Type: INDEX; Schema: public; Owner: -
2488 CREATE UNIQUE INDEX index_repositories_on_uuid ON public.repositories USING btree (uuid);
2492 -- Name: index_specimens_on_created_at; Type: INDEX; Schema: public; Owner: -
2495 CREATE INDEX index_specimens_on_created_at ON public.specimens USING btree (created_at);
2499 -- Name: index_specimens_on_modified_at; Type: INDEX; Schema: public; Owner: -
2502 CREATE INDEX index_specimens_on_modified_at ON public.specimens USING btree (modified_at);
2506 -- Name: index_specimens_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2509 CREATE INDEX index_specimens_on_owner_uuid ON public.specimens USING btree (owner_uuid);
2513 -- Name: index_specimens_on_uuid; Type: INDEX; Schema: public; Owner: -
2516 CREATE UNIQUE INDEX index_specimens_on_uuid ON public.specimens USING btree (uuid);
2520 -- Name: index_traits_on_name; Type: INDEX; Schema: public; Owner: -
2523 CREATE INDEX index_traits_on_name ON public.traits USING btree (name);
2527 -- Name: index_traits_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2530 CREATE INDEX index_traits_on_owner_uuid ON public.traits USING btree (owner_uuid);
2534 -- Name: index_traits_on_uuid; Type: INDEX; Schema: public; Owner: -
2537 CREATE UNIQUE INDEX index_traits_on_uuid ON public.traits USING btree (uuid);
2541 -- Name: index_users_on_created_at; Type: INDEX; Schema: public; Owner: -
2544 CREATE INDEX index_users_on_created_at ON public.users USING btree (created_at);
2548 -- Name: index_users_on_modified_at; Type: INDEX; Schema: public; Owner: -
2551 CREATE INDEX index_users_on_modified_at ON public.users USING btree (modified_at);
2555 -- Name: index_users_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
2558 CREATE INDEX index_users_on_modified_at_uuid ON public.users USING btree (modified_at DESC, uuid);
2562 -- Name: index_users_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2565 CREATE INDEX index_users_on_owner_uuid ON public.users USING btree (owner_uuid);
2569 -- Name: index_users_on_username; Type: INDEX; Schema: public; Owner: -
2572 CREATE UNIQUE INDEX index_users_on_username ON public.users USING btree (username);
2576 -- Name: index_users_on_uuid; Type: INDEX; Schema: public; Owner: -
2579 CREATE UNIQUE INDEX index_users_on_uuid ON public.users USING btree (uuid);
2583 -- Name: index_virtual_machines_on_hostname; Type: INDEX; Schema: public; Owner: -
2586 CREATE INDEX index_virtual_machines_on_hostname ON public.virtual_machines USING btree (hostname);
2590 -- Name: index_virtual_machines_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
2593 CREATE INDEX index_virtual_machines_on_modified_at_uuid ON public.virtual_machines USING btree (modified_at DESC, uuid);
2597 -- Name: index_virtual_machines_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2600 CREATE INDEX index_virtual_machines_on_owner_uuid ON public.virtual_machines USING btree (owner_uuid);
2604 -- Name: index_virtual_machines_on_uuid; Type: INDEX; Schema: public; Owner: -
2607 CREATE UNIQUE INDEX index_virtual_machines_on_uuid ON public.virtual_machines USING btree (uuid);
2611 -- Name: index_workflows_on_modified_at_uuid; Type: INDEX; Schema: public; Owner: -
2614 CREATE INDEX index_workflows_on_modified_at_uuid ON public.workflows USING btree (modified_at DESC, uuid);
2618 -- Name: index_workflows_on_owner_uuid; Type: INDEX; Schema: public; Owner: -
2621 CREATE INDEX index_workflows_on_owner_uuid ON public.workflows USING btree (owner_uuid);
2625 -- Name: index_workflows_on_uuid; Type: INDEX; Schema: public; Owner: -
2628 CREATE UNIQUE INDEX index_workflows_on_uuid ON public.workflows USING btree (uuid);
2632 -- Name: job_tasks_search_index; Type: INDEX; Schema: public; Owner: -
2635 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);
2639 -- Name: jobs_full_text_search_idx; Type: INDEX; Schema: public; Owner: -
2642 CREATE INDEX jobs_full_text_search_idx ON public.jobs USING gin (to_tsvector('english'::regconfig, (((((((((((((((((((((((((((((((((((((((((((COALESCE(uuid, ''::character varying))::text || ' '::text) || (COALESCE(owner_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_client_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_user_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(submit_id, ''::character varying))::text) || ' '::text) || (COALESCE(script, ''::character varying))::text) || ' '::text) || (COALESCE(script_version, ''::character varying))::text) || ' '::text) || COALESCE(script_parameters, ''::text)) || ' '::text) || (COALESCE(cancelled_by_client_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(cancelled_by_user_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(output, ''::character varying))::text) || ' '::text) || (COALESCE(is_locked_by_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(log, ''::character varying))::text) || ' '::text) || COALESCE(tasks_summary, ''::text)) || ' '::text) || COALESCE(runtime_constraints, ''::text)) || ' '::text) || (COALESCE(repository, ''::character varying))::text) || ' '::text) || (COALESCE(supplied_script_version, ''::character varying))::text) || ' '::text) || (COALESCE(docker_image_locator, ''::character varying))::text) || ' '::text) || (COALESCE(description, ''::character varying))::text) || ' '::text) || (COALESCE(state, ''::character varying))::text) || ' '::text) || (COALESCE(arvados_sdk_version, ''::character varying))::text) || ' '::text) || COALESCE(components, ''::text))));
2646 -- Name: jobs_search_index; Type: INDEX; Schema: public; Owner: -
2649 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);
2653 -- Name: keep_disks_search_index; Type: INDEX; Schema: public; Owner: -
2656 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);
2660 -- Name: keep_services_search_index; Type: INDEX; Schema: public; Owner: -
2663 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);
2667 -- Name: links_index_on_properties; Type: INDEX; Schema: public; Owner: -
2670 CREATE INDEX links_index_on_properties ON public.links USING gin (properties);
2674 -- Name: links_search_index; Type: INDEX; Schema: public; Owner: -
2677 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);
2681 -- Name: links_tail_name_unique_if_link_class_name; Type: INDEX; Schema: public; Owner: -
2684 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);
2688 -- Name: logs_search_index; Type: INDEX; Schema: public; Owner: -
2691 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);
2695 -- Name: nodes_index_on_info; Type: INDEX; Schema: public; Owner: -
2698 CREATE INDEX nodes_index_on_info ON public.nodes USING gin (info);
2702 -- Name: nodes_index_on_properties; Type: INDEX; Schema: public; Owner: -
2705 CREATE INDEX nodes_index_on_properties ON public.nodes USING gin (properties);
2709 -- Name: nodes_search_index; Type: INDEX; Schema: public; Owner: -
2712 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);
2716 -- Name: permission_target_trashed; Type: INDEX; Schema: public; Owner: -
2719 CREATE INDEX permission_target_trashed ON public.materialized_permission_view USING btree (trashed, target_uuid);
2723 -- Name: permission_target_user_trashed_level; Type: INDEX; Schema: public; Owner: -
2726 CREATE INDEX permission_target_user_trashed_level ON public.materialized_permission_view USING btree (user_uuid, trashed, perm_level);
2730 -- Name: pipeline_instances_full_text_search_idx; Type: INDEX; Schema: public; Owner: -
2733 CREATE INDEX pipeline_instances_full_text_search_idx ON public.pipeline_instances USING gin (to_tsvector('english'::regconfig, (((((((((((((((((((((COALESCE(uuid, ''::character varying))::text || ' '::text) || (COALESCE(owner_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_client_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_user_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(pipeline_template_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(name, ''::character varying))::text) || ' '::text) || COALESCE(components, ''::text)) || ' '::text) || COALESCE(properties, ''::text)) || ' '::text) || (COALESCE(state, ''::character varying))::text) || ' '::text) || COALESCE(components_summary, ''::text)) || ' '::text) || (COALESCE(description, ''::character varying))::text)));
2737 -- Name: pipeline_instances_search_index; Type: INDEX; Schema: public; Owner: -
2740 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);
2744 -- Name: pipeline_template_owner_uuid_name_unique; Type: INDEX; Schema: public; Owner: -
2747 CREATE UNIQUE INDEX pipeline_template_owner_uuid_name_unique ON public.pipeline_templates USING btree (owner_uuid, name);
2751 -- Name: pipeline_templates_full_text_search_idx; Type: INDEX; Schema: public; Owner: -
2754 CREATE INDEX pipeline_templates_full_text_search_idx ON public.pipeline_templates USING gin (to_tsvector('english'::regconfig, (((((((((((((COALESCE(uuid, ''::character varying))::text || ' '::text) || (COALESCE(owner_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_client_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_user_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(name, ''::character varying))::text) || ' '::text) || COALESCE(components, ''::text)) || ' '::text) || (COALESCE(description, ''::character varying))::text)));
2758 -- Name: pipeline_templates_search_index; Type: INDEX; Schema: public; Owner: -
2761 CREATE INDEX pipeline_templates_search_index ON public.pipeline_templates USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2765 -- Name: repositories_search_index; Type: INDEX; Schema: public; Owner: -
2768 CREATE INDEX repositories_search_index ON public.repositories USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2772 -- Name: specimens_search_index; Type: INDEX; Schema: public; Owner: -
2775 CREATE INDEX specimens_search_index ON public.specimens USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, material);
2779 -- Name: traits_search_index; Type: INDEX; Schema: public; Owner: -
2782 CREATE INDEX traits_search_index ON public.traits USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2786 -- Name: unique_schema_migrations; Type: INDEX; Schema: public; Owner: -
2789 CREATE UNIQUE INDEX unique_schema_migrations ON public.schema_migrations USING btree (version);
2793 -- Name: users_search_index; Type: INDEX; Schema: public; Owner: -
2796 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);
2800 -- Name: virtual_machines_search_index; Type: INDEX; Schema: public; Owner: -
2803 CREATE INDEX virtual_machines_search_index ON public.virtual_machines USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, hostname);
2807 -- Name: workflows_full_text_search_idx; Type: INDEX; Schema: public; Owner: -
2810 CREATE INDEX workflows_full_text_search_idx ON public.workflows USING gin (to_tsvector('english'::regconfig, (((((((((((COALESCE(uuid, ''::character varying))::text || ' '::text) || (COALESCE(owner_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_client_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_user_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(name, ''::character varying))::text) || ' '::text) || COALESCE(description, ''::text))));
2814 -- Name: workflows_search_idx; Type: INDEX; Schema: public; Owner: -
2817 CREATE INDEX workflows_search_idx ON public.workflows USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2821 -- PostgreSQL database dump complete
2824 SET search_path TO "$user", public;
2826 INSERT INTO schema_migrations (version) VALUES ('20121016005009');
2828 INSERT INTO schema_migrations (version) VALUES ('20130105203021');
2830 INSERT INTO schema_migrations (version) VALUES ('20130105224358');
2832 INSERT INTO schema_migrations (version) VALUES ('20130105224618');
2834 INSERT INTO schema_migrations (version) VALUES ('20130107181109');
2836 INSERT INTO schema_migrations (version) VALUES ('20130107212832');
2838 INSERT INTO schema_migrations (version) VALUES ('20130109175700');
2840 INSERT INTO schema_migrations (version) VALUES ('20130109220548');
2842 INSERT INTO schema_migrations (version) VALUES ('20130113214204');
2844 INSERT INTO schema_migrations (version) VALUES ('20130116024233');
2846 INSERT INTO schema_migrations (version) VALUES ('20130116215213');
2848 INSERT INTO schema_migrations (version) VALUES ('20130118002239');
2850 INSERT INTO schema_migrations (version) VALUES ('20130122020042');
2852 INSERT INTO schema_migrations (version) VALUES ('20130122201442');
2854 INSERT INTO schema_migrations (version) VALUES ('20130122221616');
2856 INSERT INTO schema_migrations (version) VALUES ('20130123174514');
2858 INSERT INTO schema_migrations (version) VALUES ('20130123180224');
2860 INSERT INTO schema_migrations (version) VALUES ('20130123180228');
2862 INSERT INTO schema_migrations (version) VALUES ('20130125220425');
2864 INSERT INTO schema_migrations (version) VALUES ('20130128202518');
2866 INSERT INTO schema_migrations (version) VALUES ('20130128231343');
2868 INSERT INTO schema_migrations (version) VALUES ('20130130205749');
2870 INSERT INTO schema_migrations (version) VALUES ('20130203104818');
2872 INSERT INTO schema_migrations (version) VALUES ('20130203104824');
2874 INSERT INTO schema_migrations (version) VALUES ('20130203115329');
2876 INSERT INTO schema_migrations (version) VALUES ('20130207195855');
2878 INSERT INTO schema_migrations (version) VALUES ('20130218181504');
2880 INSERT INTO schema_migrations (version) VALUES ('20130226170000');
2882 INSERT INTO schema_migrations (version) VALUES ('20130313175417');
2884 INSERT INTO schema_migrations (version) VALUES ('20130315155820');
2886 INSERT INTO schema_migrations (version) VALUES ('20130315183626');
2888 INSERT INTO schema_migrations (version) VALUES ('20130315213205');
2890 INSERT INTO schema_migrations (version) VALUES ('20130318002138');
2892 INSERT INTO schema_migrations (version) VALUES ('20130319165853');
2894 INSERT INTO schema_migrations (version) VALUES ('20130319180730');
2896 INSERT INTO schema_migrations (version) VALUES ('20130319194637');
2898 INSERT INTO schema_migrations (version) VALUES ('20130319201431');
2900 INSERT INTO schema_migrations (version) VALUES ('20130319235957');
2902 INSERT INTO schema_migrations (version) VALUES ('20130320000107');
2904 INSERT INTO schema_migrations (version) VALUES ('20130326173804');
2906 INSERT INTO schema_migrations (version) VALUES ('20130326182917');
2908 INSERT INTO schema_migrations (version) VALUES ('20130415020241');
2910 INSERT INTO schema_migrations (version) VALUES ('20130425024459');
2912 INSERT INTO schema_migrations (version) VALUES ('20130425214427');
2914 INSERT INTO schema_migrations (version) VALUES ('20130523060112');
2916 INSERT INTO schema_migrations (version) VALUES ('20130523060213');
2918 INSERT INTO schema_migrations (version) VALUES ('20130524042319');
2920 INSERT INTO schema_migrations (version) VALUES ('20130528134100');
2922 INSERT INTO schema_migrations (version) VALUES ('20130606183519');
2924 INSERT INTO schema_migrations (version) VALUES ('20130608053730');
2926 INSERT INTO schema_migrations (version) VALUES ('20130610202538');
2928 INSERT INTO schema_migrations (version) VALUES ('20130611163736');
2930 INSERT INTO schema_migrations (version) VALUES ('20130612042554');
2932 INSERT INTO schema_migrations (version) VALUES ('20130617150007');
2934 INSERT INTO schema_migrations (version) VALUES ('20130626002829');
2936 INSERT INTO schema_migrations (version) VALUES ('20130626022810');
2938 INSERT INTO schema_migrations (version) VALUES ('20130627154537');
2940 INSERT INTO schema_migrations (version) VALUES ('20130627184333');
2942 INSERT INTO schema_migrations (version) VALUES ('20130708163414');
2944 INSERT INTO schema_migrations (version) VALUES ('20130708182912');
2946 INSERT INTO schema_migrations (version) VALUES ('20130708185153');
2948 INSERT INTO schema_migrations (version) VALUES ('20130724153034');
2950 INSERT INTO schema_migrations (version) VALUES ('20131007180607');
2952 INSERT INTO schema_migrations (version) VALUES ('20140117231056');
2954 INSERT INTO schema_migrations (version) VALUES ('20140124222114');
2956 INSERT INTO schema_migrations (version) VALUES ('20140129184311');
2958 INSERT INTO schema_migrations (version) VALUES ('20140317135600');
2960 INSERT INTO schema_migrations (version) VALUES ('20140319160547');
2962 INSERT INTO schema_migrations (version) VALUES ('20140321191343');
2964 INSERT INTO schema_migrations (version) VALUES ('20140324024606');
2966 INSERT INTO schema_migrations (version) VALUES ('20140325175653');
2968 INSERT INTO schema_migrations (version) VALUES ('20140402001908');
2970 INSERT INTO schema_migrations (version) VALUES ('20140407184311');
2972 INSERT INTO schema_migrations (version) VALUES ('20140421140924');
2974 INSERT INTO schema_migrations (version) VALUES ('20140421151939');
2976 INSERT INTO schema_migrations (version) VALUES ('20140421151940');
2978 INSERT INTO schema_migrations (version) VALUES ('20140422011506');
2980 INSERT INTO schema_migrations (version) VALUES ('20140423132913');
2982 INSERT INTO schema_migrations (version) VALUES ('20140423133559');
2984 INSERT INTO schema_migrations (version) VALUES ('20140501165548');
2986 INSERT INTO schema_migrations (version) VALUES ('20140519205916');
2988 INSERT INTO schema_migrations (version) VALUES ('20140527152921');
2990 INSERT INTO schema_migrations (version) VALUES ('20140530200539');
2992 INSERT INTO schema_migrations (version) VALUES ('20140601022548');
2994 INSERT INTO schema_migrations (version) VALUES ('20140602143352');
2996 INSERT INTO schema_migrations (version) VALUES ('20140607150616');
2998 INSERT INTO schema_migrations (version) VALUES ('20140611173003');
3000 INSERT INTO schema_migrations (version) VALUES ('20140627210837');
3002 INSERT INTO schema_migrations (version) VALUES ('20140709172343');
3004 INSERT INTO schema_migrations (version) VALUES ('20140714184006');
3006 INSERT INTO schema_migrations (version) VALUES ('20140811184643');
3008 INSERT INTO schema_migrations (version) VALUES ('20140817035914');
3010 INSERT INTO schema_migrations (version) VALUES ('20140818125735');
3012 INSERT INTO schema_migrations (version) VALUES ('20140826180337');
3014 INSERT INTO schema_migrations (version) VALUES ('20140828141043');
3016 INSERT INTO schema_migrations (version) VALUES ('20140909183946');
3018 INSERT INTO schema_migrations (version) VALUES ('20140911221252');
3020 INSERT INTO schema_migrations (version) VALUES ('20140918141529');
3022 INSERT INTO schema_migrations (version) VALUES ('20140918153541');
3024 INSERT INTO schema_migrations (version) VALUES ('20140918153705');
3026 INSERT INTO schema_migrations (version) VALUES ('20140924091559');
3028 INSERT INTO schema_migrations (version) VALUES ('20141111133038');
3030 INSERT INTO schema_migrations (version) VALUES ('20141208164553');
3032 INSERT INTO schema_migrations (version) VALUES ('20141208174553');
3034 INSERT INTO schema_migrations (version) VALUES ('20141208174653');
3036 INSERT INTO schema_migrations (version) VALUES ('20141208185217');
3038 INSERT INTO schema_migrations (version) VALUES ('20150122175935');
3040 INSERT INTO schema_migrations (version) VALUES ('20150123142953');
3042 INSERT INTO schema_migrations (version) VALUES ('20150203180223');
3044 INSERT INTO schema_migrations (version) VALUES ('20150206210804');
3046 INSERT INTO schema_migrations (version) VALUES ('20150206230342');
3048 INSERT INTO schema_migrations (version) VALUES ('20150216193428');
3050 INSERT INTO schema_migrations (version) VALUES ('20150303210106');
3052 INSERT INTO schema_migrations (version) VALUES ('20150312151136');
3054 INSERT INTO schema_migrations (version) VALUES ('20150317132720');
3056 INSERT INTO schema_migrations (version) VALUES ('20150324152204');
3058 INSERT INTO schema_migrations (version) VALUES ('20150423145759');
3060 INSERT INTO schema_migrations (version) VALUES ('20150512193020');
3062 INSERT INTO schema_migrations (version) VALUES ('20150526180251');
3064 INSERT INTO schema_migrations (version) VALUES ('20151202151426');
3066 INSERT INTO schema_migrations (version) VALUES ('20151215134304');
3068 INSERT INTO schema_migrations (version) VALUES ('20151229214707');
3070 INSERT INTO schema_migrations (version) VALUES ('20160208210629');
3072 INSERT INTO schema_migrations (version) VALUES ('20160209155729');
3074 INSERT INTO schema_migrations (version) VALUES ('20160324144017');
3076 INSERT INTO schema_migrations (version) VALUES ('20160506175108');
3078 INSERT INTO schema_migrations (version) VALUES ('20160509143250');
3080 INSERT INTO schema_migrations (version) VALUES ('20160808151559');
3082 INSERT INTO schema_migrations (version) VALUES ('20160819195557');
3084 INSERT INTO schema_migrations (version) VALUES ('20160819195725');
3086 INSERT INTO schema_migrations (version) VALUES ('20160901210110');
3088 INSERT INTO schema_migrations (version) VALUES ('20160909181442');
3090 INSERT INTO schema_migrations (version) VALUES ('20160926194129');
3092 INSERT INTO schema_migrations (version) VALUES ('20161019171346');
3094 INSERT INTO schema_migrations (version) VALUES ('20161111143147');
3096 INSERT INTO schema_migrations (version) VALUES ('20161115171221');
3098 INSERT INTO schema_migrations (version) VALUES ('20161115174218');
3100 INSERT INTO schema_migrations (version) VALUES ('20161213172944');
3102 INSERT INTO schema_migrations (version) VALUES ('20161222153434');
3104 INSERT INTO schema_migrations (version) VALUES ('20161223090712');
3106 INSERT INTO schema_migrations (version) VALUES ('20170102153111');
3108 INSERT INTO schema_migrations (version) VALUES ('20170105160301');
3110 INSERT INTO schema_migrations (version) VALUES ('20170105160302');
3112 INSERT INTO schema_migrations (version) VALUES ('20170216170823');
3114 INSERT INTO schema_migrations (version) VALUES ('20170301225558');
3116 INSERT INTO schema_migrations (version) VALUES ('20170319063406');
3118 INSERT INTO schema_migrations (version) VALUES ('20170328215436');
3120 INSERT INTO schema_migrations (version) VALUES ('20170330012505');
3122 INSERT INTO schema_migrations (version) VALUES ('20170419173031');
3124 INSERT INTO schema_migrations (version) VALUES ('20170419173712');
3126 INSERT INTO schema_migrations (version) VALUES ('20170419175801');
3128 INSERT INTO schema_migrations (version) VALUES ('20170628185847');
3130 INSERT INTO schema_migrations (version) VALUES ('20170704160233');
3132 INSERT INTO schema_migrations (version) VALUES ('20170706141334');
3134 INSERT INTO schema_migrations (version) VALUES ('20170824202826');
3136 INSERT INTO schema_migrations (version) VALUES ('20170906224040');
3138 INSERT INTO schema_migrations (version) VALUES ('20171027183824');
3140 INSERT INTO schema_migrations (version) VALUES ('20171208203841');
3142 INSERT INTO schema_migrations (version) VALUES ('20171212153352');
3144 INSERT INTO schema_migrations (version) VALUES ('20180216203422');
3146 INSERT INTO schema_migrations (version) VALUES ('20180228220311');
3148 INSERT INTO schema_migrations (version) VALUES ('20180313180114');
3150 INSERT INTO schema_migrations (version) VALUES ('20180501182859');
3152 INSERT INTO schema_migrations (version) VALUES ('20180514135529');
3154 INSERT INTO schema_migrations (version) VALUES ('20180607175050');
3156 INSERT INTO schema_migrations (version) VALUES ('20180608123145');
3158 INSERT INTO schema_migrations (version) VALUES ('20180806133039');
3160 INSERT INTO schema_migrations (version) VALUES ('20180820130357');
3162 INSERT INTO schema_migrations (version) VALUES ('20180820132617');
3164 INSERT INTO schema_migrations (version) VALUES ('20180820135808');
3166 INSERT INTO schema_migrations (version) VALUES ('20180824152014');
3168 INSERT INTO schema_migrations (version) VALUES ('20180824155207');
3170 INSERT INTO schema_migrations (version) VALUES ('20180904110712');
3172 INSERT INTO schema_migrations (version) VALUES ('20180917205609');