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