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