Merge branch '10684-crunch-run-ca-certs' closes #10684
[arvados.git] / services / api / db / structure.sql
1 --
2 -- PostgreSQL database dump
3 --
4
5 SET statement_timeout = 0;
6 SET client_encoding = 'UTF8';
7 SET standard_conforming_strings = on;
8 SET check_function_bodies = false;
9 SET client_min_messages = warning;
10
11 --
12 -- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: -
13 --
14
15 CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
16
17
18 --
19 -- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner: -
20 --
21
22 -- COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
23
24
25 SET search_path = public, pg_catalog;
26
27 SET default_tablespace = '';
28
29 SET default_with_oids = false;
30
31 --
32 -- Name: api_client_authorizations; Type: TABLE; Schema: public; Owner: -; Tablespace: 
33 --
34
35 CREATE TABLE api_client_authorizations (
36     id integer NOT NULL,
37     api_token character varying(255) NOT NULL,
38     api_client_id integer NOT NULL,
39     user_id integer NOT NULL,
40     created_by_ip_address character varying(255),
41     last_used_by_ip_address character varying(255),
42     last_used_at timestamp without time zone,
43     expires_at timestamp without time zone,
44     created_at timestamp without time zone NOT NULL,
45     updated_at timestamp without time zone NOT NULL,
46     default_owner_uuid character varying(255),
47     scopes text DEFAULT '---
48 - all
49 '::text NOT NULL,
50     uuid character varying(255) NOT NULL
51 );
52
53
54 --
55 -- Name: api_client_authorizations_id_seq; Type: SEQUENCE; Schema: public; Owner: -
56 --
57
58 CREATE SEQUENCE api_client_authorizations_id_seq
59     START WITH 1
60     INCREMENT BY 1
61     NO MINVALUE
62     NO MAXVALUE
63     CACHE 1;
64
65
66 --
67 -- Name: api_client_authorizations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
68 --
69
70 ALTER SEQUENCE api_client_authorizations_id_seq OWNED BY api_client_authorizations.id;
71
72
73 --
74 -- Name: api_clients; Type: TABLE; Schema: public; Owner: -; Tablespace: 
75 --
76
77 CREATE TABLE api_clients (
78     id integer NOT NULL,
79     uuid character varying(255),
80     owner_uuid character varying(255),
81     modified_by_client_uuid character varying(255),
82     modified_by_user_uuid character varying(255),
83     modified_at timestamp without time zone,
84     name character varying(255),
85     url_prefix character varying(255),
86     created_at timestamp without time zone NOT NULL,
87     updated_at timestamp without time zone NOT NULL,
88     is_trusted boolean DEFAULT false
89 );
90
91
92 --
93 -- Name: api_clients_id_seq; Type: SEQUENCE; Schema: public; Owner: -
94 --
95
96 CREATE SEQUENCE api_clients_id_seq
97     START WITH 1
98     INCREMENT BY 1
99     NO MINVALUE
100     NO MAXVALUE
101     CACHE 1;
102
103
104 --
105 -- Name: api_clients_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
106 --
107
108 ALTER SEQUENCE api_clients_id_seq OWNED BY api_clients.id;
109
110
111 --
112 -- Name: authorized_keys; Type: TABLE; Schema: public; Owner: -; Tablespace: 
113 --
114
115 CREATE TABLE authorized_keys (
116     id integer NOT NULL,
117     uuid character varying(255) NOT NULL,
118     owner_uuid character varying(255) NOT NULL,
119     modified_by_client_uuid character varying(255),
120     modified_by_user_uuid character varying(255),
121     modified_at timestamp without time zone,
122     name character varying(255),
123     key_type character varying(255),
124     authorized_user_uuid character varying(255),
125     public_key text,
126     expires_at timestamp without time zone,
127     created_at timestamp without time zone NOT NULL,
128     updated_at timestamp without time zone NOT NULL
129 );
130
131
132 --
133 -- Name: authorized_keys_id_seq; Type: SEQUENCE; Schema: public; Owner: -
134 --
135
136 CREATE SEQUENCE authorized_keys_id_seq
137     START WITH 1
138     INCREMENT BY 1
139     NO MINVALUE
140     NO MAXVALUE
141     CACHE 1;
142
143
144 --
145 -- Name: authorized_keys_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
146 --
147
148 ALTER SEQUENCE authorized_keys_id_seq OWNED BY authorized_keys.id;
149
150
151 --
152 -- Name: collections; Type: TABLE; Schema: public; Owner: -; Tablespace: 
153 --
154
155 CREATE TABLE collections (
156     id integer NOT NULL,
157     owner_uuid character varying(255),
158     created_at timestamp without time zone NOT NULL,
159     modified_by_client_uuid character varying(255),
160     modified_by_user_uuid character varying(255),
161     modified_at timestamp without time zone,
162     portable_data_hash character varying(255),
163     replication_desired integer,
164     replication_confirmed_at timestamp without time zone,
165     replication_confirmed integer,
166     updated_at timestamp without time zone NOT NULL,
167     uuid character varying(255),
168     manifest_text text,
169     name character varying(255),
170     description character varying(524288),
171     properties text,
172     expires_at timestamp without time zone,
173     file_names character varying(8192)
174 );
175
176
177 --
178 -- Name: collections_id_seq; Type: SEQUENCE; Schema: public; Owner: -
179 --
180
181 CREATE SEQUENCE collections_id_seq
182     START WITH 1
183     INCREMENT BY 1
184     NO MINVALUE
185     NO MAXVALUE
186     CACHE 1;
187
188
189 --
190 -- Name: collections_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
191 --
192
193 ALTER SEQUENCE collections_id_seq OWNED BY collections.id;
194
195
196 --
197 -- Name: commit_ancestors; Type: TABLE; Schema: public; Owner: -; Tablespace: 
198 --
199
200 CREATE TABLE commit_ancestors (
201     id integer NOT NULL,
202     repository_name character varying(255),
203     descendant character varying(255) NOT NULL,
204     ancestor character varying(255) NOT NULL,
205     "is" boolean DEFAULT false NOT NULL,
206     created_at timestamp without time zone NOT NULL,
207     updated_at timestamp without time zone NOT NULL
208 );
209
210
211 --
212 -- Name: commit_ancestors_id_seq; Type: SEQUENCE; Schema: public; Owner: -
213 --
214
215 CREATE SEQUENCE commit_ancestors_id_seq
216     START WITH 1
217     INCREMENT BY 1
218     NO MINVALUE
219     NO MAXVALUE
220     CACHE 1;
221
222
223 --
224 -- Name: commit_ancestors_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
225 --
226
227 ALTER SEQUENCE commit_ancestors_id_seq OWNED BY commit_ancestors.id;
228
229
230 --
231 -- Name: commits; Type: TABLE; Schema: public; Owner: -; Tablespace: 
232 --
233
234 CREATE TABLE commits (
235     id integer NOT NULL,
236     repository_name character varying(255),
237     sha1 character varying(255),
238     message character varying(255),
239     created_at timestamp without time zone NOT NULL,
240     updated_at timestamp without time zone NOT NULL
241 );
242
243
244 --
245 -- Name: commits_id_seq; Type: SEQUENCE; Schema: public; Owner: -
246 --
247
248 CREATE SEQUENCE commits_id_seq
249     START WITH 1
250     INCREMENT BY 1
251     NO MINVALUE
252     NO MAXVALUE
253     CACHE 1;
254
255
256 --
257 -- Name: commits_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
258 --
259
260 ALTER SEQUENCE commits_id_seq OWNED BY commits.id;
261
262
263 --
264 -- Name: container_requests; Type: TABLE; Schema: public; Owner: -; Tablespace: 
265 --
266
267 CREATE TABLE container_requests (
268     id integer NOT NULL,
269     uuid character varying(255),
270     owner_uuid character varying(255),
271     created_at timestamp without time zone NOT NULL,
272     modified_at timestamp without time zone,
273     modified_by_client_uuid character varying(255),
274     modified_by_user_uuid character varying(255),
275     name character varying(255),
276     description text,
277     properties text,
278     state character varying(255),
279     requesting_container_uuid character varying(255),
280     container_uuid character varying(255),
281     container_count_max integer,
282     mounts text,
283     runtime_constraints text,
284     container_image character varying(255),
285     environment text,
286     cwd character varying(255),
287     command text,
288     output_path character varying(255),
289     priority integer,
290     expires_at timestamp without time zone,
291     filters text,
292     updated_at timestamp without time zone NOT NULL,
293     container_count integer DEFAULT 0,
294     use_existing boolean DEFAULT true,
295     scheduling_parameters text,
296     output_uuid character varying(255),
297     log_uuid character varying(255)
298 );
299
300
301 --
302 -- Name: container_requests_id_seq; Type: SEQUENCE; Schema: public; Owner: -
303 --
304
305 CREATE SEQUENCE container_requests_id_seq
306     START WITH 1
307     INCREMENT BY 1
308     NO MINVALUE
309     NO MAXVALUE
310     CACHE 1;
311
312
313 --
314 -- Name: container_requests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
315 --
316
317 ALTER SEQUENCE container_requests_id_seq OWNED BY container_requests.id;
318
319
320 --
321 -- Name: containers; Type: TABLE; Schema: public; Owner: -; Tablespace: 
322 --
323
324 CREATE TABLE containers (
325     id integer NOT NULL,
326     uuid character varying(255),
327     owner_uuid character varying(255),
328     created_at timestamp without time zone NOT NULL,
329     modified_at timestamp without time zone,
330     modified_by_client_uuid character varying(255),
331     modified_by_user_uuid character varying(255),
332     state character varying(255),
333     started_at timestamp without time zone,
334     finished_at timestamp without time zone,
335     log character varying(255),
336     environment text,
337     cwd character varying(255),
338     command text,
339     output_path character varying(255),
340     mounts text,
341     runtime_constraints text,
342     output character varying(255),
343     container_image character varying(255),
344     progress double precision,
345     priority integer,
346     updated_at timestamp without time zone NOT NULL,
347     exit_code integer,
348     auth_uuid character varying(255),
349     locked_by_uuid character varying(255),
350     scheduling_parameters text
351 );
352
353
354 --
355 -- Name: containers_id_seq; Type: SEQUENCE; Schema: public; Owner: -
356 --
357
358 CREATE SEQUENCE containers_id_seq
359     START WITH 1
360     INCREMENT BY 1
361     NO MINVALUE
362     NO MAXVALUE
363     CACHE 1;
364
365
366 --
367 -- Name: containers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
368 --
369
370 ALTER SEQUENCE containers_id_seq OWNED BY containers.id;
371
372
373 --
374 -- Name: groups; Type: TABLE; Schema: public; Owner: -; Tablespace: 
375 --
376
377 CREATE TABLE groups (
378     id integer NOT NULL,
379     uuid character varying(255),
380     owner_uuid character varying(255),
381     created_at timestamp without time zone NOT NULL,
382     modified_by_client_uuid character varying(255),
383     modified_by_user_uuid character varying(255),
384     modified_at timestamp without time zone,
385     name character varying(255) NOT NULL,
386     description character varying(524288),
387     updated_at timestamp without time zone NOT NULL,
388     group_class character varying(255)
389 );
390
391
392 --
393 -- Name: groups_id_seq; Type: SEQUENCE; Schema: public; Owner: -
394 --
395
396 CREATE SEQUENCE groups_id_seq
397     START WITH 1
398     INCREMENT BY 1
399     NO MINVALUE
400     NO MAXVALUE
401     CACHE 1;
402
403
404 --
405 -- Name: groups_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
406 --
407
408 ALTER SEQUENCE groups_id_seq OWNED BY groups.id;
409
410
411 --
412 -- Name: humans; Type: TABLE; Schema: public; Owner: -; Tablespace: 
413 --
414
415 CREATE TABLE humans (
416     id integer NOT NULL,
417     uuid character varying(255) NOT NULL,
418     owner_uuid character varying(255) NOT NULL,
419     modified_by_client_uuid character varying(255),
420     modified_by_user_uuid character varying(255),
421     modified_at timestamp without time zone,
422     properties text,
423     created_at timestamp without time zone NOT NULL,
424     updated_at timestamp without time zone NOT NULL
425 );
426
427
428 --
429 -- Name: humans_id_seq; Type: SEQUENCE; Schema: public; Owner: -
430 --
431
432 CREATE SEQUENCE humans_id_seq
433     START WITH 1
434     INCREMENT BY 1
435     NO MINVALUE
436     NO MAXVALUE
437     CACHE 1;
438
439
440 --
441 -- Name: humans_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
442 --
443
444 ALTER SEQUENCE humans_id_seq OWNED BY humans.id;
445
446
447 --
448 -- Name: job_tasks; Type: TABLE; Schema: public; Owner: -; Tablespace: 
449 --
450
451 CREATE TABLE job_tasks (
452     id integer NOT NULL,
453     uuid character varying(255),
454     owner_uuid character varying(255),
455     modified_by_client_uuid character varying(255),
456     modified_by_user_uuid character varying(255),
457     modified_at timestamp without time zone,
458     job_uuid character varying(255),
459     sequence integer,
460     parameters text,
461     output text,
462     progress double precision,
463     success boolean,
464     created_at timestamp without time zone NOT NULL,
465     updated_at timestamp without time zone NOT NULL,
466     created_by_job_task_uuid character varying(255),
467     qsequence bigint,
468     started_at timestamp without time zone,
469     finished_at timestamp without time zone
470 );
471
472
473 --
474 -- Name: job_tasks_id_seq; Type: SEQUENCE; Schema: public; Owner: -
475 --
476
477 CREATE SEQUENCE job_tasks_id_seq
478     START WITH 1
479     INCREMENT BY 1
480     NO MINVALUE
481     NO MAXVALUE
482     CACHE 1;
483
484
485 --
486 -- Name: job_tasks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
487 --
488
489 ALTER SEQUENCE job_tasks_id_seq OWNED BY job_tasks.id;
490
491
492 --
493 -- Name: job_tasks_qsequence_seq; Type: SEQUENCE; Schema: public; Owner: -
494 --
495
496 CREATE SEQUENCE job_tasks_qsequence_seq
497     START WITH 1
498     INCREMENT BY 1
499     NO MINVALUE
500     NO MAXVALUE
501     CACHE 1;
502
503
504 --
505 -- Name: job_tasks_qsequence_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
506 --
507
508 ALTER SEQUENCE job_tasks_qsequence_seq OWNED BY job_tasks.qsequence;
509
510
511 --
512 -- Name: jobs; Type: TABLE; Schema: public; Owner: -; Tablespace: 
513 --
514
515 CREATE TABLE jobs (
516     id integer NOT NULL,
517     uuid character varying(255),
518     owner_uuid character varying(255),
519     modified_by_client_uuid character varying(255),
520     modified_by_user_uuid character varying(255),
521     modified_at timestamp without time zone,
522     submit_id character varying(255),
523     script character varying(255),
524     script_version character varying(255),
525     script_parameters text,
526     cancelled_by_client_uuid character varying(255),
527     cancelled_by_user_uuid character varying(255),
528     cancelled_at timestamp without time zone,
529     started_at timestamp without time zone,
530     finished_at timestamp without time zone,
531     running boolean,
532     success boolean,
533     output character varying(255),
534     created_at timestamp without time zone NOT NULL,
535     updated_at timestamp without time zone NOT NULL,
536     is_locked_by_uuid character varying(255),
537     log character varying(255),
538     tasks_summary text,
539     runtime_constraints text,
540     nondeterministic boolean,
541     repository character varying(255),
542     supplied_script_version character varying(255),
543     docker_image_locator character varying(255),
544     priority integer DEFAULT 0 NOT NULL,
545     description character varying(524288),
546     state character varying(255),
547     arvados_sdk_version character varying(255),
548     components text,
549     script_parameters_digest character varying(255)
550 );
551
552
553 --
554 -- Name: jobs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
555 --
556
557 CREATE SEQUENCE jobs_id_seq
558     START WITH 1
559     INCREMENT BY 1
560     NO MINVALUE
561     NO MAXVALUE
562     CACHE 1;
563
564
565 --
566 -- Name: jobs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
567 --
568
569 ALTER SEQUENCE jobs_id_seq OWNED BY jobs.id;
570
571
572 --
573 -- Name: keep_disks; Type: TABLE; Schema: public; Owner: -; Tablespace: 
574 --
575
576 CREATE TABLE keep_disks (
577     id integer NOT NULL,
578     uuid character varying(255) NOT NULL,
579     owner_uuid character varying(255) NOT NULL,
580     modified_by_client_uuid character varying(255),
581     modified_by_user_uuid character varying(255),
582     modified_at timestamp without time zone,
583     ping_secret character varying(255) NOT NULL,
584     node_uuid character varying(255),
585     filesystem_uuid character varying(255),
586     bytes_total integer,
587     bytes_free integer,
588     is_readable boolean DEFAULT true NOT NULL,
589     is_writable boolean DEFAULT true NOT NULL,
590     last_read_at timestamp without time zone,
591     last_write_at timestamp without time zone,
592     last_ping_at timestamp without time zone,
593     created_at timestamp without time zone NOT NULL,
594     updated_at timestamp without time zone NOT NULL,
595     keep_service_uuid character varying(255)
596 );
597
598
599 --
600 -- Name: keep_disks_id_seq; Type: SEQUENCE; Schema: public; Owner: -
601 --
602
603 CREATE SEQUENCE keep_disks_id_seq
604     START WITH 1
605     INCREMENT BY 1
606     NO MINVALUE
607     NO MAXVALUE
608     CACHE 1;
609
610
611 --
612 -- Name: keep_disks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
613 --
614
615 ALTER SEQUENCE keep_disks_id_seq OWNED BY keep_disks.id;
616
617
618 --
619 -- Name: keep_services; Type: TABLE; Schema: public; Owner: -; Tablespace: 
620 --
621
622 CREATE TABLE keep_services (
623     id integer NOT NULL,
624     uuid character varying(255) NOT NULL,
625     owner_uuid character varying(255) NOT NULL,
626     modified_by_client_uuid character varying(255),
627     modified_by_user_uuid character varying(255),
628     modified_at timestamp without time zone,
629     service_host character varying(255),
630     service_port integer,
631     service_ssl_flag boolean,
632     service_type character varying(255),
633     created_at timestamp without time zone NOT NULL,
634     updated_at timestamp without time zone NOT NULL,
635     read_only boolean DEFAULT false NOT NULL
636 );
637
638
639 --
640 -- Name: keep_services_id_seq; Type: SEQUENCE; Schema: public; Owner: -
641 --
642
643 CREATE SEQUENCE keep_services_id_seq
644     START WITH 1
645     INCREMENT BY 1
646     NO MINVALUE
647     NO MAXVALUE
648     CACHE 1;
649
650
651 --
652 -- Name: keep_services_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
653 --
654
655 ALTER SEQUENCE keep_services_id_seq OWNED BY keep_services.id;
656
657
658 --
659 -- Name: links; Type: TABLE; Schema: public; Owner: -; Tablespace: 
660 --
661
662 CREATE TABLE links (
663     id integer NOT NULL,
664     uuid character varying(255),
665     owner_uuid character varying(255),
666     created_at timestamp without time zone NOT NULL,
667     modified_by_client_uuid character varying(255),
668     modified_by_user_uuid character varying(255),
669     modified_at timestamp without time zone,
670     tail_uuid character varying(255),
671     link_class character varying(255),
672     name character varying(255),
673     head_uuid character varying(255),
674     properties text,
675     updated_at timestamp without time zone NOT NULL
676 );
677
678
679 --
680 -- Name: links_id_seq; Type: SEQUENCE; Schema: public; Owner: -
681 --
682
683 CREATE SEQUENCE links_id_seq
684     START WITH 1
685     INCREMENT BY 1
686     NO MINVALUE
687     NO MAXVALUE
688     CACHE 1;
689
690
691 --
692 -- Name: links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
693 --
694
695 ALTER SEQUENCE links_id_seq OWNED BY links.id;
696
697
698 --
699 -- Name: logs; Type: TABLE; Schema: public; Owner: -; Tablespace: 
700 --
701
702 CREATE TABLE logs (
703     id integer NOT NULL,
704     uuid character varying(255),
705     owner_uuid character varying(255),
706     modified_by_client_uuid character varying(255),
707     modified_by_user_uuid character varying(255),
708     object_uuid character varying(255),
709     event_at timestamp without time zone,
710     event_type character varying(255),
711     summary text,
712     properties text,
713     created_at timestamp without time zone NOT NULL,
714     updated_at timestamp without time zone NOT NULL,
715     modified_at timestamp without time zone,
716     object_owner_uuid character varying(255)
717 );
718
719
720 --
721 -- Name: logs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
722 --
723
724 CREATE SEQUENCE logs_id_seq
725     START WITH 1
726     INCREMENT BY 1
727     NO MINVALUE
728     NO MAXVALUE
729     CACHE 1;
730
731
732 --
733 -- Name: logs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
734 --
735
736 ALTER SEQUENCE logs_id_seq OWNED BY logs.id;
737
738
739 --
740 -- Name: nodes; Type: TABLE; Schema: public; Owner: -; Tablespace: 
741 --
742
743 CREATE TABLE nodes (
744     id integer NOT NULL,
745     uuid character varying(255),
746     owner_uuid character varying(255),
747     created_at timestamp without time zone NOT NULL,
748     modified_by_client_uuid character varying(255),
749     modified_by_user_uuid character varying(255),
750     modified_at timestamp without time zone,
751     slot_number integer,
752     hostname character varying(255),
753     domain character varying(255),
754     ip_address character varying(255),
755     first_ping_at timestamp without time zone,
756     last_ping_at timestamp without time zone,
757     info text,
758     updated_at timestamp without time zone NOT NULL,
759     properties text,
760     job_uuid character varying(255)
761 );
762
763
764 --
765 -- Name: nodes_id_seq; Type: SEQUENCE; Schema: public; Owner: -
766 --
767
768 CREATE SEQUENCE nodes_id_seq
769     START WITH 1
770     INCREMENT BY 1
771     NO MINVALUE
772     NO MAXVALUE
773     CACHE 1;
774
775
776 --
777 -- Name: nodes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
778 --
779
780 ALTER SEQUENCE nodes_id_seq OWNED BY nodes.id;
781
782
783 --
784 -- Name: pipeline_instances; Type: TABLE; Schema: public; Owner: -; Tablespace: 
785 --
786
787 CREATE TABLE pipeline_instances (
788     id integer NOT NULL,
789     uuid character varying(255),
790     owner_uuid character varying(255),
791     created_at timestamp without time zone NOT NULL,
792     modified_by_client_uuid character varying(255),
793     modified_by_user_uuid character varying(255),
794     modified_at timestamp without time zone,
795     pipeline_template_uuid character varying(255),
796     name character varying(255),
797     components text,
798     updated_at timestamp without time zone NOT NULL,
799     properties text,
800     state character varying(255),
801     components_summary text,
802     started_at timestamp without time zone,
803     finished_at timestamp without time zone,
804     description character varying(524288)
805 );
806
807
808 --
809 -- Name: pipeline_instances_id_seq; Type: SEQUENCE; Schema: public; Owner: -
810 --
811
812 CREATE SEQUENCE pipeline_instances_id_seq
813     START WITH 1
814     INCREMENT BY 1
815     NO MINVALUE
816     NO MAXVALUE
817     CACHE 1;
818
819
820 --
821 -- Name: pipeline_instances_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
822 --
823
824 ALTER SEQUENCE pipeline_instances_id_seq OWNED BY pipeline_instances.id;
825
826
827 --
828 -- Name: pipeline_templates; Type: TABLE; Schema: public; Owner: -; Tablespace: 
829 --
830
831 CREATE TABLE pipeline_templates (
832     id integer NOT NULL,
833     uuid character varying(255),
834     owner_uuid character varying(255),
835     created_at timestamp without time zone NOT NULL,
836     modified_by_client_uuid character varying(255),
837     modified_by_user_uuid character varying(255),
838     modified_at timestamp without time zone,
839     name character varying(255),
840     components text,
841     updated_at timestamp without time zone NOT NULL,
842     description character varying(524288)
843 );
844
845
846 --
847 -- Name: pipeline_templates_id_seq; Type: SEQUENCE; Schema: public; Owner: -
848 --
849
850 CREATE SEQUENCE pipeline_templates_id_seq
851     START WITH 1
852     INCREMENT BY 1
853     NO MINVALUE
854     NO MAXVALUE
855     CACHE 1;
856
857
858 --
859 -- Name: pipeline_templates_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
860 --
861
862 ALTER SEQUENCE pipeline_templates_id_seq OWNED BY pipeline_templates.id;
863
864
865 --
866 -- Name: repositories; Type: TABLE; Schema: public; Owner: -; Tablespace: 
867 --
868
869 CREATE TABLE repositories (
870     id integer NOT NULL,
871     uuid character varying(255) NOT NULL,
872     owner_uuid character varying(255) NOT NULL,
873     modified_by_client_uuid character varying(255),
874     modified_by_user_uuid character varying(255),
875     modified_at timestamp without time zone,
876     name character varying(255),
877     created_at timestamp without time zone NOT NULL,
878     updated_at timestamp without time zone NOT NULL
879 );
880
881
882 --
883 -- Name: repositories_id_seq; Type: SEQUENCE; Schema: public; Owner: -
884 --
885
886 CREATE SEQUENCE repositories_id_seq
887     START WITH 1
888     INCREMENT BY 1
889     NO MINVALUE
890     NO MAXVALUE
891     CACHE 1;
892
893
894 --
895 -- Name: repositories_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
896 --
897
898 ALTER SEQUENCE repositories_id_seq OWNED BY repositories.id;
899
900
901 --
902 -- Name: schema_migrations; Type: TABLE; Schema: public; Owner: -; Tablespace: 
903 --
904
905 CREATE TABLE schema_migrations (
906     version character varying(255) NOT NULL
907 );
908
909
910 --
911 -- Name: specimens; Type: TABLE; Schema: public; Owner: -; Tablespace: 
912 --
913
914 CREATE TABLE specimens (
915     id integer NOT NULL,
916     uuid character varying(255),
917     owner_uuid character varying(255),
918     created_at timestamp without time zone NOT NULL,
919     modified_by_client_uuid character varying(255),
920     modified_by_user_uuid character varying(255),
921     modified_at timestamp without time zone,
922     material character varying(255),
923     updated_at timestamp without time zone NOT NULL,
924     properties text
925 );
926
927
928 --
929 -- Name: specimens_id_seq; Type: SEQUENCE; Schema: public; Owner: -
930 --
931
932 CREATE SEQUENCE specimens_id_seq
933     START WITH 1
934     INCREMENT BY 1
935     NO MINVALUE
936     NO MAXVALUE
937     CACHE 1;
938
939
940 --
941 -- Name: specimens_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
942 --
943
944 ALTER SEQUENCE specimens_id_seq OWNED BY specimens.id;
945
946
947 --
948 -- Name: traits; Type: TABLE; Schema: public; Owner: -; Tablespace: 
949 --
950
951 CREATE TABLE traits (
952     id integer NOT NULL,
953     uuid character varying(255) NOT NULL,
954     owner_uuid character varying(255) NOT NULL,
955     modified_by_client_uuid character varying(255),
956     modified_by_user_uuid character varying(255),
957     modified_at timestamp without time zone,
958     name character varying(255),
959     properties text,
960     created_at timestamp without time zone NOT NULL,
961     updated_at timestamp without time zone NOT NULL
962 );
963
964
965 --
966 -- Name: traits_id_seq; Type: SEQUENCE; Schema: public; Owner: -
967 --
968
969 CREATE SEQUENCE traits_id_seq
970     START WITH 1
971     INCREMENT BY 1
972     NO MINVALUE
973     NO MAXVALUE
974     CACHE 1;
975
976
977 --
978 -- Name: traits_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
979 --
980
981 ALTER SEQUENCE traits_id_seq OWNED BY traits.id;
982
983
984 --
985 -- Name: users; Type: TABLE; Schema: public; Owner: -; Tablespace: 
986 --
987
988 CREATE TABLE users (
989     id integer NOT NULL,
990     uuid character varying(255),
991     owner_uuid character varying(255) NOT NULL,
992     created_at timestamp without time zone NOT NULL,
993     modified_by_client_uuid character varying(255),
994     modified_by_user_uuid character varying(255),
995     modified_at timestamp without time zone,
996     email character varying(255),
997     first_name character varying(255),
998     last_name character varying(255),
999     identity_url character varying(255),
1000     is_admin boolean,
1001     prefs text,
1002     updated_at timestamp without time zone NOT NULL,
1003     default_owner_uuid character varying(255),
1004     is_active boolean DEFAULT false,
1005     username character varying(255)
1006 );
1007
1008
1009 --
1010 -- Name: users_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1011 --
1012
1013 CREATE SEQUENCE users_id_seq
1014     START WITH 1
1015     INCREMENT BY 1
1016     NO MINVALUE
1017     NO MAXVALUE
1018     CACHE 1;
1019
1020
1021 --
1022 -- Name: users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1023 --
1024
1025 ALTER SEQUENCE users_id_seq OWNED BY users.id;
1026
1027
1028 --
1029 -- Name: virtual_machines; Type: TABLE; Schema: public; Owner: -; Tablespace: 
1030 --
1031
1032 CREATE TABLE virtual_machines (
1033     id integer NOT NULL,
1034     uuid character varying(255) NOT NULL,
1035     owner_uuid character varying(255) NOT NULL,
1036     modified_by_client_uuid character varying(255),
1037     modified_by_user_uuid character varying(255),
1038     modified_at timestamp without time zone,
1039     hostname character varying(255),
1040     created_at timestamp without time zone NOT NULL,
1041     updated_at timestamp without time zone NOT NULL
1042 );
1043
1044
1045 --
1046 -- Name: virtual_machines_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1047 --
1048
1049 CREATE SEQUENCE virtual_machines_id_seq
1050     START WITH 1
1051     INCREMENT BY 1
1052     NO MINVALUE
1053     NO MAXVALUE
1054     CACHE 1;
1055
1056
1057 --
1058 -- Name: virtual_machines_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1059 --
1060
1061 ALTER SEQUENCE virtual_machines_id_seq OWNED BY virtual_machines.id;
1062
1063
1064 --
1065 -- Name: workflows; Type: TABLE; Schema: public; Owner: -; Tablespace: 
1066 --
1067
1068 CREATE TABLE workflows (
1069     id integer NOT NULL,
1070     uuid character varying(255),
1071     owner_uuid character varying(255),
1072     created_at timestamp without time zone NOT NULL,
1073     modified_at timestamp without time zone,
1074     modified_by_client_uuid character varying(255),
1075     modified_by_user_uuid character varying(255),
1076     name character varying(255),
1077     description text,
1078     definition text,
1079     updated_at timestamp without time zone NOT NULL
1080 );
1081
1082
1083 --
1084 -- Name: workflows_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1085 --
1086
1087 CREATE SEQUENCE workflows_id_seq
1088     START WITH 1
1089     INCREMENT BY 1
1090     NO MINVALUE
1091     NO MAXVALUE
1092     CACHE 1;
1093
1094
1095 --
1096 -- Name: workflows_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1097 --
1098
1099 ALTER SEQUENCE workflows_id_seq OWNED BY workflows.id;
1100
1101
1102 --
1103 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1104 --
1105
1106 ALTER TABLE ONLY api_client_authorizations ALTER COLUMN id SET DEFAULT nextval('api_client_authorizations_id_seq'::regclass);
1107
1108
1109 --
1110 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1111 --
1112
1113 ALTER TABLE ONLY api_clients ALTER COLUMN id SET DEFAULT nextval('api_clients_id_seq'::regclass);
1114
1115
1116 --
1117 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1118 --
1119
1120 ALTER TABLE ONLY authorized_keys ALTER COLUMN id SET DEFAULT nextval('authorized_keys_id_seq'::regclass);
1121
1122
1123 --
1124 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1125 --
1126
1127 ALTER TABLE ONLY collections ALTER COLUMN id SET DEFAULT nextval('collections_id_seq'::regclass);
1128
1129
1130 --
1131 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1132 --
1133
1134 ALTER TABLE ONLY commit_ancestors ALTER COLUMN id SET DEFAULT nextval('commit_ancestors_id_seq'::regclass);
1135
1136
1137 --
1138 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1139 --
1140
1141 ALTER TABLE ONLY commits ALTER COLUMN id SET DEFAULT nextval('commits_id_seq'::regclass);
1142
1143
1144 --
1145 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1146 --
1147
1148 ALTER TABLE ONLY container_requests ALTER COLUMN id SET DEFAULT nextval('container_requests_id_seq'::regclass);
1149
1150
1151 --
1152 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1153 --
1154
1155 ALTER TABLE ONLY containers ALTER COLUMN id SET DEFAULT nextval('containers_id_seq'::regclass);
1156
1157
1158 --
1159 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1160 --
1161
1162 ALTER TABLE ONLY groups ALTER COLUMN id SET DEFAULT nextval('groups_id_seq'::regclass);
1163
1164
1165 --
1166 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1167 --
1168
1169 ALTER TABLE ONLY humans ALTER COLUMN id SET DEFAULT nextval('humans_id_seq'::regclass);
1170
1171
1172 --
1173 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1174 --
1175
1176 ALTER TABLE ONLY job_tasks ALTER COLUMN id SET DEFAULT nextval('job_tasks_id_seq'::regclass);
1177
1178
1179 --
1180 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1181 --
1182
1183 ALTER TABLE ONLY jobs ALTER COLUMN id SET DEFAULT nextval('jobs_id_seq'::regclass);
1184
1185
1186 --
1187 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1188 --
1189
1190 ALTER TABLE ONLY keep_disks ALTER COLUMN id SET DEFAULT nextval('keep_disks_id_seq'::regclass);
1191
1192
1193 --
1194 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1195 --
1196
1197 ALTER TABLE ONLY keep_services ALTER COLUMN id SET DEFAULT nextval('keep_services_id_seq'::regclass);
1198
1199
1200 --
1201 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1202 --
1203
1204 ALTER TABLE ONLY links ALTER COLUMN id SET DEFAULT nextval('links_id_seq'::regclass);
1205
1206
1207 --
1208 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1209 --
1210
1211 ALTER TABLE ONLY logs ALTER COLUMN id SET DEFAULT nextval('logs_id_seq'::regclass);
1212
1213
1214 --
1215 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1216 --
1217
1218 ALTER TABLE ONLY nodes ALTER COLUMN id SET DEFAULT nextval('nodes_id_seq'::regclass);
1219
1220
1221 --
1222 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1223 --
1224
1225 ALTER TABLE ONLY pipeline_instances ALTER COLUMN id SET DEFAULT nextval('pipeline_instances_id_seq'::regclass);
1226
1227
1228 --
1229 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1230 --
1231
1232 ALTER TABLE ONLY pipeline_templates ALTER COLUMN id SET DEFAULT nextval('pipeline_templates_id_seq'::regclass);
1233
1234
1235 --
1236 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1237 --
1238
1239 ALTER TABLE ONLY repositories ALTER COLUMN id SET DEFAULT nextval('repositories_id_seq'::regclass);
1240
1241
1242 --
1243 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1244 --
1245
1246 ALTER TABLE ONLY specimens ALTER COLUMN id SET DEFAULT nextval('specimens_id_seq'::regclass);
1247
1248
1249 --
1250 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1251 --
1252
1253 ALTER TABLE ONLY traits ALTER COLUMN id SET DEFAULT nextval('traits_id_seq'::regclass);
1254
1255
1256 --
1257 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1258 --
1259
1260 ALTER TABLE ONLY users ALTER COLUMN id SET DEFAULT nextval('users_id_seq'::regclass);
1261
1262
1263 --
1264 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1265 --
1266
1267 ALTER TABLE ONLY virtual_machines ALTER COLUMN id SET DEFAULT nextval('virtual_machines_id_seq'::regclass);
1268
1269
1270 --
1271 -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1272 --
1273
1274 ALTER TABLE ONLY workflows ALTER COLUMN id SET DEFAULT nextval('workflows_id_seq'::regclass);
1275
1276
1277 --
1278 -- Name: api_client_authorizations_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
1279 --
1280
1281 ALTER TABLE ONLY api_client_authorizations
1282     ADD CONSTRAINT api_client_authorizations_pkey PRIMARY KEY (id);
1283
1284
1285 --
1286 -- Name: api_clients_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
1287 --
1288
1289 ALTER TABLE ONLY api_clients
1290     ADD CONSTRAINT api_clients_pkey PRIMARY KEY (id);
1291
1292
1293 --
1294 -- Name: authorized_keys_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
1295 --
1296
1297 ALTER TABLE ONLY authorized_keys
1298     ADD CONSTRAINT authorized_keys_pkey PRIMARY KEY (id);
1299
1300
1301 --
1302 -- Name: collections_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
1303 --
1304
1305 ALTER TABLE ONLY collections
1306     ADD CONSTRAINT collections_pkey PRIMARY KEY (id);
1307
1308
1309 --
1310 -- Name: commit_ancestors_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
1311 --
1312
1313 ALTER TABLE ONLY commit_ancestors
1314     ADD CONSTRAINT commit_ancestors_pkey PRIMARY KEY (id);
1315
1316
1317 --
1318 -- Name: commits_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
1319 --
1320
1321 ALTER TABLE ONLY commits
1322     ADD CONSTRAINT commits_pkey PRIMARY KEY (id);
1323
1324
1325 --
1326 -- Name: container_requests_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
1327 --
1328
1329 ALTER TABLE ONLY container_requests
1330     ADD CONSTRAINT container_requests_pkey PRIMARY KEY (id);
1331
1332
1333 --
1334 -- Name: containers_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
1335 --
1336
1337 ALTER TABLE ONLY containers
1338     ADD CONSTRAINT containers_pkey PRIMARY KEY (id);
1339
1340
1341 --
1342 -- Name: groups_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
1343 --
1344
1345 ALTER TABLE ONLY groups
1346     ADD CONSTRAINT groups_pkey PRIMARY KEY (id);
1347
1348
1349 --
1350 -- Name: humans_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
1351 --
1352
1353 ALTER TABLE ONLY humans
1354     ADD CONSTRAINT humans_pkey PRIMARY KEY (id);
1355
1356
1357 --
1358 -- Name: job_tasks_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
1359 --
1360
1361 ALTER TABLE ONLY job_tasks
1362     ADD CONSTRAINT job_tasks_pkey PRIMARY KEY (id);
1363
1364
1365 --
1366 -- Name: jobs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
1367 --
1368
1369 ALTER TABLE ONLY jobs
1370     ADD CONSTRAINT jobs_pkey PRIMARY KEY (id);
1371
1372
1373 --
1374 -- Name: keep_disks_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
1375 --
1376
1377 ALTER TABLE ONLY keep_disks
1378     ADD CONSTRAINT keep_disks_pkey PRIMARY KEY (id);
1379
1380
1381 --
1382 -- Name: keep_services_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
1383 --
1384
1385 ALTER TABLE ONLY keep_services
1386     ADD CONSTRAINT keep_services_pkey PRIMARY KEY (id);
1387
1388
1389 --
1390 -- Name: links_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
1391 --
1392
1393 ALTER TABLE ONLY links
1394     ADD CONSTRAINT links_pkey PRIMARY KEY (id);
1395
1396
1397 --
1398 -- Name: logs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
1399 --
1400
1401 ALTER TABLE ONLY logs
1402     ADD CONSTRAINT logs_pkey PRIMARY KEY (id);
1403
1404
1405 --
1406 -- Name: nodes_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
1407 --
1408
1409 ALTER TABLE ONLY nodes
1410     ADD CONSTRAINT nodes_pkey PRIMARY KEY (id);
1411
1412
1413 --
1414 -- Name: pipeline_instances_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
1415 --
1416
1417 ALTER TABLE ONLY pipeline_instances
1418     ADD CONSTRAINT pipeline_instances_pkey PRIMARY KEY (id);
1419
1420
1421 --
1422 -- Name: pipeline_templates_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
1423 --
1424
1425 ALTER TABLE ONLY pipeline_templates
1426     ADD CONSTRAINT pipeline_templates_pkey PRIMARY KEY (id);
1427
1428
1429 --
1430 -- Name: repositories_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
1431 --
1432
1433 ALTER TABLE ONLY repositories
1434     ADD CONSTRAINT repositories_pkey PRIMARY KEY (id);
1435
1436
1437 --
1438 -- Name: specimens_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
1439 --
1440
1441 ALTER TABLE ONLY specimens
1442     ADD CONSTRAINT specimens_pkey PRIMARY KEY (id);
1443
1444
1445 --
1446 -- Name: traits_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
1447 --
1448
1449 ALTER TABLE ONLY traits
1450     ADD CONSTRAINT traits_pkey PRIMARY KEY (id);
1451
1452
1453 --
1454 -- Name: users_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
1455 --
1456
1457 ALTER TABLE ONLY users
1458     ADD CONSTRAINT users_pkey PRIMARY KEY (id);
1459
1460
1461 --
1462 -- Name: virtual_machines_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
1463 --
1464
1465 ALTER TABLE ONLY virtual_machines
1466     ADD CONSTRAINT virtual_machines_pkey PRIMARY KEY (id);
1467
1468
1469 --
1470 -- Name: workflows_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
1471 --
1472
1473 ALTER TABLE ONLY workflows
1474     ADD CONSTRAINT workflows_pkey PRIMARY KEY (id);
1475
1476
1477 --
1478 -- Name: api_client_authorizations_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1479 --
1480
1481 CREATE INDEX api_client_authorizations_search_index ON api_client_authorizations USING btree (api_token, created_by_ip_address, last_used_by_ip_address, default_owner_uuid, uuid);
1482
1483
1484 --
1485 -- Name: api_clients_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1486 --
1487
1488 CREATE INDEX api_clients_search_index ON api_clients USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name, url_prefix);
1489
1490
1491 --
1492 -- Name: authorized_keys_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1493 --
1494
1495 CREATE INDEX authorized_keys_search_index ON authorized_keys USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name, key_type, authorized_user_uuid);
1496
1497
1498 --
1499 -- Name: collection_owner_uuid_name_unique; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1500 --
1501
1502 CREATE UNIQUE INDEX collection_owner_uuid_name_unique ON collections USING btree (owner_uuid, name) WHERE (expires_at IS NULL);
1503
1504
1505 --
1506 -- Name: collections_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1507 --
1508
1509 CREATE INDEX collections_full_text_search_idx ON collections USING gin (to_tsvector('english'::regconfig, (((((((((((((((((COALESCE(owner_uuid, ''::character varying))::text || ' '::text) || (COALESCE(modified_by_client_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_user_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(portable_data_hash, ''::character varying))::text) || ' '::text) || (COALESCE(uuid, ''::character varying))::text) || ' '::text) || (COALESCE(name, ''::character varying))::text) || ' '::text) || (COALESCE(description, ''::character varying))::text) || ' '::text) || COALESCE(properties, ''::text)) || ' '::text) || (COALESCE(file_names, ''::character varying))::text)));
1510
1511
1512 --
1513 -- Name: collections_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1514 --
1515
1516 CREATE INDEX collections_search_index ON collections USING btree (owner_uuid, modified_by_client_uuid, modified_by_user_uuid, portable_data_hash, uuid, name);
1517
1518
1519 --
1520 -- Name: container_requests_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1521 --
1522
1523 CREATE INDEX container_requests_full_text_search_idx ON container_requests USING gin (to_tsvector('english'::regconfig, (((((((((((((((((((((((((((((((((((((((((COALESCE(uuid, ''::character varying))::text || ' '::text) || (COALESCE(owner_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_client_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_user_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(name, ''::character varying))::text) || ' '::text) || COALESCE(description, ''::text)) || ' '::text) || COALESCE(properties, ''::text)) || ' '::text) || (COALESCE(state, ''::character varying))::text) || ' '::text) || (COALESCE(requesting_container_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(container_uuid, ''::character varying))::text) || ' '::text) || COALESCE(mounts, ''::text)) || ' '::text) || COALESCE(runtime_constraints, ''::text)) || ' '::text) || (COALESCE(container_image, ''::character varying))::text) || ' '::text) || COALESCE(environment, ''::text)) || ' '::text) || (COALESCE(cwd, ''::character varying))::text) || ' '::text) || COALESCE(command, ''::text)) || ' '::text) || (COALESCE(output_path, ''::character varying))::text) || ' '::text) || COALESCE(filters, ''::text)) || ' '::text) || COALESCE(scheduling_parameters, ''::text)) || ' '::text) || (COALESCE(output_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(log_uuid, ''::character varying))::text)));
1524
1525
1526 --
1527 -- Name: container_requests_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1528 --
1529
1530 CREATE INDEX container_requests_search_index ON container_requests USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name, state, requesting_container_uuid, container_uuid, container_image, cwd, output_path, output_uuid, log_uuid);
1531
1532
1533 --
1534 -- Name: containers_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1535 --
1536
1537 CREATE INDEX containers_search_index ON containers USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, state, log, cwd, output_path, output, container_image, auth_uuid, locked_by_uuid);
1538
1539
1540 --
1541 -- Name: groups_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1542 --
1543
1544 CREATE INDEX groups_full_text_search_idx ON groups USING gin (to_tsvector('english'::regconfig, (((((((((((((COALESCE(uuid, ''::character varying))::text || ' '::text) || (COALESCE(owner_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_client_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_user_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(name, ''::character varying))::text) || ' '::text) || (COALESCE(description, ''::character varying))::text) || ' '::text) || (COALESCE(group_class, ''::character varying))::text)));
1545
1546
1547 --
1548 -- Name: groups_owner_uuid_name_unique; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1549 --
1550
1551 CREATE UNIQUE INDEX groups_owner_uuid_name_unique ON groups USING btree (owner_uuid, name);
1552
1553
1554 --
1555 -- Name: groups_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1556 --
1557
1558 CREATE INDEX groups_search_index ON groups USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name, group_class);
1559
1560
1561 --
1562 -- Name: humans_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1563 --
1564
1565 CREATE INDEX humans_search_index ON humans USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid);
1566
1567
1568 --
1569 -- Name: index_api_client_authorizations_on_api_client_id; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1570 --
1571
1572 CREATE INDEX index_api_client_authorizations_on_api_client_id ON api_client_authorizations USING btree (api_client_id);
1573
1574
1575 --
1576 -- Name: index_api_client_authorizations_on_api_token; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1577 --
1578
1579 CREATE UNIQUE INDEX index_api_client_authorizations_on_api_token ON api_client_authorizations USING btree (api_token);
1580
1581
1582 --
1583 -- Name: index_api_client_authorizations_on_expires_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1584 --
1585
1586 CREATE INDEX index_api_client_authorizations_on_expires_at ON api_client_authorizations USING btree (expires_at);
1587
1588
1589 --
1590 -- Name: index_api_client_authorizations_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1591 --
1592
1593 CREATE INDEX index_api_client_authorizations_on_user_id ON api_client_authorizations USING btree (user_id);
1594
1595
1596 --
1597 -- Name: index_api_client_authorizations_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1598 --
1599
1600 CREATE UNIQUE INDEX index_api_client_authorizations_on_uuid ON api_client_authorizations USING btree (uuid);
1601
1602
1603 --
1604 -- Name: index_api_clients_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1605 --
1606
1607 CREATE INDEX index_api_clients_on_created_at ON api_clients USING btree (created_at);
1608
1609
1610 --
1611 -- Name: index_api_clients_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1612 --
1613
1614 CREATE INDEX index_api_clients_on_modified_at ON api_clients USING btree (modified_at);
1615
1616
1617 --
1618 -- Name: index_api_clients_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1619 --
1620
1621 CREATE INDEX index_api_clients_on_owner_uuid ON api_clients USING btree (owner_uuid);
1622
1623
1624 --
1625 -- Name: index_api_clients_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1626 --
1627
1628 CREATE UNIQUE INDEX index_api_clients_on_uuid ON api_clients USING btree (uuid);
1629
1630
1631 --
1632 -- Name: index_authkeys_on_user_and_expires_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1633 --
1634
1635 CREATE INDEX index_authkeys_on_user_and_expires_at ON authorized_keys USING btree (authorized_user_uuid, expires_at);
1636
1637
1638 --
1639 -- Name: index_authorized_keys_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1640 --
1641
1642 CREATE INDEX index_authorized_keys_on_owner_uuid ON authorized_keys USING btree (owner_uuid);
1643
1644
1645 --
1646 -- Name: index_authorized_keys_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1647 --
1648
1649 CREATE UNIQUE INDEX index_authorized_keys_on_uuid ON authorized_keys USING btree (uuid);
1650
1651
1652 --
1653 -- Name: index_collections_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1654 --
1655
1656 CREATE INDEX index_collections_on_created_at ON collections USING btree (created_at);
1657
1658
1659 --
1660 -- Name: index_collections_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1661 --
1662
1663 CREATE INDEX index_collections_on_modified_at ON collections USING btree (modified_at);
1664
1665
1666 --
1667 -- Name: index_collections_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1668 --
1669
1670 CREATE INDEX index_collections_on_owner_uuid ON collections USING btree (owner_uuid);
1671
1672
1673 --
1674 -- Name: index_collections_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1675 --
1676
1677 CREATE UNIQUE INDEX index_collections_on_uuid ON collections USING btree (uuid);
1678
1679
1680 --
1681 -- Name: index_commit_ancestors_on_descendant_and_ancestor; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1682 --
1683
1684 CREATE UNIQUE INDEX index_commit_ancestors_on_descendant_and_ancestor ON commit_ancestors USING btree (descendant, ancestor);
1685
1686
1687 --
1688 -- Name: index_commits_on_repository_name_and_sha1; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1689 --
1690
1691 CREATE UNIQUE INDEX index_commits_on_repository_name_and_sha1 ON commits USING btree (repository_name, sha1);
1692
1693
1694 --
1695 -- Name: index_container_requests_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1696 --
1697
1698 CREATE INDEX index_container_requests_on_owner_uuid ON container_requests USING btree (owner_uuid);
1699
1700
1701 --
1702 -- Name: index_container_requests_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1703 --
1704
1705 CREATE UNIQUE INDEX index_container_requests_on_uuid ON container_requests USING btree (uuid);
1706
1707
1708 --
1709 -- Name: index_containers_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1710 --
1711
1712 CREATE INDEX index_containers_on_owner_uuid ON containers USING btree (owner_uuid);
1713
1714
1715 --
1716 -- Name: index_containers_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1717 --
1718
1719 CREATE UNIQUE INDEX index_containers_on_uuid ON containers USING btree (uuid);
1720
1721
1722 --
1723 -- Name: index_groups_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1724 --
1725
1726 CREATE INDEX index_groups_on_created_at ON groups USING btree (created_at);
1727
1728
1729 --
1730 -- Name: index_groups_on_group_class; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1731 --
1732
1733 CREATE INDEX index_groups_on_group_class ON groups USING btree (group_class);
1734
1735
1736 --
1737 -- Name: index_groups_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1738 --
1739
1740 CREATE INDEX index_groups_on_modified_at ON groups USING btree (modified_at);
1741
1742
1743 --
1744 -- Name: index_groups_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1745 --
1746
1747 CREATE INDEX index_groups_on_owner_uuid ON groups USING btree (owner_uuid);
1748
1749
1750 --
1751 -- Name: index_groups_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1752 --
1753
1754 CREATE UNIQUE INDEX index_groups_on_uuid ON groups USING btree (uuid);
1755
1756
1757 --
1758 -- Name: index_humans_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1759 --
1760
1761 CREATE INDEX index_humans_on_owner_uuid ON humans USING btree (owner_uuid);
1762
1763
1764 --
1765 -- Name: index_humans_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1766 --
1767
1768 CREATE UNIQUE INDEX index_humans_on_uuid ON humans USING btree (uuid);
1769
1770
1771 --
1772 -- Name: index_job_tasks_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1773 --
1774
1775 CREATE INDEX index_job_tasks_on_created_at ON job_tasks USING btree (created_at);
1776
1777
1778 --
1779 -- Name: index_job_tasks_on_job_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1780 --
1781
1782 CREATE INDEX index_job_tasks_on_job_uuid ON job_tasks USING btree (job_uuid);
1783
1784
1785 --
1786 -- Name: index_job_tasks_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1787 --
1788
1789 CREATE INDEX index_job_tasks_on_modified_at ON job_tasks USING btree (modified_at);
1790
1791
1792 --
1793 -- Name: index_job_tasks_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1794 --
1795
1796 CREATE INDEX index_job_tasks_on_owner_uuid ON job_tasks USING btree (owner_uuid);
1797
1798
1799 --
1800 -- Name: index_job_tasks_on_sequence; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1801 --
1802
1803 CREATE INDEX index_job_tasks_on_sequence ON job_tasks USING btree (sequence);
1804
1805
1806 --
1807 -- Name: index_job_tasks_on_success; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1808 --
1809
1810 CREATE INDEX index_job_tasks_on_success ON job_tasks USING btree (success);
1811
1812
1813 --
1814 -- Name: index_job_tasks_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1815 --
1816
1817 CREATE UNIQUE INDEX index_job_tasks_on_uuid ON job_tasks USING btree (uuid);
1818
1819
1820 --
1821 -- Name: index_jobs_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1822 --
1823
1824 CREATE INDEX index_jobs_on_created_at ON jobs USING btree (created_at);
1825
1826
1827 --
1828 -- Name: index_jobs_on_finished_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1829 --
1830
1831 CREATE INDEX index_jobs_on_finished_at ON jobs USING btree (finished_at);
1832
1833
1834 --
1835 -- Name: index_jobs_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1836 --
1837
1838 CREATE INDEX index_jobs_on_modified_at ON jobs USING btree (modified_at);
1839
1840
1841 --
1842 -- Name: index_jobs_on_output; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1843 --
1844
1845 CREATE INDEX index_jobs_on_output ON jobs USING btree (output);
1846
1847
1848 --
1849 -- Name: index_jobs_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1850 --
1851
1852 CREATE INDEX index_jobs_on_owner_uuid ON jobs USING btree (owner_uuid);
1853
1854
1855 --
1856 -- Name: index_jobs_on_script; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1857 --
1858
1859 CREATE INDEX index_jobs_on_script ON jobs USING btree (script);
1860
1861
1862 --
1863 -- Name: index_jobs_on_script_parameters_digest; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1864 --
1865
1866 CREATE INDEX index_jobs_on_script_parameters_digest ON jobs USING btree (script_parameters_digest);
1867
1868
1869 --
1870 -- Name: index_jobs_on_started_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1871 --
1872
1873 CREATE INDEX index_jobs_on_started_at ON jobs USING btree (started_at);
1874
1875
1876 --
1877 -- Name: index_jobs_on_submit_id; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1878 --
1879
1880 CREATE UNIQUE INDEX index_jobs_on_submit_id ON jobs USING btree (submit_id);
1881
1882
1883 --
1884 -- Name: index_jobs_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1885 --
1886
1887 CREATE UNIQUE INDEX index_jobs_on_uuid ON jobs USING btree (uuid);
1888
1889
1890 --
1891 -- Name: index_keep_disks_on_filesystem_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1892 --
1893
1894 CREATE INDEX index_keep_disks_on_filesystem_uuid ON keep_disks USING btree (filesystem_uuid);
1895
1896
1897 --
1898 -- Name: index_keep_disks_on_last_ping_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1899 --
1900
1901 CREATE INDEX index_keep_disks_on_last_ping_at ON keep_disks USING btree (last_ping_at);
1902
1903
1904 --
1905 -- Name: index_keep_disks_on_node_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1906 --
1907
1908 CREATE INDEX index_keep_disks_on_node_uuid ON keep_disks USING btree (node_uuid);
1909
1910
1911 --
1912 -- Name: index_keep_disks_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1913 --
1914
1915 CREATE INDEX index_keep_disks_on_owner_uuid ON keep_disks USING btree (owner_uuid);
1916
1917
1918 --
1919 -- Name: index_keep_disks_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1920 --
1921
1922 CREATE UNIQUE INDEX index_keep_disks_on_uuid ON keep_disks USING btree (uuid);
1923
1924
1925 --
1926 -- Name: index_keep_services_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1927 --
1928
1929 CREATE INDEX index_keep_services_on_owner_uuid ON keep_services USING btree (owner_uuid);
1930
1931
1932 --
1933 -- Name: index_keep_services_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1934 --
1935
1936 CREATE UNIQUE INDEX index_keep_services_on_uuid ON keep_services USING btree (uuid);
1937
1938
1939 --
1940 -- Name: index_links_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1941 --
1942
1943 CREATE INDEX index_links_on_created_at ON links USING btree (created_at);
1944
1945
1946 --
1947 -- Name: index_links_on_head_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1948 --
1949
1950 CREATE INDEX index_links_on_head_uuid ON links USING btree (head_uuid);
1951
1952
1953 --
1954 -- Name: index_links_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1955 --
1956
1957 CREATE INDEX index_links_on_modified_at ON links USING btree (modified_at);
1958
1959
1960 --
1961 -- Name: index_links_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1962 --
1963
1964 CREATE INDEX index_links_on_owner_uuid ON links USING btree (owner_uuid);
1965
1966
1967 --
1968 -- Name: index_links_on_tail_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1969 --
1970
1971 CREATE INDEX index_links_on_tail_uuid ON links USING btree (tail_uuid);
1972
1973
1974 --
1975 -- Name: index_links_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1976 --
1977
1978 CREATE UNIQUE INDEX index_links_on_uuid ON links USING btree (uuid);
1979
1980
1981 --
1982 -- Name: index_logs_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1983 --
1984
1985 CREATE INDEX index_logs_on_created_at ON logs USING btree (created_at);
1986
1987
1988 --
1989 -- Name: index_logs_on_event_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1990 --
1991
1992 CREATE INDEX index_logs_on_event_at ON logs USING btree (event_at);
1993
1994
1995 --
1996 -- Name: index_logs_on_event_type; Type: INDEX; Schema: public; Owner: -; Tablespace: 
1997 --
1998
1999 CREATE INDEX index_logs_on_event_type ON logs USING btree (event_type);
2000
2001
2002 --
2003 -- Name: index_logs_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2004 --
2005
2006 CREATE INDEX index_logs_on_modified_at ON logs USING btree (modified_at);
2007
2008
2009 --
2010 -- Name: index_logs_on_object_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2011 --
2012
2013 CREATE INDEX index_logs_on_object_uuid ON logs USING btree (object_uuid);
2014
2015
2016 --
2017 -- Name: index_logs_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2018 --
2019
2020 CREATE INDEX index_logs_on_owner_uuid ON logs USING btree (owner_uuid);
2021
2022
2023 --
2024 -- Name: index_logs_on_summary; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2025 --
2026
2027 CREATE INDEX index_logs_on_summary ON logs USING btree (summary);
2028
2029
2030 --
2031 -- Name: index_logs_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2032 --
2033
2034 CREATE UNIQUE INDEX index_logs_on_uuid ON logs USING btree (uuid);
2035
2036
2037 --
2038 -- Name: index_nodes_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2039 --
2040
2041 CREATE INDEX index_nodes_on_created_at ON nodes USING btree (created_at);
2042
2043
2044 --
2045 -- Name: index_nodes_on_hostname; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2046 --
2047
2048 CREATE INDEX index_nodes_on_hostname ON nodes USING btree (hostname);
2049
2050
2051 --
2052 -- Name: index_nodes_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2053 --
2054
2055 CREATE INDEX index_nodes_on_modified_at ON nodes USING btree (modified_at);
2056
2057
2058 --
2059 -- Name: index_nodes_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2060 --
2061
2062 CREATE INDEX index_nodes_on_owner_uuid ON nodes USING btree (owner_uuid);
2063
2064
2065 --
2066 -- Name: index_nodes_on_slot_number; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2067 --
2068
2069 CREATE UNIQUE INDEX index_nodes_on_slot_number ON nodes USING btree (slot_number);
2070
2071
2072 --
2073 -- Name: index_nodes_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2074 --
2075
2076 CREATE UNIQUE INDEX index_nodes_on_uuid ON nodes USING btree (uuid);
2077
2078
2079 --
2080 -- Name: index_pipeline_instances_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2081 --
2082
2083 CREATE INDEX index_pipeline_instances_on_created_at ON pipeline_instances USING btree (created_at);
2084
2085
2086 --
2087 -- Name: index_pipeline_instances_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2088 --
2089
2090 CREATE INDEX index_pipeline_instances_on_modified_at ON pipeline_instances USING btree (modified_at);
2091
2092
2093 --
2094 -- Name: index_pipeline_instances_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2095 --
2096
2097 CREATE INDEX index_pipeline_instances_on_owner_uuid ON pipeline_instances USING btree (owner_uuid);
2098
2099
2100 --
2101 -- Name: index_pipeline_instances_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2102 --
2103
2104 CREATE UNIQUE INDEX index_pipeline_instances_on_uuid ON pipeline_instances USING btree (uuid);
2105
2106
2107 --
2108 -- Name: index_pipeline_templates_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2109 --
2110
2111 CREATE INDEX index_pipeline_templates_on_created_at ON pipeline_templates USING btree (created_at);
2112
2113
2114 --
2115 -- Name: index_pipeline_templates_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2116 --
2117
2118 CREATE INDEX index_pipeline_templates_on_modified_at ON pipeline_templates USING btree (modified_at);
2119
2120
2121 --
2122 -- Name: index_pipeline_templates_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2123 --
2124
2125 CREATE INDEX index_pipeline_templates_on_owner_uuid ON pipeline_templates USING btree (owner_uuid);
2126
2127
2128 --
2129 -- Name: index_pipeline_templates_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2130 --
2131
2132 CREATE UNIQUE INDEX index_pipeline_templates_on_uuid ON pipeline_templates USING btree (uuid);
2133
2134
2135 --
2136 -- Name: index_repositories_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2137 --
2138
2139 CREATE UNIQUE INDEX index_repositories_on_name ON repositories USING btree (name);
2140
2141
2142 --
2143 -- Name: index_repositories_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2144 --
2145
2146 CREATE INDEX index_repositories_on_owner_uuid ON repositories USING btree (owner_uuid);
2147
2148
2149 --
2150 -- Name: index_repositories_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2151 --
2152
2153 CREATE UNIQUE INDEX index_repositories_on_uuid ON repositories USING btree (uuid);
2154
2155
2156 --
2157 -- Name: index_specimens_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2158 --
2159
2160 CREATE INDEX index_specimens_on_created_at ON specimens USING btree (created_at);
2161
2162
2163 --
2164 -- Name: index_specimens_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2165 --
2166
2167 CREATE INDEX index_specimens_on_modified_at ON specimens USING btree (modified_at);
2168
2169
2170 --
2171 -- Name: index_specimens_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2172 --
2173
2174 CREATE INDEX index_specimens_on_owner_uuid ON specimens USING btree (owner_uuid);
2175
2176
2177 --
2178 -- Name: index_specimens_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2179 --
2180
2181 CREATE UNIQUE INDEX index_specimens_on_uuid ON specimens USING btree (uuid);
2182
2183
2184 --
2185 -- Name: index_traits_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2186 --
2187
2188 CREATE INDEX index_traits_on_name ON traits USING btree (name);
2189
2190
2191 --
2192 -- Name: index_traits_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2193 --
2194
2195 CREATE INDEX index_traits_on_owner_uuid ON traits USING btree (owner_uuid);
2196
2197
2198 --
2199 -- Name: index_traits_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2200 --
2201
2202 CREATE UNIQUE INDEX index_traits_on_uuid ON traits USING btree (uuid);
2203
2204
2205 --
2206 -- Name: index_users_on_created_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2207 --
2208
2209 CREATE INDEX index_users_on_created_at ON users USING btree (created_at);
2210
2211
2212 --
2213 -- Name: index_users_on_modified_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2214 --
2215
2216 CREATE INDEX index_users_on_modified_at ON users USING btree (modified_at);
2217
2218
2219 --
2220 -- Name: index_users_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2221 --
2222
2223 CREATE INDEX index_users_on_owner_uuid ON users USING btree (owner_uuid);
2224
2225
2226 --
2227 -- Name: index_users_on_username; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2228 --
2229
2230 CREATE UNIQUE INDEX index_users_on_username ON users USING btree (username);
2231
2232
2233 --
2234 -- Name: index_users_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2235 --
2236
2237 CREATE UNIQUE INDEX index_users_on_uuid ON users USING btree (uuid);
2238
2239
2240 --
2241 -- Name: index_virtual_machines_on_hostname; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2242 --
2243
2244 CREATE INDEX index_virtual_machines_on_hostname ON virtual_machines USING btree (hostname);
2245
2246
2247 --
2248 -- Name: index_virtual_machines_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2249 --
2250
2251 CREATE INDEX index_virtual_machines_on_owner_uuid ON virtual_machines USING btree (owner_uuid);
2252
2253
2254 --
2255 -- Name: index_virtual_machines_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2256 --
2257
2258 CREATE UNIQUE INDEX index_virtual_machines_on_uuid ON virtual_machines USING btree (uuid);
2259
2260
2261 --
2262 -- Name: index_workflows_on_owner_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2263 --
2264
2265 CREATE INDEX index_workflows_on_owner_uuid ON workflows USING btree (owner_uuid);
2266
2267
2268 --
2269 -- Name: index_workflows_on_uuid; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2270 --
2271
2272 CREATE UNIQUE INDEX index_workflows_on_uuid ON workflows USING btree (uuid);
2273
2274
2275 --
2276 -- Name: job_tasks_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2277 --
2278
2279 CREATE INDEX job_tasks_search_index ON job_tasks USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, job_uuid, created_by_job_task_uuid);
2280
2281
2282 --
2283 -- Name: jobs_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2284 --
2285
2286 CREATE INDEX jobs_full_text_search_idx ON jobs USING gin (to_tsvector('english'::regconfig, (((((((((((((((((((((((((((((((((((((((((((COALESCE(uuid, ''::character varying))::text || ' '::text) || (COALESCE(owner_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_client_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_user_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(submit_id, ''::character varying))::text) || ' '::text) || (COALESCE(script, ''::character varying))::text) || ' '::text) || (COALESCE(script_version, ''::character varying))::text) || ' '::text) || COALESCE(script_parameters, ''::text)) || ' '::text) || (COALESCE(cancelled_by_client_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(cancelled_by_user_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(output, ''::character varying))::text) || ' '::text) || (COALESCE(is_locked_by_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(log, ''::character varying))::text) || ' '::text) || COALESCE(tasks_summary, ''::text)) || ' '::text) || COALESCE(runtime_constraints, ''::text)) || ' '::text) || (COALESCE(repository, ''::character varying))::text) || ' '::text) || (COALESCE(supplied_script_version, ''::character varying))::text) || ' '::text) || (COALESCE(docker_image_locator, ''::character varying))::text) || ' '::text) || (COALESCE(description, ''::character varying))::text) || ' '::text) || (COALESCE(state, ''::character varying))::text) || ' '::text) || (COALESCE(arvados_sdk_version, ''::character varying))::text) || ' '::text) || COALESCE(components, ''::text))));
2287
2288
2289 --
2290 -- Name: jobs_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2291 --
2292
2293 CREATE INDEX jobs_search_index ON jobs USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, submit_id, script, script_version, cancelled_by_client_uuid, cancelled_by_user_uuid, output, is_locked_by_uuid, log, repository, supplied_script_version, docker_image_locator, state, arvados_sdk_version);
2294
2295
2296 --
2297 -- Name: keep_disks_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2298 --
2299
2300 CREATE INDEX keep_disks_search_index ON keep_disks USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, ping_secret, node_uuid, filesystem_uuid, keep_service_uuid);
2301
2302
2303 --
2304 -- Name: keep_services_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2305 --
2306
2307 CREATE INDEX keep_services_search_index ON keep_services USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, service_host, service_type);
2308
2309
2310 --
2311 -- Name: links_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2312 --
2313
2314 CREATE INDEX links_search_index ON links USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, tail_uuid, link_class, name, head_uuid);
2315
2316
2317 --
2318 -- Name: links_tail_name_unique_if_link_class_name; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2319 --
2320
2321 CREATE UNIQUE INDEX links_tail_name_unique_if_link_class_name ON links USING btree (tail_uuid, name) WHERE ((link_class)::text = 'name'::text);
2322
2323
2324 --
2325 -- Name: logs_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2326 --
2327
2328 CREATE INDEX logs_search_index ON logs USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, object_uuid, event_type, object_owner_uuid);
2329
2330
2331 --
2332 -- Name: nodes_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2333 --
2334
2335 CREATE INDEX nodes_search_index ON nodes USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, hostname, domain, ip_address, job_uuid);
2336
2337
2338 --
2339 -- Name: pipeline_instances_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2340 --
2341
2342 CREATE INDEX pipeline_instances_full_text_search_idx ON pipeline_instances USING gin (to_tsvector('english'::regconfig, (((((((((((((((((((((COALESCE(uuid, ''::character varying))::text || ' '::text) || (COALESCE(owner_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_client_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_user_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(pipeline_template_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(name, ''::character varying))::text) || ' '::text) || COALESCE(components, ''::text)) || ' '::text) || COALESCE(properties, ''::text)) || ' '::text) || (COALESCE(state, ''::character varying))::text) || ' '::text) || COALESCE(components_summary, ''::text)) || ' '::text) || (COALESCE(description, ''::character varying))::text)));
2343
2344
2345 --
2346 -- Name: pipeline_instances_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2347 --
2348
2349 CREATE INDEX pipeline_instances_search_index ON pipeline_instances USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, pipeline_template_uuid, name, state);
2350
2351
2352 --
2353 -- Name: pipeline_template_owner_uuid_name_unique; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2354 --
2355
2356 CREATE UNIQUE INDEX pipeline_template_owner_uuid_name_unique ON pipeline_templates USING btree (owner_uuid, name);
2357
2358
2359 --
2360 -- Name: pipeline_templates_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2361 --
2362
2363 CREATE INDEX pipeline_templates_full_text_search_idx ON pipeline_templates USING gin (to_tsvector('english'::regconfig, (((((((((((((COALESCE(uuid, ''::character varying))::text || ' '::text) || (COALESCE(owner_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_client_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_user_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(name, ''::character varying))::text) || ' '::text) || COALESCE(components, ''::text)) || ' '::text) || (COALESCE(description, ''::character varying))::text)));
2364
2365
2366 --
2367 -- Name: pipeline_templates_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2368 --
2369
2370 CREATE INDEX pipeline_templates_search_index ON pipeline_templates USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2371
2372
2373 --
2374 -- Name: repositories_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2375 --
2376
2377 CREATE INDEX repositories_search_index ON repositories USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2378
2379
2380 --
2381 -- Name: specimens_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2382 --
2383
2384 CREATE INDEX specimens_search_index ON specimens USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, material);
2385
2386
2387 --
2388 -- Name: traits_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2389 --
2390
2391 CREATE INDEX traits_search_index ON traits USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2392
2393
2394 --
2395 -- Name: unique_schema_migrations; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2396 --
2397
2398 CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations USING btree (version);
2399
2400
2401 --
2402 -- Name: users_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2403 --
2404
2405 CREATE INDEX users_search_index ON users USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, email, first_name, last_name, identity_url, default_owner_uuid, username);
2406
2407
2408 --
2409 -- Name: virtual_machines_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2410 --
2411
2412 CREATE INDEX virtual_machines_search_index ON virtual_machines USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, hostname);
2413
2414
2415 --
2416 -- Name: workflows_full_text_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2417 --
2418
2419 CREATE INDEX workflows_full_text_search_idx ON workflows USING gin (to_tsvector('english'::regconfig, (((((((((((((COALESCE(uuid, ''::character varying))::text || ' '::text) || (COALESCE(owner_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_client_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(modified_by_user_uuid, ''::character varying))::text) || ' '::text) || (COALESCE(name, ''::character varying))::text) || ' '::text) || COALESCE(description, ''::text)) || ' '::text) || COALESCE(definition, ''::text))));
2420
2421
2422 --
2423 -- Name: workflows_search_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: 
2424 --
2425
2426 CREATE INDEX workflows_search_idx ON workflows USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name);
2427
2428
2429 --
2430 -- PostgreSQL database dump complete
2431 --
2432
2433 SET search_path TO "$user",public;
2434
2435 INSERT INTO schema_migrations (version) VALUES ('20121016005009');
2436
2437 INSERT INTO schema_migrations (version) VALUES ('20130105203021');
2438
2439 INSERT INTO schema_migrations (version) VALUES ('20130105224358');
2440
2441 INSERT INTO schema_migrations (version) VALUES ('20130105224618');
2442
2443 INSERT INTO schema_migrations (version) VALUES ('20130107181109');
2444
2445 INSERT INTO schema_migrations (version) VALUES ('20130107212832');
2446
2447 INSERT INTO schema_migrations (version) VALUES ('20130109175700');
2448
2449 INSERT INTO schema_migrations (version) VALUES ('20130109220548');
2450
2451 INSERT INTO schema_migrations (version) VALUES ('20130113214204');
2452
2453 INSERT INTO schema_migrations (version) VALUES ('20130116024233');
2454
2455 INSERT INTO schema_migrations (version) VALUES ('20130116215213');
2456
2457 INSERT INTO schema_migrations (version) VALUES ('20130118002239');
2458
2459 INSERT INTO schema_migrations (version) VALUES ('20130122020042');
2460
2461 INSERT INTO schema_migrations (version) VALUES ('20130122201442');
2462
2463 INSERT INTO schema_migrations (version) VALUES ('20130122221616');
2464
2465 INSERT INTO schema_migrations (version) VALUES ('20130123174514');
2466
2467 INSERT INTO schema_migrations (version) VALUES ('20130123180224');
2468
2469 INSERT INTO schema_migrations (version) VALUES ('20130123180228');
2470
2471 INSERT INTO schema_migrations (version) VALUES ('20130125220425');
2472
2473 INSERT INTO schema_migrations (version) VALUES ('20130128202518');
2474
2475 INSERT INTO schema_migrations (version) VALUES ('20130128231343');
2476
2477 INSERT INTO schema_migrations (version) VALUES ('20130130205749');
2478
2479 INSERT INTO schema_migrations (version) VALUES ('20130203104818');
2480
2481 INSERT INTO schema_migrations (version) VALUES ('20130203104824');
2482
2483 INSERT INTO schema_migrations (version) VALUES ('20130203115329');
2484
2485 INSERT INTO schema_migrations (version) VALUES ('20130207195855');
2486
2487 INSERT INTO schema_migrations (version) VALUES ('20130218181504');
2488
2489 INSERT INTO schema_migrations (version) VALUES ('20130226170000');
2490
2491 INSERT INTO schema_migrations (version) VALUES ('20130313175417');
2492
2493 INSERT INTO schema_migrations (version) VALUES ('20130315155820');
2494
2495 INSERT INTO schema_migrations (version) VALUES ('20130315183626');
2496
2497 INSERT INTO schema_migrations (version) VALUES ('20130315213205');
2498
2499 INSERT INTO schema_migrations (version) VALUES ('20130318002138');
2500
2501 INSERT INTO schema_migrations (version) VALUES ('20130319165853');
2502
2503 INSERT INTO schema_migrations (version) VALUES ('20130319180730');
2504
2505 INSERT INTO schema_migrations (version) VALUES ('20130319194637');
2506
2507 INSERT INTO schema_migrations (version) VALUES ('20130319201431');
2508
2509 INSERT INTO schema_migrations (version) VALUES ('20130319235957');
2510
2511 INSERT INTO schema_migrations (version) VALUES ('20130320000107');
2512
2513 INSERT INTO schema_migrations (version) VALUES ('20130326173804');
2514
2515 INSERT INTO schema_migrations (version) VALUES ('20130326182917');
2516
2517 INSERT INTO schema_migrations (version) VALUES ('20130415020241');
2518
2519 INSERT INTO schema_migrations (version) VALUES ('20130425024459');
2520
2521 INSERT INTO schema_migrations (version) VALUES ('20130425214427');
2522
2523 INSERT INTO schema_migrations (version) VALUES ('20130523060112');
2524
2525 INSERT INTO schema_migrations (version) VALUES ('20130523060213');
2526
2527 INSERT INTO schema_migrations (version) VALUES ('20130524042319');
2528
2529 INSERT INTO schema_migrations (version) VALUES ('20130528134100');
2530
2531 INSERT INTO schema_migrations (version) VALUES ('20130606183519');
2532
2533 INSERT INTO schema_migrations (version) VALUES ('20130608053730');
2534
2535 INSERT INTO schema_migrations (version) VALUES ('20130610202538');
2536
2537 INSERT INTO schema_migrations (version) VALUES ('20130611163736');
2538
2539 INSERT INTO schema_migrations (version) VALUES ('20130612042554');
2540
2541 INSERT INTO schema_migrations (version) VALUES ('20130617150007');
2542
2543 INSERT INTO schema_migrations (version) VALUES ('20130626002829');
2544
2545 INSERT INTO schema_migrations (version) VALUES ('20130626022810');
2546
2547 INSERT INTO schema_migrations (version) VALUES ('20130627154537');
2548
2549 INSERT INTO schema_migrations (version) VALUES ('20130627184333');
2550
2551 INSERT INTO schema_migrations (version) VALUES ('20130708163414');
2552
2553 INSERT INTO schema_migrations (version) VALUES ('20130708182912');
2554
2555 INSERT INTO schema_migrations (version) VALUES ('20130708185153');
2556
2557 INSERT INTO schema_migrations (version) VALUES ('20130724153034');
2558
2559 INSERT INTO schema_migrations (version) VALUES ('20131007180607');
2560
2561 INSERT INTO schema_migrations (version) VALUES ('20140117231056');
2562
2563 INSERT INTO schema_migrations (version) VALUES ('20140124222114');
2564
2565 INSERT INTO schema_migrations (version) VALUES ('20140129184311');
2566
2567 INSERT INTO schema_migrations (version) VALUES ('20140317135600');
2568
2569 INSERT INTO schema_migrations (version) VALUES ('20140319160547');
2570
2571 INSERT INTO schema_migrations (version) VALUES ('20140321191343');
2572
2573 INSERT INTO schema_migrations (version) VALUES ('20140324024606');
2574
2575 INSERT INTO schema_migrations (version) VALUES ('20140325175653');
2576
2577 INSERT INTO schema_migrations (version) VALUES ('20140402001908');
2578
2579 INSERT INTO schema_migrations (version) VALUES ('20140407184311');
2580
2581 INSERT INTO schema_migrations (version) VALUES ('20140421140924');
2582
2583 INSERT INTO schema_migrations (version) VALUES ('20140421151939');
2584
2585 INSERT INTO schema_migrations (version) VALUES ('20140421151940');
2586
2587 INSERT INTO schema_migrations (version) VALUES ('20140422011506');
2588
2589 INSERT INTO schema_migrations (version) VALUES ('20140423132913');
2590
2591 INSERT INTO schema_migrations (version) VALUES ('20140423133559');
2592
2593 INSERT INTO schema_migrations (version) VALUES ('20140501165548');
2594
2595 INSERT INTO schema_migrations (version) VALUES ('20140519205916');
2596
2597 INSERT INTO schema_migrations (version) VALUES ('20140527152921');
2598
2599 INSERT INTO schema_migrations (version) VALUES ('20140530200539');
2600
2601 INSERT INTO schema_migrations (version) VALUES ('20140601022548');
2602
2603 INSERT INTO schema_migrations (version) VALUES ('20140602143352');
2604
2605 INSERT INTO schema_migrations (version) VALUES ('20140607150616');
2606
2607 INSERT INTO schema_migrations (version) VALUES ('20140611173003');
2608
2609 INSERT INTO schema_migrations (version) VALUES ('20140627210837');
2610
2611 INSERT INTO schema_migrations (version) VALUES ('20140709172343');
2612
2613 INSERT INTO schema_migrations (version) VALUES ('20140714184006');
2614
2615 INSERT INTO schema_migrations (version) VALUES ('20140811184643');
2616
2617 INSERT INTO schema_migrations (version) VALUES ('20140817035914');
2618
2619 INSERT INTO schema_migrations (version) VALUES ('20140818125735');
2620
2621 INSERT INTO schema_migrations (version) VALUES ('20140826180337');
2622
2623 INSERT INTO schema_migrations (version) VALUES ('20140828141043');
2624
2625 INSERT INTO schema_migrations (version) VALUES ('20140909183946');
2626
2627 INSERT INTO schema_migrations (version) VALUES ('20140911221252');
2628
2629 INSERT INTO schema_migrations (version) VALUES ('20140918141529');
2630
2631 INSERT INTO schema_migrations (version) VALUES ('20140918153541');
2632
2633 INSERT INTO schema_migrations (version) VALUES ('20140918153705');
2634
2635 INSERT INTO schema_migrations (version) VALUES ('20140924091559');
2636
2637 INSERT INTO schema_migrations (version) VALUES ('20141111133038');
2638
2639 INSERT INTO schema_migrations (version) VALUES ('20141208164553');
2640
2641 INSERT INTO schema_migrations (version) VALUES ('20141208174553');
2642
2643 INSERT INTO schema_migrations (version) VALUES ('20141208174653');
2644
2645 INSERT INTO schema_migrations (version) VALUES ('20141208185217');
2646
2647 INSERT INTO schema_migrations (version) VALUES ('20150122175935');
2648
2649 INSERT INTO schema_migrations (version) VALUES ('20150123142953');
2650
2651 INSERT INTO schema_migrations (version) VALUES ('20150203180223');
2652
2653 INSERT INTO schema_migrations (version) VALUES ('20150206210804');
2654
2655 INSERT INTO schema_migrations (version) VALUES ('20150206230342');
2656
2657 INSERT INTO schema_migrations (version) VALUES ('20150216193428');
2658
2659 INSERT INTO schema_migrations (version) VALUES ('20150303210106');
2660
2661 INSERT INTO schema_migrations (version) VALUES ('20150312151136');
2662
2663 INSERT INTO schema_migrations (version) VALUES ('20150317132720');
2664
2665 INSERT INTO schema_migrations (version) VALUES ('20150324152204');
2666
2667 INSERT INTO schema_migrations (version) VALUES ('20150423145759');
2668
2669 INSERT INTO schema_migrations (version) VALUES ('20150512193020');
2670
2671 INSERT INTO schema_migrations (version) VALUES ('20150526180251');
2672
2673 INSERT INTO schema_migrations (version) VALUES ('20151202151426');
2674
2675 INSERT INTO schema_migrations (version) VALUES ('20151215134304');
2676
2677 INSERT INTO schema_migrations (version) VALUES ('20151229214707');
2678
2679 INSERT INTO schema_migrations (version) VALUES ('20160208210629');
2680
2681 INSERT INTO schema_migrations (version) VALUES ('20160209155729');
2682
2683 INSERT INTO schema_migrations (version) VALUES ('20160324144017');
2684
2685 INSERT INTO schema_migrations (version) VALUES ('20160506175108');
2686
2687 INSERT INTO schema_migrations (version) VALUES ('20160509143250');
2688
2689 INSERT INTO schema_migrations (version) VALUES ('20160808151559');
2690
2691 INSERT INTO schema_migrations (version) VALUES ('20160819195557');
2692
2693 INSERT INTO schema_migrations (version) VALUES ('20160819195725');
2694
2695 INSERT INTO schema_migrations (version) VALUES ('20160901210110');
2696
2697 INSERT INTO schema_migrations (version) VALUES ('20160909181442');
2698
2699 INSERT INTO schema_migrations (version) VALUES ('20160926194129');
2700
2701 INSERT INTO schema_migrations (version) VALUES ('20161019171346');
2702
2703 INSERT INTO schema_migrations (version) VALUES ('20161111143147');
2704
2705 INSERT INTO schema_migrations (version) VALUES ('20161115171221');
2706
2707 INSERT INTO schema_migrations (version) VALUES ('20161115174218');
2708
2709 INSERT INTO schema_migrations (version) VALUES ('20161213172944');