Merge branch '7995-keep-balance-docs'
[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: groups; Type: TABLE; Schema: public; Owner: -; Tablespace: 
33 --
34
35 CREATE TABLE groups (
36     id integer NOT NULL,
37     uuid character varying(255),
38     owner_uuid character varying(255),
39     created_at timestamp without time zone NOT NULL,
40     modified_by_client_uuid character varying(255),
41     modified_by_user_uuid character varying(255),
42     modified_at timestamp without time zone,
43     name character varying(255) NOT NULL,
44     description character varying(524288),
45     updated_at timestamp without time zone NOT NULL,
46     group_class character varying(255)
47 );
48
49
50 --
51 -- Name: links; Type: TABLE; Schema: public; Owner: -; Tablespace: 
52 --
53
54 CREATE TABLE links (
55     id integer NOT NULL,
56     uuid character varying(255),
57     owner_uuid character varying(255),
58     created_at timestamp without time zone NOT NULL,
59     modified_by_client_uuid character varying(255),
60     modified_by_user_uuid character varying(255),
61     modified_at timestamp without time zone,
62     tail_uuid character varying(255),
63     link_class character varying(255),
64     name character varying(255),
65     head_uuid character varying(255),
66     properties text,
67     updated_at timestamp without time zone NOT NULL
68 );
69
70
71 --
72 -- Name: users; Type: TABLE; Schema: public; Owner: -; Tablespace: 
73 --
74
75 CREATE TABLE users (
76     id integer NOT NULL,
77     uuid character varying(255),
78     owner_uuid character varying(255) NOT NULL,
79     created_at timestamp without time zone NOT NULL,
80     modified_by_client_uuid character varying(255),
81     modified_by_user_uuid character varying(255),
82     modified_at timestamp without time zone,
83     email character varying(255),
84     first_name character varying(255),
85     last_name character varying(255),
86     identity_url character varying(255),
87     is_admin boolean,
88     prefs text,
89     updated_at timestamp without time zone NOT NULL,
90     default_owner_uuid character varying(255),
91     is_active boolean DEFAULT false,
92     username character varying(255)
93 );
94
95
96 --
97 -- Name: api_client_authorizations; Type: TABLE; Schema: public; Owner: -; Tablespace: 
98 --
99
100 CREATE TABLE api_client_authorizations (
101     id integer NOT NULL,
102     api_token character varying(255) NOT NULL,
103     api_client_id integer NOT NULL,
104     user_id integer NOT NULL,
105     created_by_ip_address character varying(255),
106     last_used_by_ip_address character varying(255),
107     last_used_at timestamp without time zone,
108     expires_at timestamp without time zone,
109     created_at timestamp without time zone NOT NULL,
110     updated_at timestamp without time zone NOT NULL,
111     default_owner_uuid character varying(255),
112     scopes text DEFAULT '---
113 - all
114 '::text NOT NULL,
115     uuid character varying(255) NOT NULL
116 );
117
118
119 --
120 -- Name: api_client_authorizations_id_seq; Type: SEQUENCE; Schema: public; Owner: -
121 --
122
123 CREATE SEQUENCE api_client_authorizations_id_seq
124     START WITH 1
125     INCREMENT BY 1
126     NO MINVALUE
127     NO MAXVALUE
128     CACHE 1;
129
130
131 --
132 -- Name: api_client_authorizations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
133 --
134
135 ALTER SEQUENCE api_client_authorizations_id_seq OWNED BY api_client_authorizations.id;
136
137
138 --
139 -- Name: api_clients; Type: TABLE; Schema: public; Owner: -; Tablespace: 
140 --
141
142 CREATE TABLE api_clients (
143     id integer NOT NULL,
144     uuid character varying(255),
145     owner_uuid character varying(255),
146     modified_by_client_uuid character varying(255),
147     modified_by_user_uuid character varying(255),
148     modified_at timestamp without time zone,
149     name character varying(255),
150     url_prefix character varying(255),
151     created_at timestamp without time zone NOT NULL,
152     updated_at timestamp without time zone NOT NULL,
153     is_trusted boolean DEFAULT false
154 );
155
156
157 --
158 -- Name: api_clients_id_seq; Type: SEQUENCE; Schema: public; Owner: -
159 --
160
161 CREATE SEQUENCE api_clients_id_seq
162     START WITH 1
163     INCREMENT BY 1
164     NO MINVALUE
165     NO MAXVALUE
166     CACHE 1;
167
168
169 --
170 -- Name: api_clients_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
171 --
172
173 ALTER SEQUENCE api_clients_id_seq OWNED BY api_clients.id;
174
175
176 --
177 -- Name: authorized_keys; Type: TABLE; Schema: public; Owner: -; Tablespace: 
178 --
179
180 CREATE TABLE authorized_keys (
181     id integer NOT NULL,
182     uuid character varying(255) NOT NULL,
183     owner_uuid character varying(255) NOT NULL,
184     modified_by_client_uuid character varying(255),
185     modified_by_user_uuid character varying(255),
186     modified_at timestamp without time zone,
187     name character varying(255),
188     key_type character varying(255),
189     authorized_user_uuid character varying(255),
190     public_key text,
191     expires_at timestamp without time zone,
192     created_at timestamp without time zone NOT NULL,
193     updated_at timestamp without time zone NOT NULL
194 );
195
196
197 --
198 -- Name: authorized_keys_id_seq; Type: SEQUENCE; Schema: public; Owner: -
199 --
200
201 CREATE SEQUENCE authorized_keys_id_seq
202     START WITH 1
203     INCREMENT BY 1
204     NO MINVALUE
205     NO MAXVALUE
206     CACHE 1;
207
208
209 --
210 -- Name: authorized_keys_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
211 --
212
213 ALTER SEQUENCE authorized_keys_id_seq OWNED BY authorized_keys.id;
214
215
216 --
217 -- Name: collections; Type: TABLE; Schema: public; Owner: -; Tablespace: 
218 --
219
220 CREATE TABLE collections (
221     id integer NOT NULL,
222     owner_uuid character varying(255),
223     created_at timestamp without time zone NOT NULL,
224     modified_by_client_uuid character varying(255),
225     modified_by_user_uuid character varying(255),
226     modified_at timestamp without time zone,
227     portable_data_hash character varying(255),
228     replication_desired integer,
229     replication_confirmed_at timestamp without time zone,
230     replication_confirmed integer,
231     updated_at timestamp without time zone NOT NULL,
232     uuid character varying(255),
233     manifest_text text,
234     name character varying(255),
235     description character varying(524288),
236     properties text,
237     delete_at timestamp without time zone,
238     file_names character varying(8192),
239     trash_at timestamp without time zone,
240     is_trashed boolean DEFAULT false NOT NULL
241 );
242
243
244 --
245 -- Name: collections_id_seq; Type: SEQUENCE; Schema: public; Owner: -
246 --
247
248 CREATE SEQUENCE collections_id_seq
249     START WITH 1
250     INCREMENT BY 1
251     NO MINVALUE
252     NO MAXVALUE
253     CACHE 1;
254
255
256 --
257 -- Name: collections_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
258 --
259
260 ALTER SEQUENCE collections_id_seq OWNED BY collections.id;
261
262
263 --
264 -- Name: commit_ancestors; Type: TABLE; Schema: public; Owner: -; Tablespace: 
265 --
266
267 CREATE TABLE commit_ancestors (
268     id integer NOT NULL,
269     repository_name character varying(255),
270     descendant character varying(255) NOT NULL,
271     ancestor character varying(255) NOT NULL,
272     "is" boolean DEFAULT false NOT NULL,
273     created_at timestamp without time zone NOT NULL,
274     updated_at timestamp without time zone NOT NULL
275 );
276
277
278 --
279 -- Name: commit_ancestors_id_seq; Type: SEQUENCE; Schema: public; Owner: -
280 --
281
282 CREATE SEQUENCE commit_ancestors_id_seq
283     START WITH 1
284     INCREMENT BY 1
285     NO MINVALUE
286     NO MAXVALUE
287     CACHE 1;
288
289
290 --
291 -- Name: commit_ancestors_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
292 --
293
294 ALTER SEQUENCE commit_ancestors_id_seq OWNED BY commit_ancestors.id;
295
296
297 --
298 -- Name: commits; Type: TABLE; Schema: public; Owner: -; Tablespace: 
299 --
300
301 CREATE TABLE commits (
302     id integer NOT NULL,
303     repository_name character varying(255),
304     sha1 character varying(255),
305     message character varying(255),
306     created_at timestamp without time zone NOT NULL,
307     updated_at timestamp without time zone NOT NULL
308 );
309
310
311 --
312 -- Name: commits_id_seq; Type: SEQUENCE; Schema: public; Owner: -
313 --
314
315 CREATE SEQUENCE commits_id_seq
316     START WITH 1
317     INCREMENT BY 1
318     NO MINVALUE
319     NO MAXVALUE
320     CACHE 1;
321
322
323 --
324 -- Name: commits_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
325 --
326
327 ALTER SEQUENCE commits_id_seq OWNED BY commits.id;
328
329
330 --
331 -- Name: container_requests; Type: TABLE; Schema: public; Owner: -; Tablespace: 
332 --
333
334 CREATE TABLE container_requests (
335     id integer NOT NULL,
336     uuid character varying(255),
337     owner_uuid character varying(255),
338     created_at timestamp without time zone NOT NULL,
339     modified_at timestamp without time zone,
340     modified_by_client_uuid character varying(255),
341     modified_by_user_uuid character varying(255),
342     name character varying(255),
343     description text,
344     properties text,
345     state character varying(255),
346     requesting_container_uuid character varying(255),
347     container_uuid character varying(255),
348     container_count_max integer,
349     mounts text,
350     runtime_constraints text,
351     container_image character varying(255),
352     environment text,
353     cwd character varying(255),
354     command text,
355     output_path character varying(255),
356     priority integer,
357     expires_at timestamp without time zone,
358     filters text,
359     updated_at timestamp without time zone NOT NULL,
360     container_count integer DEFAULT 0,
361     use_existing boolean DEFAULT true,
362     scheduling_parameters text,
363     output_uuid character varying(255),
364     log_uuid character varying(255),
365     output_name character varying(255) DEFAULT NULL::character varying
366 );
367
368
369 --
370 -- Name: container_requests_id_seq; Type: SEQUENCE; Schema: public; Owner: -
371 --
372
373 CREATE SEQUENCE container_requests_id_seq
374     START WITH 1
375     INCREMENT BY 1
376     NO MINVALUE
377     NO MAXVALUE
378     CACHE 1;
379
380
381 --
382 -- Name: container_requests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
383 --
384
385 ALTER SEQUENCE container_requests_id_seq OWNED BY container_requests.id;
386
387
388 --
389 -- Name: containers; Type: TABLE; Schema: public; Owner: -; Tablespace: 
390 --
391
392 CREATE TABLE containers (
393     id integer NOT NULL,
394     uuid character varying(255),
395     owner_uuid character varying(255),
396     created_at timestamp without time zone NOT NULL,
397     modified_at timestamp without time zone,
398     modified_by_client_uuid character varying(255),
399     modified_by_user_uuid character varying(255),
400     state character varying(255),
401     started_at timestamp without time zone,
402     finished_at timestamp without time zone,
403     log character varying(255),
404     environment text,
405     cwd character varying(255),
406     command text,
407     output_path character varying(255),
408     mounts text,
409     runtime_constraints text,
410     output character varying(255),
411     container_image character varying(255),
412     progress double precision,
413     priority integer,
414     updated_at timestamp without time zone NOT NULL,
415     exit_code integer,
416     auth_uuid character varying(255),
417     locked_by_uuid character varying(255),
418     scheduling_parameters text
419 );
420
421
422 --
423 -- Name: containers_id_seq; Type: SEQUENCE; Schema: public; Owner: -
424 --
425
426 CREATE SEQUENCE containers_id_seq
427     START WITH 1
428     INCREMENT BY 1
429     NO MINVALUE
430     NO MAXVALUE
431     CACHE 1;
432
433
434 --
435 -- Name: containers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
436 --
437
438 ALTER SEQUENCE containers_id_seq OWNED BY containers.id;
439
440
441 --
442 -- Name: groups_id_seq; Type: SEQUENCE; Schema: public; Owner: -
443 --
444
445 CREATE SEQUENCE groups_id_seq
446     START WITH 1
447     INCREMENT BY 1
448     NO MINVALUE
449     NO MAXVALUE
450     CACHE 1;
451
452
453 --
454 -- Name: groups_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
455 --
456
457 ALTER SEQUENCE groups_id_seq OWNED BY groups.id;
458
459
460 --
461 -- Name: humans; Type: TABLE; Schema: public; Owner: -; Tablespace: 
462 --
463
464 CREATE TABLE humans (
465     id integer NOT NULL,
466     uuid character varying(255) NOT NULL,
467     owner_uuid character varying(255) NOT NULL,
468     modified_by_client_uuid character varying(255),
469     modified_by_user_uuid character varying(255),
470     modified_at timestamp without time zone,
471     properties text,
472     created_at timestamp without time zone NOT NULL,
473     updated_at timestamp without time zone NOT NULL
474 );
475
476
477 --
478 -- Name: humans_id_seq; Type: SEQUENCE; Schema: public; Owner: -
479 --
480
481 CREATE SEQUENCE humans_id_seq
482     START WITH 1
483     INCREMENT BY 1
484     NO MINVALUE
485     NO MAXVALUE
486     CACHE 1;
487
488
489 --
490 -- Name: humans_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
491 --
492
493 ALTER SEQUENCE humans_id_seq OWNED BY humans.id;
494
495
496 --
497 -- Name: job_tasks; Type: TABLE; Schema: public; Owner: -; Tablespace: 
498 --
499
500 CREATE TABLE job_tasks (
501     id integer NOT NULL,
502     uuid character varying(255),
503     owner_uuid character varying(255),
504     modified_by_client_uuid character varying(255),
505     modified_by_user_uuid character varying(255),
506     modified_at timestamp without time zone,
507     job_uuid character varying(255),
508     sequence integer,
509     parameters text,
510     output text,
511     progress double precision,
512     success boolean,
513     created_at timestamp without time zone NOT NULL,
514     updated_at timestamp without time zone NOT NULL,
515     created_by_job_task_uuid character varying(255),
516     qsequence bigint,
517     started_at timestamp without time zone,
518     finished_at timestamp without time zone
519 );
520
521
522 --
523 -- Name: job_tasks_id_seq; Type: SEQUENCE; Schema: public; Owner: -
524 --
525
526 CREATE SEQUENCE job_tasks_id_seq
527     START WITH 1
528     INCREMENT BY 1
529     NO MINVALUE
530     NO MAXVALUE
531     CACHE 1;
532
533
534 --
535 -- Name: job_tasks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
536 --
537
538 ALTER SEQUENCE job_tasks_id_seq OWNED BY job_tasks.id;
539
540
541 --
542 -- Name: job_tasks_qsequence_seq; Type: SEQUENCE; Schema: public; Owner: -
543 --
544
545 CREATE SEQUENCE job_tasks_qsequence_seq
546     START WITH 1
547     INCREMENT BY 1
548     NO MINVALUE
549     NO MAXVALUE
550     CACHE 1;
551
552
553 --
554 -- Name: job_tasks_qsequence_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
555 --
556
557 ALTER SEQUENCE job_tasks_qsequence_seq OWNED BY job_tasks.qsequence;
558
559
560 --
561 -- Name: jobs; Type: TABLE; Schema: public; Owner: -; Tablespace: 
562 --
563
564 CREATE TABLE jobs (
565     id integer NOT NULL,
566     uuid character varying(255),
567     owner_uuid character varying(255),
568     modified_by_client_uuid character varying(255),
569     modified_by_user_uuid character varying(255),
570     modified_at timestamp without time zone,
571     submit_id character varying(255),
572     script character varying(255),
573     script_version character varying(255),
574     script_parameters text,
575     cancelled_by_client_uuid character varying(255),
576     cancelled_by_user_uuid character varying(255),
577     cancelled_at timestamp without time zone,
578     started_at timestamp without time zone,
579     finished_at timestamp without time zone,
580     running boolean,
581     success boolean,
582     output character varying(255),
583     created_at timestamp without time zone NOT NULL,
584     updated_at timestamp without time zone NOT NULL,
585     is_locked_by_uuid character varying(255),
586     log character varying(255),
587     tasks_summary text,
588     runtime_constraints text,
589     nondeterministic boolean,
590     repository character varying(255),
591     supplied_script_version character varying(255),
592     docker_image_locator character varying(255),
593     priority integer DEFAULT 0 NOT NULL,
594     description character varying(524288),
595     state character varying(255),
596     arvados_sdk_version character varying(255),
597     components text,
598     script_parameters_digest character varying(255)
599 );
600
601
602 --
603 -- Name: jobs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
604 --
605
606 CREATE SEQUENCE jobs_id_seq
607     START WITH 1
608     INCREMENT BY 1
609     NO MINVALUE
610     NO MAXVALUE
611     CACHE 1;
612
613
614 --
615 -- Name: jobs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
616 --
617
618 ALTER SEQUENCE jobs_id_seq OWNED BY jobs.id;
619
620
621 --
622 -- Name: keep_disks; Type: TABLE; Schema: public; Owner: -; Tablespace: 
623 --
624
625 CREATE TABLE keep_disks (
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     ping_secret character varying(255) NOT NULL,
633     node_uuid character varying(255),
634     filesystem_uuid character varying(255),
635     bytes_total integer,
636     bytes_free integer,
637     is_readable boolean DEFAULT true NOT NULL,
638     is_writable boolean DEFAULT true NOT NULL,
639     last_read_at timestamp without time zone,
640     last_write_at timestamp without time zone,
641     last_ping_at timestamp without time zone,
642     created_at timestamp without time zone NOT NULL,
643     updated_at timestamp without time zone NOT NULL,
644     keep_service_uuid character varying(255)
645 );
646
647
648 --
649 -- Name: keep_disks_id_seq; Type: SEQUENCE; Schema: public; Owner: -
650 --
651
652 CREATE SEQUENCE keep_disks_id_seq
653     START WITH 1
654     INCREMENT BY 1
655     NO MINVALUE
656     NO MAXVALUE
657     CACHE 1;
658
659
660 --
661 -- Name: keep_disks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
662 --
663
664 ALTER SEQUENCE keep_disks_id_seq OWNED BY keep_disks.id;
665
666
667 --
668 -- Name: keep_services; Type: TABLE; Schema: public; Owner: -; Tablespace: 
669 --
670
671 CREATE TABLE keep_services (
672     id integer NOT NULL,
673     uuid character varying(255) NOT NULL,
674     owner_uuid character varying(255) NOT NULL,
675     modified_by_client_uuid character varying(255),
676     modified_by_user_uuid character varying(255),
677     modified_at timestamp without time zone,
678     service_host character varying(255),
679     service_port integer,
680     service_ssl_flag boolean,
681     service_type character varying(255),
682     created_at timestamp without time zone NOT NULL,
683     updated_at timestamp without time zone NOT NULL,
684     read_only boolean DEFAULT false NOT NULL
685 );
686
687
688 --
689 -- Name: keep_services_id_seq; Type: SEQUENCE; Schema: public; Owner: -
690 --
691
692 CREATE SEQUENCE keep_services_id_seq
693     START WITH 1
694     INCREMENT BY 1
695     NO MINVALUE
696     NO MAXVALUE
697     CACHE 1;
698
699
700 --
701 -- Name: keep_services_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
702 --
703
704 ALTER SEQUENCE keep_services_id_seq OWNED BY keep_services.id;
705
706
707 --
708 -- Name: links_id_seq; Type: SEQUENCE; Schema: public; Owner: -
709 --
710
711 CREATE SEQUENCE links_id_seq
712     START WITH 1
713     INCREMENT BY 1
714     NO MINVALUE
715     NO MAXVALUE
716     CACHE 1;
717
718
719 --
720 -- Name: links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
721 --
722
723 ALTER SEQUENCE links_id_seq OWNED BY links.id;
724
725
726 --
727 -- Name: logs; Type: TABLE; Schema: public; Owner: -; Tablespace: 
728 --
729
730 CREATE TABLE logs (
731     id integer NOT NULL,
732     uuid character varying(255),
733     owner_uuid character varying(255),
734     modified_by_client_uuid character varying(255),
735     modified_by_user_uuid character varying(255),
736     object_uuid character varying(255),
737     event_at timestamp without time zone,
738     event_type character varying(255),
739     summary text,
740     properties text,
741     created_at timestamp without time zone NOT NULL,
742     updated_at timestamp without time zone NOT NULL,
743     modified_at timestamp without time zone,
744     object_owner_uuid character varying(255)
745 );
746
747
748 --
749 -- Name: logs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
750 --
751
752 CREATE SEQUENCE logs_id_seq
753     START WITH 1
754     INCREMENT BY 1
755     NO MINVALUE
756     NO MAXVALUE
757     CACHE 1;
758
759
760 --
761 -- Name: logs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
762 --
763
764 ALTER SEQUENCE logs_id_seq OWNED BY logs.id;
765
766
767 --
768 -- Name: nodes; Type: TABLE; Schema: public; Owner: -; Tablespace: 
769 --
770
771 CREATE TABLE nodes (
772     id integer NOT NULL,
773     uuid character varying(255),
774     owner_uuid character varying(255),
775     created_at timestamp without time zone NOT NULL,
776     modified_by_client_uuid character varying(255),
777     modified_by_user_uuid character varying(255),
778     modified_at timestamp without time zone,
779     slot_number integer,
780     hostname character varying(255),
781     domain character varying(255),
782     ip_address character varying(255),
783     first_ping_at timestamp without time zone,
784     last_ping_at timestamp without time zone,
785     info text,
786     updated_at timestamp without time zone NOT NULL,
787     properties text,
788     job_uuid character varying(255)
789 );
790
791
792 --
793 -- Name: nodes_id_seq; Type: SEQUENCE; Schema: public; Owner: -
794 --
795
796 CREATE SEQUENCE nodes_id_seq
797     START WITH 1
798     INCREMENT BY 1
799     NO MINVALUE
800     NO MAXVALUE
801     CACHE 1;
802
803
804 --
805 -- Name: nodes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
806 --
807
808 ALTER SEQUENCE nodes_id_seq OWNED BY nodes.id;
809
810
811 --
812 -- Name: pipeline_instances; Type: TABLE; Schema: public; Owner: -; Tablespace: 
813 --
814
815 CREATE TABLE pipeline_instances (
816     id integer NOT NULL,
817     uuid character varying(255),
818     owner_uuid character varying(255),
819     created_at timestamp without time zone NOT NULL,
820     modified_by_client_uuid character varying(255),
821     modified_by_user_uuid character varying(255),
822     modified_at timestamp without time zone,
823     pipeline_template_uuid character varying(255),
824     name character varying(255),
825     components text,
826     updated_at timestamp without time zone NOT NULL,
827     properties text,
828     state character varying(255),
829     components_summary text,
830     started_at timestamp without time zone,
831     finished_at timestamp without time zone,
832     description character varying(524288)
833 );
834
835
836 --
837 -- Name: pipeline_instances_id_seq; Type: SEQUENCE; Schema: public; Owner: -
838 --
839
840 CREATE SEQUENCE pipeline_instances_id_seq
841     START WITH 1
842     INCREMENT BY 1
843     NO MINVALUE
844     NO MAXVALUE
845     CACHE 1;
846
847
848 --
849 -- Name: pipeline_instances_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
850 --
851
852 ALTER SEQUENCE pipeline_instances_id_seq OWNED BY pipeline_instances.id;
853
854
855 --
856 -- Name: pipeline_templates; Type: TABLE; Schema: public; Owner: -; Tablespace: 
857 --
858
859 CREATE TABLE pipeline_templates (
860     id integer NOT NULL,
861     uuid character varying(255),
862     owner_uuid character varying(255),
863     created_at timestamp without time zone NOT NULL,
864     modified_by_client_uuid character varying(255),
865     modified_by_user_uuid character varying(255),
866     modified_at timestamp without time zone,
867     name character varying(255),
868     components text,
869     updated_at timestamp without time zone NOT NULL,
870     description character varying(524288)
871 );
872
873
874 --
875 -- Name: pipeline_templates_id_seq; Type: SEQUENCE; Schema: public; Owner: -
876 --
877
878 CREATE SEQUENCE pipeline_templates_id_seq
879     START WITH 1
880     INCREMENT BY 1
881     NO MINVALUE
882     NO MAXVALUE
883     CACHE 1;
884
885
886 --
887 -- Name: pipeline_templates_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
888 --
889
890 ALTER SEQUENCE pipeline_templates_id_seq OWNED BY pipeline_templates.id;
891
892
893 --
894 -- Name: repositories; Type: TABLE; Schema: public; Owner: -; Tablespace: 
895 --
896
897 CREATE TABLE repositories (
898     id integer NOT NULL,
899     uuid character varying(255) NOT NULL,
900     owner_uuid character varying(255) NOT NULL,
901     modified_by_client_uuid character varying(255),
902     modified_by_user_uuid character varying(255),
903     modified_at timestamp without time zone,
904     name character varying(255),
905     created_at timestamp without time zone NOT NULL,
906     updated_at timestamp without time zone NOT NULL
907 );
908
909
910 --
911 -- Name: repositories_id_seq; Type: SEQUENCE; Schema: public; Owner: -
912 --
913
914 CREATE SEQUENCE repositories_id_seq
915     START WITH 1
916     INCREMENT BY 1
917     NO MINVALUE
918     NO MAXVALUE
919     CACHE 1;
920
921
922 --
923 -- Name: repositories_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
924 --
925
926 ALTER SEQUENCE repositories_id_seq OWNED BY repositories.id;
927
928
929 --
930 -- Name: schema_migrations; Type: TABLE; Schema: public; Owner: -; Tablespace: 
931 --
932
933 CREATE TABLE schema_migrations (
934     version character varying(255) NOT NULL
935 );
936
937
938 --
939 -- Name: specimens; Type: TABLE; Schema: public; Owner: -; Tablespace: 
940 --
941
942 CREATE TABLE specimens (
943     id integer NOT NULL,
944     uuid character varying(255),
945     owner_uuid character varying(255),
946     created_at timestamp without time zone NOT NULL,
947     modified_by_client_uuid character varying(255),
948     modified_by_user_uuid character varying(255),
949     modified_at timestamp without time zone,
950     material character varying(255),
951     updated_at timestamp without time zone NOT NULL,
952     properties text
953 );
954
955
956 --
957 -- Name: specimens_id_seq; Type: SEQUENCE; Schema: public; Owner: -
958 --
959
960 CREATE SEQUENCE specimens_id_seq
961     START WITH 1
962     INCREMENT BY 1
963     NO MINVALUE
964     NO MAXVALUE
965     CACHE 1;
966
967
968 --
969 -- Name: specimens_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
970 --
971
972 ALTER SEQUENCE specimens_id_seq OWNED BY specimens.id;
973
974
975 --
976 -- Name: traits; Type: TABLE; Schema: public; Owner: -; Tablespace: 
977 --
978
979 CREATE TABLE traits (
980     id integer NOT NULL,
981     uuid character varying(255) NOT NULL,
982     owner_uuid character varying(255) NOT NULL,
983     modified_by_client_uuid character varying(255),
984     modified_by_user_uuid character varying(255),
985     modified_at timestamp without time zone,
986     name character varying(255),
987     properties text,
988     created_at timestamp without time zone NOT NULL,
989     updated_at timestamp without time zone NOT NULL
990 );
991
992
993 --
994 -- Name: traits_id_seq; Type: SEQUENCE; Schema: public; Owner: -
995 --
996
997 CREATE SEQUENCE traits_id_seq
998     START WITH 1
999     INCREMENT BY 1
1000     NO MINVALUE
1001     NO MAXVALUE
1002     CACHE 1;
1003
1004
1005 --
1006 -- Name: traits_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1007 --
1008
1009 ALTER SEQUENCE traits_id_seq OWNED BY traits.id;
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(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))));
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');
2742
2743 INSERT INTO schema_migrations (version) VALUES ('20170105160302');
2744
2745 INSERT INTO schema_migrations (version) VALUES ('20170216170823');