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