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