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