comparison test-data/init-galaxy-db.sql.in @ 0:fa1a61331039 draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
author bgruening
date Wed, 24 Apr 2019 06:12:05 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:fa1a61331039
1 --
2 -- PostgreSQL database dump
3 --
4
5 -- Dumped from database version 11.2
6 -- Dumped by pg_dump version 11.2
7
8 SET statement_timeout = 0;
9 SET lock_timeout = 0;
10 SET idle_in_transaction_session_timeout = 0;
11 SET client_encoding = 'UTF8';
12 SET standard_conforming_strings = on;
13 SELECT pg_catalog.set_config('search_path', '', false);
14 SET check_function_bodies = false;
15 SET client_min_messages = warning;
16 SET row_security = off;
17
18 SET default_tablespace = '';
19
20 SET default_with_oids = false;
21
22 --
23 -- Name: api_keys; Type: TABLE; Schema: public; Owner: lite
24 --
25
26 CREATE TABLE public.api_keys (
27 id integer NOT NULL,
28 create_time timestamp without time zone,
29 user_id integer,
30 key character varying(32)
31 );
32
33
34 ALTER TABLE public.api_keys OWNER TO lite;
35
36 --
37 -- Name: api_keys_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
38 --
39
40 CREATE SEQUENCE public.api_keys_id_seq
41 START WITH 1
42 INCREMENT BY 1
43 NO MINVALUE
44 NO MAXVALUE
45 CACHE 1;
46
47
48 ALTER TABLE public.api_keys_id_seq OWNER TO lite;
49
50 --
51 -- Name: api_keys_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
52 --
53
54 ALTER SEQUENCE public.api_keys_id_seq OWNED BY public.api_keys.id;
55
56
57 --
58 -- Name: cleanup_event; Type: TABLE; Schema: public; Owner: lite
59 --
60
61 CREATE TABLE public.cleanup_event (
62 id integer NOT NULL,
63 create_time timestamp without time zone,
64 message character varying(1024)
65 );
66
67
68 ALTER TABLE public.cleanup_event OWNER TO lite;
69
70 --
71 -- Name: cleanup_event_dataset_association; Type: TABLE; Schema: public; Owner: lite
72 --
73
74 CREATE TABLE public.cleanup_event_dataset_association (
75 id integer NOT NULL,
76 create_time timestamp without time zone,
77 cleanup_event_id integer,
78 dataset_id integer
79 );
80
81
82 ALTER TABLE public.cleanup_event_dataset_association OWNER TO lite;
83
84 --
85 -- Name: cleanup_event_dataset_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
86 --
87
88 CREATE SEQUENCE public.cleanup_event_dataset_association_id_seq
89 START WITH 1
90 INCREMENT BY 1
91 NO MINVALUE
92 NO MAXVALUE
93 CACHE 1;
94
95
96 ALTER TABLE public.cleanup_event_dataset_association_id_seq OWNER TO lite;
97
98 --
99 -- Name: cleanup_event_dataset_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
100 --
101
102 ALTER SEQUENCE public.cleanup_event_dataset_association_id_seq OWNED BY public.cleanup_event_dataset_association.id;
103
104
105 --
106 -- Name: cleanup_event_hda_association; Type: TABLE; Schema: public; Owner: lite
107 --
108
109 CREATE TABLE public.cleanup_event_hda_association (
110 id integer NOT NULL,
111 create_time timestamp without time zone,
112 cleanup_event_id integer,
113 hda_id integer
114 );
115
116
117 ALTER TABLE public.cleanup_event_hda_association OWNER TO lite;
118
119 --
120 -- Name: cleanup_event_hda_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
121 --
122
123 CREATE SEQUENCE public.cleanup_event_hda_association_id_seq
124 START WITH 1
125 INCREMENT BY 1
126 NO MINVALUE
127 NO MAXVALUE
128 CACHE 1;
129
130
131 ALTER TABLE public.cleanup_event_hda_association_id_seq OWNER TO lite;
132
133 --
134 -- Name: cleanup_event_hda_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
135 --
136
137 ALTER SEQUENCE public.cleanup_event_hda_association_id_seq OWNED BY public.cleanup_event_hda_association.id;
138
139
140 --
141 -- Name: cleanup_event_history_association; Type: TABLE; Schema: public; Owner: lite
142 --
143
144 CREATE TABLE public.cleanup_event_history_association (
145 id integer NOT NULL,
146 create_time timestamp without time zone,
147 cleanup_event_id integer,
148 history_id integer
149 );
150
151
152 ALTER TABLE public.cleanup_event_history_association OWNER TO lite;
153
154 --
155 -- Name: cleanup_event_history_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
156 --
157
158 CREATE SEQUENCE public.cleanup_event_history_association_id_seq
159 START WITH 1
160 INCREMENT BY 1
161 NO MINVALUE
162 NO MAXVALUE
163 CACHE 1;
164
165
166 ALTER TABLE public.cleanup_event_history_association_id_seq OWNER TO lite;
167
168 --
169 -- Name: cleanup_event_history_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
170 --
171
172 ALTER SEQUENCE public.cleanup_event_history_association_id_seq OWNED BY public.cleanup_event_history_association.id;
173
174
175 --
176 -- Name: cleanup_event_icda_association; Type: TABLE; Schema: public; Owner: lite
177 --
178
179 CREATE TABLE public.cleanup_event_icda_association (
180 id integer NOT NULL,
181 create_time timestamp without time zone,
182 cleanup_event_id integer,
183 icda_id integer
184 );
185
186
187 ALTER TABLE public.cleanup_event_icda_association OWNER TO lite;
188
189 --
190 -- Name: cleanup_event_icda_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
191 --
192
193 CREATE SEQUENCE public.cleanup_event_icda_association_id_seq
194 START WITH 1
195 INCREMENT BY 1
196 NO MINVALUE
197 NO MAXVALUE
198 CACHE 1;
199
200
201 ALTER TABLE public.cleanup_event_icda_association_id_seq OWNER TO lite;
202
203 --
204 -- Name: cleanup_event_icda_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
205 --
206
207 ALTER SEQUENCE public.cleanup_event_icda_association_id_seq OWNED BY public.cleanup_event_icda_association.id;
208
209
210 --
211 -- Name: cleanup_event_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
212 --
213
214 CREATE SEQUENCE public.cleanup_event_id_seq
215 START WITH 1
216 INCREMENT BY 1
217 NO MINVALUE
218 NO MAXVALUE
219 CACHE 1;
220
221
222 ALTER TABLE public.cleanup_event_id_seq OWNER TO lite;
223
224 --
225 -- Name: cleanup_event_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
226 --
227
228 ALTER SEQUENCE public.cleanup_event_id_seq OWNED BY public.cleanup_event.id;
229
230
231 --
232 -- Name: cleanup_event_ldda_association; Type: TABLE; Schema: public; Owner: lite
233 --
234
235 CREATE TABLE public.cleanup_event_ldda_association (
236 id integer NOT NULL,
237 create_time timestamp without time zone,
238 cleanup_event_id integer,
239 ldda_id integer
240 );
241
242
243 ALTER TABLE public.cleanup_event_ldda_association OWNER TO lite;
244
245 --
246 -- Name: cleanup_event_ldda_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
247 --
248
249 CREATE SEQUENCE public.cleanup_event_ldda_association_id_seq
250 START WITH 1
251 INCREMENT BY 1
252 NO MINVALUE
253 NO MAXVALUE
254 CACHE 1;
255
256
257 ALTER TABLE public.cleanup_event_ldda_association_id_seq OWNER TO lite;
258
259 --
260 -- Name: cleanup_event_ldda_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
261 --
262
263 ALTER SEQUENCE public.cleanup_event_ldda_association_id_seq OWNED BY public.cleanup_event_ldda_association.id;
264
265
266 --
267 -- Name: cleanup_event_library_association; Type: TABLE; Schema: public; Owner: lite
268 --
269
270 CREATE TABLE public.cleanup_event_library_association (
271 id integer NOT NULL,
272 create_time timestamp without time zone,
273 cleanup_event_id integer,
274 library_id integer
275 );
276
277
278 ALTER TABLE public.cleanup_event_library_association OWNER TO lite;
279
280 --
281 -- Name: cleanup_event_library_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
282 --
283
284 CREATE SEQUENCE public.cleanup_event_library_association_id_seq
285 START WITH 1
286 INCREMENT BY 1
287 NO MINVALUE
288 NO MAXVALUE
289 CACHE 1;
290
291
292 ALTER TABLE public.cleanup_event_library_association_id_seq OWNER TO lite;
293
294 --
295 -- Name: cleanup_event_library_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
296 --
297
298 ALTER SEQUENCE public.cleanup_event_library_association_id_seq OWNED BY public.cleanup_event_library_association.id;
299
300
301 --
302 -- Name: cleanup_event_library_dataset_association; Type: TABLE; Schema: public; Owner: lite
303 --
304
305 CREATE TABLE public.cleanup_event_library_dataset_association (
306 id integer NOT NULL,
307 create_time timestamp without time zone,
308 cleanup_event_id integer,
309 library_dataset_id integer
310 );
311
312
313 ALTER TABLE public.cleanup_event_library_dataset_association OWNER TO lite;
314
315 --
316 -- Name: cleanup_event_library_dataset_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
317 --
318
319 CREATE SEQUENCE public.cleanup_event_library_dataset_association_id_seq
320 START WITH 1
321 INCREMENT BY 1
322 NO MINVALUE
323 NO MAXVALUE
324 CACHE 1;
325
326
327 ALTER TABLE public.cleanup_event_library_dataset_association_id_seq OWNER TO lite;
328
329 --
330 -- Name: cleanup_event_library_dataset_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
331 --
332
333 ALTER SEQUENCE public.cleanup_event_library_dataset_association_id_seq OWNED BY public.cleanup_event_library_dataset_association.id;
334
335
336 --
337 -- Name: cleanup_event_library_folder_association; Type: TABLE; Schema: public; Owner: lite
338 --
339
340 CREATE TABLE public.cleanup_event_library_folder_association (
341 id integer NOT NULL,
342 create_time timestamp without time zone,
343 cleanup_event_id integer,
344 library_folder_id integer
345 );
346
347
348 ALTER TABLE public.cleanup_event_library_folder_association OWNER TO lite;
349
350 --
351 -- Name: cleanup_event_library_folder_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
352 --
353
354 CREATE SEQUENCE public.cleanup_event_library_folder_association_id_seq
355 START WITH 1
356 INCREMENT BY 1
357 NO MINVALUE
358 NO MAXVALUE
359 CACHE 1;
360
361
362 ALTER TABLE public.cleanup_event_library_folder_association_id_seq OWNER TO lite;
363
364 --
365 -- Name: cleanup_event_library_folder_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
366 --
367
368 ALTER SEQUENCE public.cleanup_event_library_folder_association_id_seq OWNED BY public.cleanup_event_library_folder_association.id;
369
370
371 --
372 -- Name: cleanup_event_metadata_file_association; Type: TABLE; Schema: public; Owner: lite
373 --
374
375 CREATE TABLE public.cleanup_event_metadata_file_association (
376 id integer NOT NULL,
377 create_time timestamp without time zone,
378 cleanup_event_id integer,
379 metadata_file_id integer
380 );
381
382
383 ALTER TABLE public.cleanup_event_metadata_file_association OWNER TO lite;
384
385 --
386 -- Name: cleanup_event_metadata_file_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
387 --
388
389 CREATE SEQUENCE public.cleanup_event_metadata_file_association_id_seq
390 START WITH 1
391 INCREMENT BY 1
392 NO MINVALUE
393 NO MAXVALUE
394 CACHE 1;
395
396
397 ALTER TABLE public.cleanup_event_metadata_file_association_id_seq OWNER TO lite;
398
399 --
400 -- Name: cleanup_event_metadata_file_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
401 --
402
403 ALTER SEQUENCE public.cleanup_event_metadata_file_association_id_seq OWNED BY public.cleanup_event_metadata_file_association.id;
404
405
406 --
407 -- Name: data_manager_history_association; Type: TABLE; Schema: public; Owner: lite
408 --
409
410 CREATE TABLE public.data_manager_history_association (
411 id integer NOT NULL,
412 create_time timestamp without time zone,
413 update_time timestamp without time zone,
414 history_id integer,
415 user_id integer
416 );
417
418
419 ALTER TABLE public.data_manager_history_association OWNER TO lite;
420
421 --
422 -- Name: data_manager_history_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
423 --
424
425 CREATE SEQUENCE public.data_manager_history_association_id_seq
426 START WITH 1
427 INCREMENT BY 1
428 NO MINVALUE
429 NO MAXVALUE
430 CACHE 1;
431
432
433 ALTER TABLE public.data_manager_history_association_id_seq OWNER TO lite;
434
435 --
436 -- Name: data_manager_history_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
437 --
438
439 ALTER SEQUENCE public.data_manager_history_association_id_seq OWNED BY public.data_manager_history_association.id;
440
441
442 --
443 -- Name: data_manager_job_association; Type: TABLE; Schema: public; Owner: lite
444 --
445
446 CREATE TABLE public.data_manager_job_association (
447 id integer NOT NULL,
448 create_time timestamp without time zone,
449 update_time timestamp without time zone,
450 job_id integer,
451 data_manager_id text
452 );
453
454
455 ALTER TABLE public.data_manager_job_association OWNER TO lite;
456
457 --
458 -- Name: data_manager_job_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
459 --
460
461 CREATE SEQUENCE public.data_manager_job_association_id_seq
462 START WITH 1
463 INCREMENT BY 1
464 NO MINVALUE
465 NO MAXVALUE
466 CACHE 1;
467
468
469 ALTER TABLE public.data_manager_job_association_id_seq OWNER TO lite;
470
471 --
472 -- Name: data_manager_job_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
473 --
474
475 ALTER SEQUENCE public.data_manager_job_association_id_seq OWNED BY public.data_manager_job_association.id;
476
477
478 --
479 -- Name: dataset; Type: TABLE; Schema: public; Owner: lite
480 --
481
482 CREATE TABLE public.dataset (
483 id integer NOT NULL,
484 create_time timestamp without time zone,
485 update_time timestamp without time zone,
486 state character varying(64),
487 deleted boolean,
488 purged boolean,
489 purgable boolean,
490 external_filename text,
491 _extra_files_path text,
492 file_size numeric(15,0),
493 total_size numeric(15,0),
494 object_store_id character varying(255),
495 uuid character(32)
496 );
497
498
499 ALTER TABLE public.dataset OWNER TO lite;
500
501 --
502 -- Name: dataset_collection; Type: TABLE; Schema: public; Owner: lite
503 --
504
505 CREATE TABLE public.dataset_collection (
506 id integer NOT NULL,
507 collection_type character varying(255) NOT NULL,
508 create_time timestamp without time zone,
509 update_time timestamp without time zone,
510 populated_state character varying(64) DEFAULT 'ok'::character varying NOT NULL,
511 populated_state_message text
512 );
513
514
515 ALTER TABLE public.dataset_collection OWNER TO lite;
516
517 --
518 -- Name: dataset_collection_element; Type: TABLE; Schema: public; Owner: lite
519 --
520
521 CREATE TABLE public.dataset_collection_element (
522 id integer NOT NULL,
523 dataset_collection_id integer NOT NULL,
524 hda_id integer,
525 ldda_id integer,
526 child_collection_id integer,
527 element_index integer NOT NULL,
528 element_identifier character varying(255) NOT NULL
529 );
530
531
532 ALTER TABLE public.dataset_collection_element OWNER TO lite;
533
534 --
535 -- Name: dataset_collection_element_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
536 --
537
538 CREATE SEQUENCE public.dataset_collection_element_id_seq
539 START WITH 1
540 INCREMENT BY 1
541 NO MINVALUE
542 NO MAXVALUE
543 CACHE 1;
544
545
546 ALTER TABLE public.dataset_collection_element_id_seq OWNER TO lite;
547
548 --
549 -- Name: dataset_collection_element_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
550 --
551
552 ALTER SEQUENCE public.dataset_collection_element_id_seq OWNED BY public.dataset_collection_element.id;
553
554
555 --
556 -- Name: dataset_collection_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
557 --
558
559 CREATE SEQUENCE public.dataset_collection_id_seq
560 START WITH 1
561 INCREMENT BY 1
562 NO MINVALUE
563 NO MAXVALUE
564 CACHE 1;
565
566
567 ALTER TABLE public.dataset_collection_id_seq OWNER TO lite;
568
569 --
570 -- Name: dataset_collection_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
571 --
572
573 ALTER SEQUENCE public.dataset_collection_id_seq OWNED BY public.dataset_collection.id;
574
575
576 --
577 -- Name: dataset_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
578 --
579
580 CREATE SEQUENCE public.dataset_id_seq
581 START WITH 1
582 INCREMENT BY 1
583 NO MINVALUE
584 NO MAXVALUE
585 CACHE 1;
586
587
588 ALTER TABLE public.dataset_id_seq OWNER TO lite;
589
590 --
591 -- Name: dataset_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
592 --
593
594 ALTER SEQUENCE public.dataset_id_seq OWNED BY public.dataset.id;
595
596
597 --
598 -- Name: dataset_permissions; Type: TABLE; Schema: public; Owner: lite
599 --
600
601 CREATE TABLE public.dataset_permissions (
602 id integer NOT NULL,
603 create_time timestamp without time zone,
604 update_time timestamp without time zone,
605 action text,
606 dataset_id integer,
607 role_id integer
608 );
609
610
611 ALTER TABLE public.dataset_permissions OWNER TO lite;
612
613 --
614 -- Name: dataset_permissions_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
615 --
616
617 CREATE SEQUENCE public.dataset_permissions_id_seq
618 START WITH 1
619 INCREMENT BY 1
620 NO MINVALUE
621 NO MAXVALUE
622 CACHE 1;
623
624
625 ALTER TABLE public.dataset_permissions_id_seq OWNER TO lite;
626
627 --
628 -- Name: dataset_permissions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
629 --
630
631 ALTER SEQUENCE public.dataset_permissions_id_seq OWNED BY public.dataset_permissions.id;
632
633
634 --
635 -- Name: dataset_tag_association; Type: TABLE; Schema: public; Owner: lite
636 --
637
638 CREATE TABLE public.dataset_tag_association (
639 id integer NOT NULL,
640 dataset_id integer,
641 tag_id integer,
642 user_tname character varying(255),
643 value character varying(255),
644 user_value character varying(255)
645 );
646
647
648 ALTER TABLE public.dataset_tag_association OWNER TO lite;
649
650 --
651 -- Name: dataset_tag_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
652 --
653
654 CREATE SEQUENCE public.dataset_tag_association_id_seq
655 START WITH 1
656 INCREMENT BY 1
657 NO MINVALUE
658 NO MAXVALUE
659 CACHE 1;
660
661
662 ALTER TABLE public.dataset_tag_association_id_seq OWNER TO lite;
663
664 --
665 -- Name: dataset_tag_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
666 --
667
668 ALTER SEQUENCE public.dataset_tag_association_id_seq OWNED BY public.dataset_tag_association.id;
669
670
671 --
672 -- Name: default_history_permissions; Type: TABLE; Schema: public; Owner: lite
673 --
674
675 CREATE TABLE public.default_history_permissions (
676 id integer NOT NULL,
677 history_id integer,
678 action text,
679 role_id integer
680 );
681
682
683 ALTER TABLE public.default_history_permissions OWNER TO lite;
684
685 --
686 -- Name: default_history_permissions_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
687 --
688
689 CREATE SEQUENCE public.default_history_permissions_id_seq
690 START WITH 1
691 INCREMENT BY 1
692 NO MINVALUE
693 NO MAXVALUE
694 CACHE 1;
695
696
697 ALTER TABLE public.default_history_permissions_id_seq OWNER TO lite;
698
699 --
700 -- Name: default_history_permissions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
701 --
702
703 ALTER SEQUENCE public.default_history_permissions_id_seq OWNED BY public.default_history_permissions.id;
704
705
706 --
707 -- Name: default_quota_association; Type: TABLE; Schema: public; Owner: lite
708 --
709
710 CREATE TABLE public.default_quota_association (
711 id integer NOT NULL,
712 create_time timestamp without time zone,
713 update_time timestamp without time zone,
714 type character varying(32),
715 quota_id integer
716 );
717
718
719 ALTER TABLE public.default_quota_association OWNER TO lite;
720
721 --
722 -- Name: default_quota_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
723 --
724
725 CREATE SEQUENCE public.default_quota_association_id_seq
726 START WITH 1
727 INCREMENT BY 1
728 NO MINVALUE
729 NO MAXVALUE
730 CACHE 1;
731
732
733 ALTER TABLE public.default_quota_association_id_seq OWNER TO lite;
734
735 --
736 -- Name: default_quota_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
737 --
738
739 ALTER SEQUENCE public.default_quota_association_id_seq OWNED BY public.default_quota_association.id;
740
741
742 --
743 -- Name: default_user_permissions; Type: TABLE; Schema: public; Owner: lite
744 --
745
746 CREATE TABLE public.default_user_permissions (
747 id integer NOT NULL,
748 user_id integer,
749 action text,
750 role_id integer
751 );
752
753
754 ALTER TABLE public.default_user_permissions OWNER TO lite;
755
756 --
757 -- Name: default_user_permissions_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
758 --
759
760 CREATE SEQUENCE public.default_user_permissions_id_seq
761 START WITH 1
762 INCREMENT BY 1
763 NO MINVALUE
764 NO MAXVALUE
765 CACHE 1;
766
767
768 ALTER TABLE public.default_user_permissions_id_seq OWNER TO lite;
769
770 --
771 -- Name: default_user_permissions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
772 --
773
774 ALTER SEQUENCE public.default_user_permissions_id_seq OWNED BY public.default_user_permissions.id;
775
776
777 --
778 -- Name: deferred_job; Type: TABLE; Schema: public; Owner: lite
779 --
780
781 CREATE TABLE public.deferred_job (
782 id integer NOT NULL,
783 create_time timestamp without time zone,
784 update_time timestamp without time zone,
785 state character varying(64),
786 plugin character varying(128),
787 params bytea
788 );
789
790
791 ALTER TABLE public.deferred_job OWNER TO lite;
792
793 --
794 -- Name: deferred_job_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
795 --
796
797 CREATE SEQUENCE public.deferred_job_id_seq
798 START WITH 1
799 INCREMENT BY 1
800 NO MINVALUE
801 NO MAXVALUE
802 CACHE 1;
803
804
805 ALTER TABLE public.deferred_job_id_seq OWNER TO lite;
806
807 --
808 -- Name: deferred_job_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
809 --
810
811 ALTER SEQUENCE public.deferred_job_id_seq OWNED BY public.deferred_job.id;
812
813
814 --
815 -- Name: event; Type: TABLE; Schema: public; Owner: lite
816 --
817
818 CREATE TABLE public.event (
819 id integer NOT NULL,
820 create_time timestamp without time zone,
821 update_time timestamp without time zone,
822 history_id integer,
823 user_id integer,
824 message character varying(1024),
825 session_id integer,
826 tool_id character varying(255)
827 );
828
829
830 ALTER TABLE public.event OWNER TO lite;
831
832 --
833 -- Name: event_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
834 --
835
836 CREATE SEQUENCE public.event_id_seq
837 START WITH 1
838 INCREMENT BY 1
839 NO MINVALUE
840 NO MAXVALUE
841 CACHE 1;
842
843
844 ALTER TABLE public.event_id_seq OWNER TO lite;
845
846 --
847 -- Name: event_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
848 --
849
850 ALTER SEQUENCE public.event_id_seq OWNED BY public.event.id;
851
852
853 --
854 -- Name: extended_metadata; Type: TABLE; Schema: public; Owner: lite
855 --
856
857 CREATE TABLE public.extended_metadata (
858 id integer NOT NULL,
859 data bytea
860 );
861
862
863 ALTER TABLE public.extended_metadata OWNER TO lite;
864
865 --
866 -- Name: extended_metadata_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
867 --
868
869 CREATE SEQUENCE public.extended_metadata_id_seq
870 START WITH 1
871 INCREMENT BY 1
872 NO MINVALUE
873 NO MAXVALUE
874 CACHE 1;
875
876
877 ALTER TABLE public.extended_metadata_id_seq OWNER TO lite;
878
879 --
880 -- Name: extended_metadata_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
881 --
882
883 ALTER SEQUENCE public.extended_metadata_id_seq OWNED BY public.extended_metadata.id;
884
885
886 --
887 -- Name: extended_metadata_index; Type: TABLE; Schema: public; Owner: lite
888 --
889
890 CREATE TABLE public.extended_metadata_index (
891 id integer NOT NULL,
892 extended_metadata_id integer,
893 path character varying(255),
894 value text
895 );
896
897
898 ALTER TABLE public.extended_metadata_index OWNER TO lite;
899
900 --
901 -- Name: extended_metadata_index_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
902 --
903
904 CREATE SEQUENCE public.extended_metadata_index_id_seq
905 START WITH 1
906 INCREMENT BY 1
907 NO MINVALUE
908 NO MAXVALUE
909 CACHE 1;
910
911
912 ALTER TABLE public.extended_metadata_index_id_seq OWNER TO lite;
913
914 --
915 -- Name: extended_metadata_index_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
916 --
917
918 ALTER SEQUENCE public.extended_metadata_index_id_seq OWNED BY public.extended_metadata_index.id;
919
920
921 --
922 -- Name: external_service; Type: TABLE; Schema: public; Owner: lite
923 --
924
925 CREATE TABLE public.external_service (
926 id integer NOT NULL,
927 create_time timestamp without time zone,
928 update_time timestamp without time zone,
929 name character varying(255) NOT NULL,
930 description text,
931 version character varying(255),
932 form_definition_id integer,
933 form_values_id integer,
934 deleted boolean,
935 external_service_type_id character varying(255)
936 );
937
938
939 ALTER TABLE public.external_service OWNER TO lite;
940
941 --
942 -- Name: external_service_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
943 --
944
945 CREATE SEQUENCE public.external_service_id_seq
946 START WITH 1
947 INCREMENT BY 1
948 NO MINVALUE
949 NO MAXVALUE
950 CACHE 1;
951
952
953 ALTER TABLE public.external_service_id_seq OWNER TO lite;
954
955 --
956 -- Name: external_service_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
957 --
958
959 ALTER SEQUENCE public.external_service_id_seq OWNED BY public.external_service.id;
960
961
962 --
963 -- Name: form_definition; Type: TABLE; Schema: public; Owner: lite
964 --
965
966 CREATE TABLE public.form_definition (
967 id integer NOT NULL,
968 create_time timestamp without time zone,
969 update_time timestamp without time zone,
970 name character varying(255) NOT NULL,
971 "desc" text,
972 form_definition_current_id integer NOT NULL,
973 fields bytea,
974 type character varying(255),
975 layout bytea
976 );
977
978
979 ALTER TABLE public.form_definition OWNER TO lite;
980
981 --
982 -- Name: form_definition_current; Type: TABLE; Schema: public; Owner: lite
983 --
984
985 CREATE TABLE public.form_definition_current (
986 id integer NOT NULL,
987 create_time timestamp without time zone,
988 update_time timestamp without time zone,
989 latest_form_id integer,
990 deleted boolean
991 );
992
993
994 ALTER TABLE public.form_definition_current OWNER TO lite;
995
996 --
997 -- Name: form_definition_current_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
998 --
999
1000 CREATE SEQUENCE public.form_definition_current_id_seq
1001 START WITH 1
1002 INCREMENT BY 1
1003 NO MINVALUE
1004 NO MAXVALUE
1005 CACHE 1;
1006
1007
1008 ALTER TABLE public.form_definition_current_id_seq OWNER TO lite;
1009
1010 --
1011 -- Name: form_definition_current_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1012 --
1013
1014 ALTER SEQUENCE public.form_definition_current_id_seq OWNED BY public.form_definition_current.id;
1015
1016
1017 --
1018 -- Name: form_definition_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1019 --
1020
1021 CREATE SEQUENCE public.form_definition_id_seq
1022 START WITH 1
1023 INCREMENT BY 1
1024 NO MINVALUE
1025 NO MAXVALUE
1026 CACHE 1;
1027
1028
1029 ALTER TABLE public.form_definition_id_seq OWNER TO lite;
1030
1031 --
1032 -- Name: form_definition_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1033 --
1034
1035 ALTER SEQUENCE public.form_definition_id_seq OWNED BY public.form_definition.id;
1036
1037
1038 --
1039 -- Name: form_values; Type: TABLE; Schema: public; Owner: lite
1040 --
1041
1042 CREATE TABLE public.form_values (
1043 id integer NOT NULL,
1044 create_time timestamp without time zone,
1045 update_time timestamp without time zone,
1046 form_definition_id integer,
1047 content bytea
1048 );
1049
1050
1051 ALTER TABLE public.form_values OWNER TO lite;
1052
1053 --
1054 -- Name: form_values_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1055 --
1056
1057 CREATE SEQUENCE public.form_values_id_seq
1058 START WITH 1
1059 INCREMENT BY 1
1060 NO MINVALUE
1061 NO MAXVALUE
1062 CACHE 1;
1063
1064
1065 ALTER TABLE public.form_values_id_seq OWNER TO lite;
1066
1067 --
1068 -- Name: form_values_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1069 --
1070
1071 ALTER SEQUENCE public.form_values_id_seq OWNED BY public.form_values.id;
1072
1073
1074 --
1075 -- Name: galaxy_group; Type: TABLE; Schema: public; Owner: lite
1076 --
1077
1078 CREATE TABLE public.galaxy_group (
1079 id integer NOT NULL,
1080 create_time timestamp without time zone,
1081 update_time timestamp without time zone,
1082 name character varying(255),
1083 deleted boolean
1084 );
1085
1086
1087 ALTER TABLE public.galaxy_group OWNER TO lite;
1088
1089 --
1090 -- Name: galaxy_group_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1091 --
1092
1093 CREATE SEQUENCE public.galaxy_group_id_seq
1094 START WITH 1
1095 INCREMENT BY 1
1096 NO MINVALUE
1097 NO MAXVALUE
1098 CACHE 1;
1099
1100
1101 ALTER TABLE public.galaxy_group_id_seq OWNER TO lite;
1102
1103 --
1104 -- Name: galaxy_group_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1105 --
1106
1107 ALTER SEQUENCE public.galaxy_group_id_seq OWNED BY public.galaxy_group.id;
1108
1109
1110 --
1111 -- Name: galaxy_session; Type: TABLE; Schema: public; Owner: lite
1112 --
1113
1114 CREATE TABLE public.galaxy_session (
1115 id integer NOT NULL,
1116 create_time timestamp without time zone,
1117 update_time timestamp without time zone,
1118 user_id integer,
1119 remote_host character varying(255),
1120 remote_addr character varying(255),
1121 referer text,
1122 current_history_id integer,
1123 session_key character varying(255),
1124 is_valid boolean,
1125 prev_session_id integer,
1126 disk_usage numeric(15,0),
1127 last_action timestamp without time zone
1128 );
1129
1130
1131 ALTER TABLE public.galaxy_session OWNER TO lite;
1132
1133 --
1134 -- Name: galaxy_session_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1135 --
1136
1137 CREATE SEQUENCE public.galaxy_session_id_seq
1138 START WITH 1
1139 INCREMENT BY 1
1140 NO MINVALUE
1141 NO MAXVALUE
1142 CACHE 1;
1143
1144
1145 ALTER TABLE public.galaxy_session_id_seq OWNER TO lite;
1146
1147 --
1148 -- Name: galaxy_session_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1149 --
1150
1151 ALTER SEQUENCE public.galaxy_session_id_seq OWNED BY public.galaxy_session.id;
1152
1153
1154 --
1155 -- Name: galaxy_session_to_history; Type: TABLE; Schema: public; Owner: lite
1156 --
1157
1158 CREATE TABLE public.galaxy_session_to_history (
1159 id integer NOT NULL,
1160 create_time timestamp without time zone,
1161 session_id integer,
1162 history_id integer
1163 );
1164
1165
1166 ALTER TABLE public.galaxy_session_to_history OWNER TO lite;
1167
1168 --
1169 -- Name: galaxy_session_to_history_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1170 --
1171
1172 CREATE SEQUENCE public.galaxy_session_to_history_id_seq
1173 START WITH 1
1174 INCREMENT BY 1
1175 NO MINVALUE
1176 NO MAXVALUE
1177 CACHE 1;
1178
1179
1180 ALTER TABLE public.galaxy_session_to_history_id_seq OWNER TO lite;
1181
1182 --
1183 -- Name: galaxy_session_to_history_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1184 --
1185
1186 ALTER SEQUENCE public.galaxy_session_to_history_id_seq OWNED BY public.galaxy_session_to_history.id;
1187
1188
1189 --
1190 -- Name: galaxy_user; Type: TABLE; Schema: public; Owner: lite
1191 --
1192
1193 CREATE TABLE public.galaxy_user (
1194 id integer NOT NULL,
1195 create_time timestamp without time zone,
1196 update_time timestamp without time zone,
1197 email character varying(255) NOT NULL,
1198 password character varying(255) NOT NULL,
1199 external boolean,
1200 deleted boolean,
1201 purged boolean,
1202 username character varying(255),
1203 form_values_id integer,
1204 disk_usage numeric(15,0),
1205 activation_token character varying(64),
1206 active boolean,
1207 last_password_change timestamp without time zone
1208 );
1209
1210
1211 ALTER TABLE public.galaxy_user OWNER TO lite;
1212
1213 --
1214 -- Name: galaxy_user_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1215 --
1216
1217 CREATE SEQUENCE public.galaxy_user_id_seq
1218 START WITH 1
1219 INCREMENT BY 1
1220 NO MINVALUE
1221 NO MAXVALUE
1222 CACHE 1;
1223
1224
1225 ALTER TABLE public.galaxy_user_id_seq OWNER TO lite;
1226
1227 --
1228 -- Name: galaxy_user_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1229 --
1230
1231 ALTER SEQUENCE public.galaxy_user_id_seq OWNED BY public.galaxy_user.id;
1232
1233
1234 --
1235 -- Name: galaxy_user_openid; Type: TABLE; Schema: public; Owner: lite
1236 --
1237
1238 CREATE TABLE public.galaxy_user_openid (
1239 id integer NOT NULL,
1240 create_time timestamp without time zone,
1241 update_time timestamp without time zone,
1242 session_id integer,
1243 user_id integer,
1244 openid text,
1245 provider character varying(255)
1246 );
1247
1248
1249 ALTER TABLE public.galaxy_user_openid OWNER TO lite;
1250
1251 --
1252 -- Name: galaxy_user_openid_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1253 --
1254
1255 CREATE SEQUENCE public.galaxy_user_openid_id_seq
1256 START WITH 1
1257 INCREMENT BY 1
1258 NO MINVALUE
1259 NO MAXVALUE
1260 CACHE 1;
1261
1262
1263 ALTER TABLE public.galaxy_user_openid_id_seq OWNER TO lite;
1264
1265 --
1266 -- Name: galaxy_user_openid_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1267 --
1268
1269 ALTER SEQUENCE public.galaxy_user_openid_id_seq OWNED BY public.galaxy_user_openid.id;
1270
1271
1272 --
1273 -- Name: genome_index_tool_data; Type: TABLE; Schema: public; Owner: lite
1274 --
1275
1276 CREATE TABLE public.genome_index_tool_data (
1277 id integer NOT NULL,
1278 job_id integer,
1279 dataset_id integer,
1280 deferred_job_id integer,
1281 transfer_job_id integer,
1282 fasta_path character varying(255),
1283 created_time timestamp without time zone,
1284 modified_time timestamp without time zone,
1285 indexer character varying(64),
1286 user_id integer
1287 );
1288
1289
1290 ALTER TABLE public.genome_index_tool_data OWNER TO lite;
1291
1292 --
1293 -- Name: genome_index_tool_data_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1294 --
1295
1296 CREATE SEQUENCE public.genome_index_tool_data_id_seq
1297 START WITH 1
1298 INCREMENT BY 1
1299 NO MINVALUE
1300 NO MAXVALUE
1301 CACHE 1;
1302
1303
1304 ALTER TABLE public.genome_index_tool_data_id_seq OWNER TO lite;
1305
1306 --
1307 -- Name: genome_index_tool_data_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1308 --
1309
1310 ALTER SEQUENCE public.genome_index_tool_data_id_seq OWNED BY public.genome_index_tool_data.id;
1311
1312
1313 --
1314 -- Name: group_quota_association; Type: TABLE; Schema: public; Owner: lite
1315 --
1316
1317 CREATE TABLE public.group_quota_association (
1318 id integer NOT NULL,
1319 group_id integer,
1320 quota_id integer,
1321 create_time timestamp without time zone,
1322 update_time timestamp without time zone
1323 );
1324
1325
1326 ALTER TABLE public.group_quota_association OWNER TO lite;
1327
1328 --
1329 -- Name: group_quota_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1330 --
1331
1332 CREATE SEQUENCE public.group_quota_association_id_seq
1333 START WITH 1
1334 INCREMENT BY 1
1335 NO MINVALUE
1336 NO MAXVALUE
1337 CACHE 1;
1338
1339
1340 ALTER TABLE public.group_quota_association_id_seq OWNER TO lite;
1341
1342 --
1343 -- Name: group_quota_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1344 --
1345
1346 ALTER SEQUENCE public.group_quota_association_id_seq OWNED BY public.group_quota_association.id;
1347
1348
1349 --
1350 -- Name: group_role_association; Type: TABLE; Schema: public; Owner: lite
1351 --
1352
1353 CREATE TABLE public.group_role_association (
1354 id integer NOT NULL,
1355 group_id integer,
1356 role_id integer,
1357 create_time timestamp without time zone,
1358 update_time timestamp without time zone
1359 );
1360
1361
1362 ALTER TABLE public.group_role_association OWNER TO lite;
1363
1364 --
1365 -- Name: group_role_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1366 --
1367
1368 CREATE SEQUENCE public.group_role_association_id_seq
1369 START WITH 1
1370 INCREMENT BY 1
1371 NO MINVALUE
1372 NO MAXVALUE
1373 CACHE 1;
1374
1375
1376 ALTER TABLE public.group_role_association_id_seq OWNER TO lite;
1377
1378 --
1379 -- Name: group_role_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1380 --
1381
1382 ALTER SEQUENCE public.group_role_association_id_seq OWNED BY public.group_role_association.id;
1383
1384
1385 --
1386 -- Name: history; Type: TABLE; Schema: public; Owner: lite
1387 --
1388
1389 CREATE TABLE public.history (
1390 id integer NOT NULL,
1391 create_time timestamp without time zone,
1392 update_time timestamp without time zone,
1393 user_id integer,
1394 name character varying(255),
1395 hid_counter integer,
1396 deleted boolean,
1397 purged boolean,
1398 genome_build character varying(40),
1399 importable boolean,
1400 slug text,
1401 published boolean,
1402 importing boolean
1403 );
1404
1405
1406 ALTER TABLE public.history OWNER TO lite;
1407
1408 --
1409 -- Name: history_annotation_association; Type: TABLE; Schema: public; Owner: lite
1410 --
1411
1412 CREATE TABLE public.history_annotation_association (
1413 id integer NOT NULL,
1414 history_id integer,
1415 user_id integer,
1416 annotation text
1417 );
1418
1419
1420 ALTER TABLE public.history_annotation_association OWNER TO lite;
1421
1422 --
1423 -- Name: history_annotation_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1424 --
1425
1426 CREATE SEQUENCE public.history_annotation_association_id_seq
1427 START WITH 1
1428 INCREMENT BY 1
1429 NO MINVALUE
1430 NO MAXVALUE
1431 CACHE 1;
1432
1433
1434 ALTER TABLE public.history_annotation_association_id_seq OWNER TO lite;
1435
1436 --
1437 -- Name: history_annotation_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1438 --
1439
1440 ALTER SEQUENCE public.history_annotation_association_id_seq OWNED BY public.history_annotation_association.id;
1441
1442
1443 --
1444 -- Name: history_dataset_association; Type: TABLE; Schema: public; Owner: lite
1445 --
1446
1447 CREATE TABLE public.history_dataset_association (
1448 id integer NOT NULL,
1449 history_id integer,
1450 dataset_id integer,
1451 create_time timestamp without time zone,
1452 update_time timestamp without time zone,
1453 copied_from_history_dataset_association_id integer,
1454 hid integer,
1455 name character varying(255),
1456 info character varying(255),
1457 blurb character varying(255),
1458 peek text,
1459 extension character varying(64),
1460 metadata bytea,
1461 parent_id integer,
1462 designation character varying(255),
1463 deleted boolean,
1464 visible boolean,
1465 copied_from_library_dataset_dataset_association_id integer,
1466 state character varying(64),
1467 purged boolean,
1468 tool_version text,
1469 extended_metadata_id integer,
1470 hidden_beneath_collection_instance_id integer
1471 );
1472
1473
1474 ALTER TABLE public.history_dataset_association OWNER TO lite;
1475
1476 --
1477 -- Name: history_dataset_association_annotation_association; Type: TABLE; Schema: public; Owner: lite
1478 --
1479
1480 CREATE TABLE public.history_dataset_association_annotation_association (
1481 id integer NOT NULL,
1482 history_dataset_association_id integer,
1483 user_id integer,
1484 annotation text
1485 );
1486
1487
1488 ALTER TABLE public.history_dataset_association_annotation_association OWNER TO lite;
1489
1490 --
1491 -- Name: history_dataset_association_annotation_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1492 --
1493
1494 CREATE SEQUENCE public.history_dataset_association_annotation_association_id_seq
1495 START WITH 1
1496 INCREMENT BY 1
1497 NO MINVALUE
1498 NO MAXVALUE
1499 CACHE 1;
1500
1501
1502 ALTER TABLE public.history_dataset_association_annotation_association_id_seq OWNER TO lite;
1503
1504 --
1505 -- Name: history_dataset_association_annotation_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1506 --
1507
1508 ALTER SEQUENCE public.history_dataset_association_annotation_association_id_seq OWNED BY public.history_dataset_association_annotation_association.id;
1509
1510
1511 --
1512 -- Name: history_dataset_association_display_at_authorization; Type: TABLE; Schema: public; Owner: lite
1513 --
1514
1515 CREATE TABLE public.history_dataset_association_display_at_authorization (
1516 id integer NOT NULL,
1517 create_time timestamp without time zone,
1518 update_time timestamp without time zone,
1519 history_dataset_association_id integer,
1520 user_id integer,
1521 site character varying(255)
1522 );
1523
1524
1525 ALTER TABLE public.history_dataset_association_display_at_authorization OWNER TO lite;
1526
1527 --
1528 -- Name: history_dataset_association_display_at_authorization_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1529 --
1530
1531 CREATE SEQUENCE public.history_dataset_association_display_at_authorization_id_seq
1532 START WITH 1
1533 INCREMENT BY 1
1534 NO MINVALUE
1535 NO MAXVALUE
1536 CACHE 1;
1537
1538
1539 ALTER TABLE public.history_dataset_association_display_at_authorization_id_seq OWNER TO lite;
1540
1541 --
1542 -- Name: history_dataset_association_display_at_authorization_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1543 --
1544
1545 ALTER SEQUENCE public.history_dataset_association_display_at_authorization_id_seq OWNED BY public.history_dataset_association_display_at_authorization.id;
1546
1547
1548 --
1549 -- Name: history_dataset_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1550 --
1551
1552 CREATE SEQUENCE public.history_dataset_association_id_seq
1553 START WITH 1
1554 INCREMENT BY 1
1555 NO MINVALUE
1556 NO MAXVALUE
1557 CACHE 1;
1558
1559
1560 ALTER TABLE public.history_dataset_association_id_seq OWNER TO lite;
1561
1562 --
1563 -- Name: history_dataset_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1564 --
1565
1566 ALTER SEQUENCE public.history_dataset_association_id_seq OWNED BY public.history_dataset_association.id;
1567
1568
1569 --
1570 -- Name: history_dataset_association_rating_association; Type: TABLE; Schema: public; Owner: lite
1571 --
1572
1573 CREATE TABLE public.history_dataset_association_rating_association (
1574 id integer NOT NULL,
1575 history_dataset_association_id integer,
1576 user_id integer,
1577 rating integer
1578 );
1579
1580
1581 ALTER TABLE public.history_dataset_association_rating_association OWNER TO lite;
1582
1583 --
1584 -- Name: history_dataset_association_rating_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1585 --
1586
1587 CREATE SEQUENCE public.history_dataset_association_rating_association_id_seq
1588 START WITH 1
1589 INCREMENT BY 1
1590 NO MINVALUE
1591 NO MAXVALUE
1592 CACHE 1;
1593
1594
1595 ALTER TABLE public.history_dataset_association_rating_association_id_seq OWNER TO lite;
1596
1597 --
1598 -- Name: history_dataset_association_rating_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1599 --
1600
1601 ALTER SEQUENCE public.history_dataset_association_rating_association_id_seq OWNED BY public.history_dataset_association_rating_association.id;
1602
1603
1604 --
1605 -- Name: history_dataset_association_subset; Type: TABLE; Schema: public; Owner: lite
1606 --
1607
1608 CREATE TABLE public.history_dataset_association_subset (
1609 id integer NOT NULL,
1610 history_dataset_association_id integer,
1611 history_dataset_association_subset_id integer,
1612 location character varying(255)
1613 );
1614
1615
1616 ALTER TABLE public.history_dataset_association_subset OWNER TO lite;
1617
1618 --
1619 -- Name: history_dataset_association_subset_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1620 --
1621
1622 CREATE SEQUENCE public.history_dataset_association_subset_id_seq
1623 START WITH 1
1624 INCREMENT BY 1
1625 NO MINVALUE
1626 NO MAXVALUE
1627 CACHE 1;
1628
1629
1630 ALTER TABLE public.history_dataset_association_subset_id_seq OWNER TO lite;
1631
1632 --
1633 -- Name: history_dataset_association_subset_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1634 --
1635
1636 ALTER SEQUENCE public.history_dataset_association_subset_id_seq OWNED BY public.history_dataset_association_subset.id;
1637
1638
1639 --
1640 -- Name: history_dataset_association_tag_association; Type: TABLE; Schema: public; Owner: lite
1641 --
1642
1643 CREATE TABLE public.history_dataset_association_tag_association (
1644 id integer NOT NULL,
1645 history_dataset_association_id integer,
1646 tag_id integer,
1647 user_tname character varying(255),
1648 value character varying(255),
1649 user_value character varying(255),
1650 user_id integer
1651 );
1652
1653
1654 ALTER TABLE public.history_dataset_association_tag_association OWNER TO lite;
1655
1656 --
1657 -- Name: history_dataset_association_tag_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1658 --
1659
1660 CREATE SEQUENCE public.history_dataset_association_tag_association_id_seq
1661 START WITH 1
1662 INCREMENT BY 1
1663 NO MINVALUE
1664 NO MAXVALUE
1665 CACHE 1;
1666
1667
1668 ALTER TABLE public.history_dataset_association_tag_association_id_seq OWNER TO lite;
1669
1670 --
1671 -- Name: history_dataset_association_tag_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1672 --
1673
1674 ALTER SEQUENCE public.history_dataset_association_tag_association_id_seq OWNED BY public.history_dataset_association_tag_association.id;
1675
1676
1677 --
1678 -- Name: history_dataset_collection_annotation_association; Type: TABLE; Schema: public; Owner: lite
1679 --
1680
1681 CREATE TABLE public.history_dataset_collection_annotation_association (
1682 id integer NOT NULL,
1683 history_dataset_collection_id integer,
1684 user_id integer,
1685 annotation text
1686 );
1687
1688
1689 ALTER TABLE public.history_dataset_collection_annotation_association OWNER TO lite;
1690
1691 --
1692 -- Name: history_dataset_collection_annotation_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1693 --
1694
1695 CREATE SEQUENCE public.history_dataset_collection_annotation_association_id_seq
1696 START WITH 1
1697 INCREMENT BY 1
1698 NO MINVALUE
1699 NO MAXVALUE
1700 CACHE 1;
1701
1702
1703 ALTER TABLE public.history_dataset_collection_annotation_association_id_seq OWNER TO lite;
1704
1705 --
1706 -- Name: history_dataset_collection_annotation_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1707 --
1708
1709 ALTER SEQUENCE public.history_dataset_collection_annotation_association_id_seq OWNED BY public.history_dataset_collection_annotation_association.id;
1710
1711
1712 --
1713 -- Name: history_dataset_collection_association; Type: TABLE; Schema: public; Owner: lite
1714 --
1715
1716 CREATE TABLE public.history_dataset_collection_association (
1717 id integer NOT NULL,
1718 collection_id integer,
1719 history_id integer,
1720 hid integer,
1721 name character varying(255),
1722 deleted boolean,
1723 visible boolean,
1724 copied_from_history_dataset_collection_association_id integer,
1725 implicit_output_name character varying(255)
1726 );
1727
1728
1729 ALTER TABLE public.history_dataset_collection_association OWNER TO lite;
1730
1731 --
1732 -- Name: history_dataset_collection_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1733 --
1734
1735 CREATE SEQUENCE public.history_dataset_collection_association_id_seq
1736 START WITH 1
1737 INCREMENT BY 1
1738 NO MINVALUE
1739 NO MAXVALUE
1740 CACHE 1;
1741
1742
1743 ALTER TABLE public.history_dataset_collection_association_id_seq OWNER TO lite;
1744
1745 --
1746 -- Name: history_dataset_collection_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1747 --
1748
1749 ALTER SEQUENCE public.history_dataset_collection_association_id_seq OWNED BY public.history_dataset_collection_association.id;
1750
1751
1752 --
1753 -- Name: history_dataset_collection_rating_association; Type: TABLE; Schema: public; Owner: lite
1754 --
1755
1756 CREATE TABLE public.history_dataset_collection_rating_association (
1757 id integer NOT NULL,
1758 history_dataset_collection_id integer,
1759 user_id integer,
1760 rating integer
1761 );
1762
1763
1764 ALTER TABLE public.history_dataset_collection_rating_association OWNER TO lite;
1765
1766 --
1767 -- Name: history_dataset_collection_rating_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1768 --
1769
1770 CREATE SEQUENCE public.history_dataset_collection_rating_association_id_seq
1771 START WITH 1
1772 INCREMENT BY 1
1773 NO MINVALUE
1774 NO MAXVALUE
1775 CACHE 1;
1776
1777
1778 ALTER TABLE public.history_dataset_collection_rating_association_id_seq OWNER TO lite;
1779
1780 --
1781 -- Name: history_dataset_collection_rating_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1782 --
1783
1784 ALTER SEQUENCE public.history_dataset_collection_rating_association_id_seq OWNED BY public.history_dataset_collection_rating_association.id;
1785
1786
1787 --
1788 -- Name: history_dataset_collection_tag_association; Type: TABLE; Schema: public; Owner: lite
1789 --
1790
1791 CREATE TABLE public.history_dataset_collection_tag_association (
1792 id integer NOT NULL,
1793 history_dataset_collection_id integer,
1794 tag_id integer,
1795 user_id integer,
1796 user_tname character varying(255),
1797 value character varying(255),
1798 user_value character varying(255)
1799 );
1800
1801
1802 ALTER TABLE public.history_dataset_collection_tag_association OWNER TO lite;
1803
1804 --
1805 -- Name: history_dataset_collection_tag_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1806 --
1807
1808 CREATE SEQUENCE public.history_dataset_collection_tag_association_id_seq
1809 START WITH 1
1810 INCREMENT BY 1
1811 NO MINVALUE
1812 NO MAXVALUE
1813 CACHE 1;
1814
1815
1816 ALTER TABLE public.history_dataset_collection_tag_association_id_seq OWNER TO lite;
1817
1818 --
1819 -- Name: history_dataset_collection_tag_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1820 --
1821
1822 ALTER SEQUENCE public.history_dataset_collection_tag_association_id_seq OWNED BY public.history_dataset_collection_tag_association.id;
1823
1824
1825 --
1826 -- Name: history_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1827 --
1828
1829 CREATE SEQUENCE public.history_id_seq
1830 START WITH 1
1831 INCREMENT BY 1
1832 NO MINVALUE
1833 NO MAXVALUE
1834 CACHE 1;
1835
1836
1837 ALTER TABLE public.history_id_seq OWNER TO lite;
1838
1839 --
1840 -- Name: history_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1841 --
1842
1843 ALTER SEQUENCE public.history_id_seq OWNED BY public.history.id;
1844
1845
1846 --
1847 -- Name: history_rating_association; Type: TABLE; Schema: public; Owner: lite
1848 --
1849
1850 CREATE TABLE public.history_rating_association (
1851 id integer NOT NULL,
1852 history_id integer,
1853 user_id integer,
1854 rating integer
1855 );
1856
1857
1858 ALTER TABLE public.history_rating_association OWNER TO lite;
1859
1860 --
1861 -- Name: history_rating_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1862 --
1863
1864 CREATE SEQUENCE public.history_rating_association_id_seq
1865 START WITH 1
1866 INCREMENT BY 1
1867 NO MINVALUE
1868 NO MAXVALUE
1869 CACHE 1;
1870
1871
1872 ALTER TABLE public.history_rating_association_id_seq OWNER TO lite;
1873
1874 --
1875 -- Name: history_rating_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1876 --
1877
1878 ALTER SEQUENCE public.history_rating_association_id_seq OWNED BY public.history_rating_association.id;
1879
1880
1881 --
1882 -- Name: history_tag_association; Type: TABLE; Schema: public; Owner: lite
1883 --
1884
1885 CREATE TABLE public.history_tag_association (
1886 id integer NOT NULL,
1887 history_id integer,
1888 tag_id integer,
1889 user_tname character varying(255),
1890 value character varying(255),
1891 user_value character varying(255),
1892 user_id integer
1893 );
1894
1895
1896 ALTER TABLE public.history_tag_association OWNER TO lite;
1897
1898 --
1899 -- Name: history_tag_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1900 --
1901
1902 CREATE SEQUENCE public.history_tag_association_id_seq
1903 START WITH 1
1904 INCREMENT BY 1
1905 NO MINVALUE
1906 NO MAXVALUE
1907 CACHE 1;
1908
1909
1910 ALTER TABLE public.history_tag_association_id_seq OWNER TO lite;
1911
1912 --
1913 -- Name: history_tag_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1914 --
1915
1916 ALTER SEQUENCE public.history_tag_association_id_seq OWNED BY public.history_tag_association.id;
1917
1918
1919 --
1920 -- Name: history_user_share_association; Type: TABLE; Schema: public; Owner: lite
1921 --
1922
1923 CREATE TABLE public.history_user_share_association (
1924 id integer NOT NULL,
1925 history_id integer,
1926 user_id integer
1927 );
1928
1929
1930 ALTER TABLE public.history_user_share_association OWNER TO lite;
1931
1932 --
1933 -- Name: history_user_share_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1934 --
1935
1936 CREATE SEQUENCE public.history_user_share_association_id_seq
1937 START WITH 1
1938 INCREMENT BY 1
1939 NO MINVALUE
1940 NO MAXVALUE
1941 CACHE 1;
1942
1943
1944 ALTER TABLE public.history_user_share_association_id_seq OWNER TO lite;
1945
1946 --
1947 -- Name: history_user_share_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1948 --
1949
1950 ALTER SEQUENCE public.history_user_share_association_id_seq OWNED BY public.history_user_share_association.id;
1951
1952
1953 --
1954 -- Name: implicitly_converted_dataset_association; Type: TABLE; Schema: public; Owner: lite
1955 --
1956
1957 CREATE TABLE public.implicitly_converted_dataset_association (
1958 id integer NOT NULL,
1959 create_time timestamp without time zone,
1960 update_time timestamp without time zone,
1961 hda_id integer,
1962 hda_parent_id integer,
1963 deleted boolean,
1964 metadata_safe boolean,
1965 type character varying(255),
1966 ldda_parent_id integer,
1967 ldda_id integer
1968 );
1969
1970
1971 ALTER TABLE public.implicitly_converted_dataset_association OWNER TO lite;
1972
1973 --
1974 -- Name: implicitly_converted_dataset_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
1975 --
1976
1977 CREATE SEQUENCE public.implicitly_converted_dataset_association_id_seq
1978 START WITH 1
1979 INCREMENT BY 1
1980 NO MINVALUE
1981 NO MAXVALUE
1982 CACHE 1;
1983
1984
1985 ALTER TABLE public.implicitly_converted_dataset_association_id_seq OWNER TO lite;
1986
1987 --
1988 -- Name: implicitly_converted_dataset_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
1989 --
1990
1991 ALTER SEQUENCE public.implicitly_converted_dataset_association_id_seq OWNED BY public.implicitly_converted_dataset_association.id;
1992
1993
1994 --
1995 -- Name: implicitly_created_dataset_collection_inputs; Type: TABLE; Schema: public; Owner: lite
1996 --
1997
1998 CREATE TABLE public.implicitly_created_dataset_collection_inputs (
1999 id integer NOT NULL,
2000 dataset_collection_id integer,
2001 input_dataset_collection_id integer,
2002 name character varying(255)
2003 );
2004
2005
2006 ALTER TABLE public.implicitly_created_dataset_collection_inputs OWNER TO lite;
2007
2008 --
2009 -- Name: implicitly_created_dataset_collection_inputs_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2010 --
2011
2012 CREATE SEQUENCE public.implicitly_created_dataset_collection_inputs_id_seq
2013 START WITH 1
2014 INCREMENT BY 1
2015 NO MINVALUE
2016 NO MAXVALUE
2017 CACHE 1;
2018
2019
2020 ALTER TABLE public.implicitly_created_dataset_collection_inputs_id_seq OWNER TO lite;
2021
2022 --
2023 -- Name: implicitly_created_dataset_collection_inputs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2024 --
2025
2026 ALTER SEQUENCE public.implicitly_created_dataset_collection_inputs_id_seq OWNED BY public.implicitly_created_dataset_collection_inputs.id;
2027
2028
2029 --
2030 -- Name: job; Type: TABLE; Schema: public; Owner: lite
2031 --
2032
2033 CREATE TABLE public.job (
2034 id integer NOT NULL,
2035 create_time timestamp without time zone,
2036 update_time timestamp without time zone,
2037 history_id integer,
2038 tool_id character varying(255),
2039 tool_version text,
2040 state character varying(64),
2041 info character varying(255),
2042 command_line text,
2043 param_filename character varying(1024),
2044 runner_name character varying(255),
2045 stdout text,
2046 stderr text,
2047 traceback text,
2048 session_id integer,
2049 job_runner_name character varying(255),
2050 job_runner_external_id character varying(255),
2051 library_folder_id integer,
2052 user_id integer,
2053 imported boolean,
2054 object_store_id character varying(255),
2055 params character varying(255),
2056 handler character varying(255),
2057 exit_code integer,
2058 destination_id character varying(255),
2059 destination_params bytea,
2060 dependencies bytea
2061 );
2062
2063
2064 ALTER TABLE public.job OWNER TO lite;
2065
2066 --
2067 -- Name: job_export_history_archive; Type: TABLE; Schema: public; Owner: lite
2068 --
2069
2070 CREATE TABLE public.job_export_history_archive (
2071 id integer NOT NULL,
2072 job_id integer,
2073 history_id integer,
2074 dataset_id integer,
2075 compressed boolean,
2076 history_attrs_filename text,
2077 datasets_attrs_filename text,
2078 jobs_attrs_filename text
2079 );
2080
2081
2082 ALTER TABLE public.job_export_history_archive OWNER TO lite;
2083
2084 --
2085 -- Name: job_export_history_archive_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2086 --
2087
2088 CREATE SEQUENCE public.job_export_history_archive_id_seq
2089 START WITH 1
2090 INCREMENT BY 1
2091 NO MINVALUE
2092 NO MAXVALUE
2093 CACHE 1;
2094
2095
2096 ALTER TABLE public.job_export_history_archive_id_seq OWNER TO lite;
2097
2098 --
2099 -- Name: job_export_history_archive_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2100 --
2101
2102 ALTER SEQUENCE public.job_export_history_archive_id_seq OWNED BY public.job_export_history_archive.id;
2103
2104
2105 --
2106 -- Name: job_external_output_metadata; Type: TABLE; Schema: public; Owner: lite
2107 --
2108
2109 CREATE TABLE public.job_external_output_metadata (
2110 id integer NOT NULL,
2111 job_id integer,
2112 history_dataset_association_id integer,
2113 library_dataset_dataset_association_id integer,
2114 filename_in character varying(255),
2115 filename_out character varying(255),
2116 filename_results_code character varying(255),
2117 filename_kwds character varying(255),
2118 job_runner_external_pid character varying(255),
2119 filename_override_metadata character varying(255),
2120 is_valid boolean
2121 );
2122
2123
2124 ALTER TABLE public.job_external_output_metadata OWNER TO lite;
2125
2126 --
2127 -- Name: job_external_output_metadata_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2128 --
2129
2130 CREATE SEQUENCE public.job_external_output_metadata_id_seq
2131 START WITH 1
2132 INCREMENT BY 1
2133 NO MINVALUE
2134 NO MAXVALUE
2135 CACHE 1;
2136
2137
2138 ALTER TABLE public.job_external_output_metadata_id_seq OWNER TO lite;
2139
2140 --
2141 -- Name: job_external_output_metadata_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2142 --
2143
2144 ALTER SEQUENCE public.job_external_output_metadata_id_seq OWNED BY public.job_external_output_metadata.id;
2145
2146
2147 --
2148 -- Name: job_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2149 --
2150
2151 CREATE SEQUENCE public.job_id_seq
2152 START WITH 1
2153 INCREMENT BY 1
2154 NO MINVALUE
2155 NO MAXVALUE
2156 CACHE 1;
2157
2158
2159 ALTER TABLE public.job_id_seq OWNER TO lite;
2160
2161 --
2162 -- Name: job_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2163 --
2164
2165 ALTER SEQUENCE public.job_id_seq OWNED BY public.job.id;
2166
2167
2168 --
2169 -- Name: job_import_history_archive; Type: TABLE; Schema: public; Owner: lite
2170 --
2171
2172 CREATE TABLE public.job_import_history_archive (
2173 id integer NOT NULL,
2174 job_id integer,
2175 history_id integer,
2176 archive_dir text
2177 );
2178
2179
2180 ALTER TABLE public.job_import_history_archive OWNER TO lite;
2181
2182 --
2183 -- Name: job_import_history_archive_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2184 --
2185
2186 CREATE SEQUENCE public.job_import_history_archive_id_seq
2187 START WITH 1
2188 INCREMENT BY 1
2189 NO MINVALUE
2190 NO MAXVALUE
2191 CACHE 1;
2192
2193
2194 ALTER TABLE public.job_import_history_archive_id_seq OWNER TO lite;
2195
2196 --
2197 -- Name: job_import_history_archive_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2198 --
2199
2200 ALTER SEQUENCE public.job_import_history_archive_id_seq OWNED BY public.job_import_history_archive.id;
2201
2202
2203 --
2204 -- Name: job_metric_numeric; Type: TABLE; Schema: public; Owner: lite
2205 --
2206
2207 CREATE TABLE public.job_metric_numeric (
2208 id integer NOT NULL,
2209 job_id integer,
2210 plugin character varying(255),
2211 metric_name character varying(255),
2212 metric_value numeric(22,7)
2213 );
2214
2215
2216 ALTER TABLE public.job_metric_numeric OWNER TO lite;
2217
2218 --
2219 -- Name: job_metric_numeric_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2220 --
2221
2222 CREATE SEQUENCE public.job_metric_numeric_id_seq
2223 START WITH 1
2224 INCREMENT BY 1
2225 NO MINVALUE
2226 NO MAXVALUE
2227 CACHE 1;
2228
2229
2230 ALTER TABLE public.job_metric_numeric_id_seq OWNER TO lite;
2231
2232 --
2233 -- Name: job_metric_numeric_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2234 --
2235
2236 ALTER SEQUENCE public.job_metric_numeric_id_seq OWNED BY public.job_metric_numeric.id;
2237
2238
2239 --
2240 -- Name: job_metric_text; Type: TABLE; Schema: public; Owner: lite
2241 --
2242
2243 CREATE TABLE public.job_metric_text (
2244 id integer NOT NULL,
2245 job_id integer,
2246 plugin character varying(255),
2247 metric_name character varying(255),
2248 metric_value character varying(1023)
2249 );
2250
2251
2252 ALTER TABLE public.job_metric_text OWNER TO lite;
2253
2254 --
2255 -- Name: job_metric_text_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2256 --
2257
2258 CREATE SEQUENCE public.job_metric_text_id_seq
2259 START WITH 1
2260 INCREMENT BY 1
2261 NO MINVALUE
2262 NO MAXVALUE
2263 CACHE 1;
2264
2265
2266 ALTER TABLE public.job_metric_text_id_seq OWNER TO lite;
2267
2268 --
2269 -- Name: job_metric_text_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2270 --
2271
2272 ALTER SEQUENCE public.job_metric_text_id_seq OWNED BY public.job_metric_text.id;
2273
2274
2275 --
2276 -- Name: job_parameter; Type: TABLE; Schema: public; Owner: lite
2277 --
2278
2279 CREATE TABLE public.job_parameter (
2280 id integer NOT NULL,
2281 job_id integer,
2282 name character varying(255),
2283 value text
2284 );
2285
2286
2287 ALTER TABLE public.job_parameter OWNER TO lite;
2288
2289 --
2290 -- Name: job_parameter_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2291 --
2292
2293 CREATE SEQUENCE public.job_parameter_id_seq
2294 START WITH 1
2295 INCREMENT BY 1
2296 NO MINVALUE
2297 NO MAXVALUE
2298 CACHE 1;
2299
2300
2301 ALTER TABLE public.job_parameter_id_seq OWNER TO lite;
2302
2303 --
2304 -- Name: job_parameter_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2305 --
2306
2307 ALTER SEQUENCE public.job_parameter_id_seq OWNED BY public.job_parameter.id;
2308
2309
2310 --
2311 -- Name: job_state_history; Type: TABLE; Schema: public; Owner: lite
2312 --
2313
2314 CREATE TABLE public.job_state_history (
2315 id integer NOT NULL,
2316 create_time timestamp without time zone,
2317 update_time timestamp without time zone,
2318 job_id integer,
2319 state character varying(64),
2320 info character varying(255)
2321 );
2322
2323
2324 ALTER TABLE public.job_state_history OWNER TO lite;
2325
2326 --
2327 -- Name: job_state_history_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2328 --
2329
2330 CREATE SEQUENCE public.job_state_history_id_seq
2331 START WITH 1
2332 INCREMENT BY 1
2333 NO MINVALUE
2334 NO MAXVALUE
2335 CACHE 1;
2336
2337
2338 ALTER TABLE public.job_state_history_id_seq OWNER TO lite;
2339
2340 --
2341 -- Name: job_state_history_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2342 --
2343
2344 ALTER SEQUENCE public.job_state_history_id_seq OWNED BY public.job_state_history.id;
2345
2346
2347 --
2348 -- Name: job_to_implicit_output_dataset_collection; Type: TABLE; Schema: public; Owner: lite
2349 --
2350
2351 CREATE TABLE public.job_to_implicit_output_dataset_collection (
2352 id integer NOT NULL,
2353 job_id integer,
2354 dataset_collection_id integer,
2355 name character varying(255)
2356 );
2357
2358
2359 ALTER TABLE public.job_to_implicit_output_dataset_collection OWNER TO lite;
2360
2361 --
2362 -- Name: job_to_implicit_output_dataset_collection_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2363 --
2364
2365 CREATE SEQUENCE public.job_to_implicit_output_dataset_collection_id_seq
2366 START WITH 1
2367 INCREMENT BY 1
2368 NO MINVALUE
2369 NO MAXVALUE
2370 CACHE 1;
2371
2372
2373 ALTER TABLE public.job_to_implicit_output_dataset_collection_id_seq OWNER TO lite;
2374
2375 --
2376 -- Name: job_to_implicit_output_dataset_collection_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2377 --
2378
2379 ALTER SEQUENCE public.job_to_implicit_output_dataset_collection_id_seq OWNED BY public.job_to_implicit_output_dataset_collection.id;
2380
2381
2382 --
2383 -- Name: job_to_input_dataset; Type: TABLE; Schema: public; Owner: lite
2384 --
2385
2386 CREATE TABLE public.job_to_input_dataset (
2387 id integer NOT NULL,
2388 job_id integer,
2389 dataset_id integer,
2390 name character varying(255)
2391 );
2392
2393
2394 ALTER TABLE public.job_to_input_dataset OWNER TO lite;
2395
2396 --
2397 -- Name: job_to_input_dataset_collection; Type: TABLE; Schema: public; Owner: lite
2398 --
2399
2400 CREATE TABLE public.job_to_input_dataset_collection (
2401 id integer NOT NULL,
2402 job_id integer,
2403 dataset_collection_id integer,
2404 name character varying(255)
2405 );
2406
2407
2408 ALTER TABLE public.job_to_input_dataset_collection OWNER TO lite;
2409
2410 --
2411 -- Name: job_to_input_dataset_collection_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2412 --
2413
2414 CREATE SEQUENCE public.job_to_input_dataset_collection_id_seq
2415 START WITH 1
2416 INCREMENT BY 1
2417 NO MINVALUE
2418 NO MAXVALUE
2419 CACHE 1;
2420
2421
2422 ALTER TABLE public.job_to_input_dataset_collection_id_seq OWNER TO lite;
2423
2424 --
2425 -- Name: job_to_input_dataset_collection_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2426 --
2427
2428 ALTER SEQUENCE public.job_to_input_dataset_collection_id_seq OWNED BY public.job_to_input_dataset_collection.id;
2429
2430
2431 --
2432 -- Name: job_to_input_dataset_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2433 --
2434
2435 CREATE SEQUENCE public.job_to_input_dataset_id_seq
2436 START WITH 1
2437 INCREMENT BY 1
2438 NO MINVALUE
2439 NO MAXVALUE
2440 CACHE 1;
2441
2442
2443 ALTER TABLE public.job_to_input_dataset_id_seq OWNER TO lite;
2444
2445 --
2446 -- Name: job_to_input_dataset_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2447 --
2448
2449 ALTER SEQUENCE public.job_to_input_dataset_id_seq OWNED BY public.job_to_input_dataset.id;
2450
2451
2452 --
2453 -- Name: job_to_input_library_dataset; Type: TABLE; Schema: public; Owner: lite
2454 --
2455
2456 CREATE TABLE public.job_to_input_library_dataset (
2457 id integer NOT NULL,
2458 job_id integer,
2459 ldda_id integer,
2460 name character varying(255)
2461 );
2462
2463
2464 ALTER TABLE public.job_to_input_library_dataset OWNER TO lite;
2465
2466 --
2467 -- Name: job_to_input_library_dataset_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2468 --
2469
2470 CREATE SEQUENCE public.job_to_input_library_dataset_id_seq
2471 START WITH 1
2472 INCREMENT BY 1
2473 NO MINVALUE
2474 NO MAXVALUE
2475 CACHE 1;
2476
2477
2478 ALTER TABLE public.job_to_input_library_dataset_id_seq OWNER TO lite;
2479
2480 --
2481 -- Name: job_to_input_library_dataset_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2482 --
2483
2484 ALTER SEQUENCE public.job_to_input_library_dataset_id_seq OWNED BY public.job_to_input_library_dataset.id;
2485
2486
2487 --
2488 -- Name: job_to_output_dataset; Type: TABLE; Schema: public; Owner: lite
2489 --
2490
2491 CREATE TABLE public.job_to_output_dataset (
2492 id integer NOT NULL,
2493 job_id integer,
2494 dataset_id integer,
2495 name character varying(255)
2496 );
2497
2498
2499 ALTER TABLE public.job_to_output_dataset OWNER TO lite;
2500
2501 --
2502 -- Name: job_to_output_dataset_collection; Type: TABLE; Schema: public; Owner: lite
2503 --
2504
2505 CREATE TABLE public.job_to_output_dataset_collection (
2506 id integer NOT NULL,
2507 job_id integer,
2508 dataset_collection_id integer,
2509 name character varying(255)
2510 );
2511
2512
2513 ALTER TABLE public.job_to_output_dataset_collection OWNER TO lite;
2514
2515 --
2516 -- Name: job_to_output_dataset_collection_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2517 --
2518
2519 CREATE SEQUENCE public.job_to_output_dataset_collection_id_seq
2520 START WITH 1
2521 INCREMENT BY 1
2522 NO MINVALUE
2523 NO MAXVALUE
2524 CACHE 1;
2525
2526
2527 ALTER TABLE public.job_to_output_dataset_collection_id_seq OWNER TO lite;
2528
2529 --
2530 -- Name: job_to_output_dataset_collection_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2531 --
2532
2533 ALTER SEQUENCE public.job_to_output_dataset_collection_id_seq OWNED BY public.job_to_output_dataset_collection.id;
2534
2535
2536 --
2537 -- Name: job_to_output_dataset_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2538 --
2539
2540 CREATE SEQUENCE public.job_to_output_dataset_id_seq
2541 START WITH 1
2542 INCREMENT BY 1
2543 NO MINVALUE
2544 NO MAXVALUE
2545 CACHE 1;
2546
2547
2548 ALTER TABLE public.job_to_output_dataset_id_seq OWNER TO lite;
2549
2550 --
2551 -- Name: job_to_output_dataset_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2552 --
2553
2554 ALTER SEQUENCE public.job_to_output_dataset_id_seq OWNED BY public.job_to_output_dataset.id;
2555
2556
2557 --
2558 -- Name: job_to_output_library_dataset; Type: TABLE; Schema: public; Owner: lite
2559 --
2560
2561 CREATE TABLE public.job_to_output_library_dataset (
2562 id integer NOT NULL,
2563 job_id integer,
2564 ldda_id integer,
2565 name character varying(255)
2566 );
2567
2568
2569 ALTER TABLE public.job_to_output_library_dataset OWNER TO lite;
2570
2571 --
2572 -- Name: job_to_output_library_dataset_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2573 --
2574
2575 CREATE SEQUENCE public.job_to_output_library_dataset_id_seq
2576 START WITH 1
2577 INCREMENT BY 1
2578 NO MINVALUE
2579 NO MAXVALUE
2580 CACHE 1;
2581
2582
2583 ALTER TABLE public.job_to_output_library_dataset_id_seq OWNER TO lite;
2584
2585 --
2586 -- Name: job_to_output_library_dataset_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2587 --
2588
2589 ALTER SEQUENCE public.job_to_output_library_dataset_id_seq OWNED BY public.job_to_output_library_dataset.id;
2590
2591
2592 --
2593 -- Name: library; Type: TABLE; Schema: public; Owner: lite
2594 --
2595
2596 CREATE TABLE public.library (
2597 id integer NOT NULL,
2598 root_folder_id integer,
2599 create_time timestamp without time zone,
2600 update_time timestamp without time zone,
2601 name character varying(255),
2602 deleted boolean,
2603 purged boolean,
2604 description text,
2605 synopsis text
2606 );
2607
2608
2609 ALTER TABLE public.library OWNER TO lite;
2610
2611 --
2612 -- Name: library_dataset; Type: TABLE; Schema: public; Owner: lite
2613 --
2614
2615 CREATE TABLE public.library_dataset (
2616 id integer NOT NULL,
2617 library_dataset_dataset_association_id integer,
2618 folder_id integer,
2619 order_id integer,
2620 create_time timestamp without time zone,
2621 update_time timestamp without time zone,
2622 name character varying(255),
2623 info character varying(255),
2624 deleted boolean,
2625 purged boolean
2626 );
2627
2628
2629 ALTER TABLE public.library_dataset OWNER TO lite;
2630
2631 --
2632 -- Name: library_dataset_collection_annotation_association; Type: TABLE; Schema: public; Owner: lite
2633 --
2634
2635 CREATE TABLE public.library_dataset_collection_annotation_association (
2636 id integer NOT NULL,
2637 library_dataset_collection_id integer,
2638 user_id integer,
2639 annotation text
2640 );
2641
2642
2643 ALTER TABLE public.library_dataset_collection_annotation_association OWNER TO lite;
2644
2645 --
2646 -- Name: library_dataset_collection_annotation_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2647 --
2648
2649 CREATE SEQUENCE public.library_dataset_collection_annotation_association_id_seq
2650 START WITH 1
2651 INCREMENT BY 1
2652 NO MINVALUE
2653 NO MAXVALUE
2654 CACHE 1;
2655
2656
2657 ALTER TABLE public.library_dataset_collection_annotation_association_id_seq OWNER TO lite;
2658
2659 --
2660 -- Name: library_dataset_collection_annotation_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2661 --
2662
2663 ALTER SEQUENCE public.library_dataset_collection_annotation_association_id_seq OWNED BY public.library_dataset_collection_annotation_association.id;
2664
2665
2666 --
2667 -- Name: library_dataset_collection_association; Type: TABLE; Schema: public; Owner: lite
2668 --
2669
2670 CREATE TABLE public.library_dataset_collection_association (
2671 id integer NOT NULL,
2672 collection_id integer,
2673 name character varying(255),
2674 deleted boolean,
2675 folder_id integer
2676 );
2677
2678
2679 ALTER TABLE public.library_dataset_collection_association OWNER TO lite;
2680
2681 --
2682 -- Name: library_dataset_collection_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2683 --
2684
2685 CREATE SEQUENCE public.library_dataset_collection_association_id_seq
2686 START WITH 1
2687 INCREMENT BY 1
2688 NO MINVALUE
2689 NO MAXVALUE
2690 CACHE 1;
2691
2692
2693 ALTER TABLE public.library_dataset_collection_association_id_seq OWNER TO lite;
2694
2695 --
2696 -- Name: library_dataset_collection_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2697 --
2698
2699 ALTER SEQUENCE public.library_dataset_collection_association_id_seq OWNED BY public.library_dataset_collection_association.id;
2700
2701
2702 --
2703 -- Name: library_dataset_collection_rating_association; Type: TABLE; Schema: public; Owner: lite
2704 --
2705
2706 CREATE TABLE public.library_dataset_collection_rating_association (
2707 id integer NOT NULL,
2708 library_dataset_collection_id integer,
2709 user_id integer,
2710 rating integer
2711 );
2712
2713
2714 ALTER TABLE public.library_dataset_collection_rating_association OWNER TO lite;
2715
2716 --
2717 -- Name: library_dataset_collection_rating_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2718 --
2719
2720 CREATE SEQUENCE public.library_dataset_collection_rating_association_id_seq
2721 START WITH 1
2722 INCREMENT BY 1
2723 NO MINVALUE
2724 NO MAXVALUE
2725 CACHE 1;
2726
2727
2728 ALTER TABLE public.library_dataset_collection_rating_association_id_seq OWNER TO lite;
2729
2730 --
2731 -- Name: library_dataset_collection_rating_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2732 --
2733
2734 ALTER SEQUENCE public.library_dataset_collection_rating_association_id_seq OWNED BY public.library_dataset_collection_rating_association.id;
2735
2736
2737 --
2738 -- Name: library_dataset_collection_tag_association; Type: TABLE; Schema: public; Owner: lite
2739 --
2740
2741 CREATE TABLE public.library_dataset_collection_tag_association (
2742 id integer NOT NULL,
2743 library_dataset_collection_id integer,
2744 tag_id integer,
2745 user_id integer,
2746 user_tname character varying(255),
2747 value character varying(255),
2748 user_value character varying(255)
2749 );
2750
2751
2752 ALTER TABLE public.library_dataset_collection_tag_association OWNER TO lite;
2753
2754 --
2755 -- Name: library_dataset_collection_tag_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2756 --
2757
2758 CREATE SEQUENCE public.library_dataset_collection_tag_association_id_seq
2759 START WITH 1
2760 INCREMENT BY 1
2761 NO MINVALUE
2762 NO MAXVALUE
2763 CACHE 1;
2764
2765
2766 ALTER TABLE public.library_dataset_collection_tag_association_id_seq OWNER TO lite;
2767
2768 --
2769 -- Name: library_dataset_collection_tag_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2770 --
2771
2772 ALTER SEQUENCE public.library_dataset_collection_tag_association_id_seq OWNED BY public.library_dataset_collection_tag_association.id;
2773
2774
2775 --
2776 -- Name: library_dataset_dataset_association; Type: TABLE; Schema: public; Owner: lite
2777 --
2778
2779 CREATE TABLE public.library_dataset_dataset_association (
2780 id integer NOT NULL,
2781 library_dataset_id integer,
2782 dataset_id integer,
2783 create_time timestamp without time zone,
2784 update_time timestamp without time zone,
2785 copied_from_history_dataset_association_id integer,
2786 copied_from_library_dataset_dataset_association_id integer,
2787 name character varying(255),
2788 info character varying(255),
2789 blurb character varying(255),
2790 peek text,
2791 extension character varying(64),
2792 metadata bytea,
2793 parent_id integer,
2794 designation character varying(255),
2795 deleted boolean,
2796 visible boolean,
2797 user_id integer,
2798 message character varying(255),
2799 state character varying(64),
2800 tool_version text,
2801 extended_metadata_id integer
2802 );
2803
2804
2805 ALTER TABLE public.library_dataset_dataset_association OWNER TO lite;
2806
2807 --
2808 -- Name: library_dataset_dataset_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2809 --
2810
2811 CREATE SEQUENCE public.library_dataset_dataset_association_id_seq
2812 START WITH 1
2813 INCREMENT BY 1
2814 NO MINVALUE
2815 NO MAXVALUE
2816 CACHE 1;
2817
2818
2819 ALTER TABLE public.library_dataset_dataset_association_id_seq OWNER TO lite;
2820
2821 --
2822 -- Name: library_dataset_dataset_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2823 --
2824
2825 ALTER SEQUENCE public.library_dataset_dataset_association_id_seq OWNED BY public.library_dataset_dataset_association.id;
2826
2827
2828 --
2829 -- Name: library_dataset_dataset_association_permissions; Type: TABLE; Schema: public; Owner: lite
2830 --
2831
2832 CREATE TABLE public.library_dataset_dataset_association_permissions (
2833 id integer NOT NULL,
2834 create_time timestamp without time zone,
2835 update_time timestamp without time zone,
2836 action text,
2837 library_dataset_dataset_association_id integer,
2838 role_id integer
2839 );
2840
2841
2842 ALTER TABLE public.library_dataset_dataset_association_permissions OWNER TO lite;
2843
2844 --
2845 -- Name: library_dataset_dataset_association_permissions_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2846 --
2847
2848 CREATE SEQUENCE public.library_dataset_dataset_association_permissions_id_seq
2849 START WITH 1
2850 INCREMENT BY 1
2851 NO MINVALUE
2852 NO MAXVALUE
2853 CACHE 1;
2854
2855
2856 ALTER TABLE public.library_dataset_dataset_association_permissions_id_seq OWNER TO lite;
2857
2858 --
2859 -- Name: library_dataset_dataset_association_permissions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2860 --
2861
2862 ALTER SEQUENCE public.library_dataset_dataset_association_permissions_id_seq OWNED BY public.library_dataset_dataset_association_permissions.id;
2863
2864
2865 --
2866 -- Name: library_dataset_dataset_association_tag_association; Type: TABLE; Schema: public; Owner: lite
2867 --
2868
2869 CREATE TABLE public.library_dataset_dataset_association_tag_association (
2870 id integer NOT NULL,
2871 library_dataset_dataset_association_id integer,
2872 tag_id integer,
2873 user_tname character varying(255),
2874 value character varying(255),
2875 user_value character varying(255),
2876 user_id integer
2877 );
2878
2879
2880 ALTER TABLE public.library_dataset_dataset_association_tag_association OWNER TO lite;
2881
2882 --
2883 -- Name: library_dataset_dataset_association_tag_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2884 --
2885
2886 CREATE SEQUENCE public.library_dataset_dataset_association_tag_association_id_seq
2887 START WITH 1
2888 INCREMENT BY 1
2889 NO MINVALUE
2890 NO MAXVALUE
2891 CACHE 1;
2892
2893
2894 ALTER TABLE public.library_dataset_dataset_association_tag_association_id_seq OWNER TO lite;
2895
2896 --
2897 -- Name: library_dataset_dataset_association_tag_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2898 --
2899
2900 ALTER SEQUENCE public.library_dataset_dataset_association_tag_association_id_seq OWNED BY public.library_dataset_dataset_association_tag_association.id;
2901
2902
2903 --
2904 -- Name: library_dataset_dataset_info_association; Type: TABLE; Schema: public; Owner: lite
2905 --
2906
2907 CREATE TABLE public.library_dataset_dataset_info_association (
2908 id integer NOT NULL,
2909 library_dataset_dataset_association_id integer,
2910 form_definition_id integer,
2911 form_values_id integer,
2912 deleted boolean
2913 );
2914
2915
2916 ALTER TABLE public.library_dataset_dataset_info_association OWNER TO lite;
2917
2918 --
2919 -- Name: library_dataset_dataset_info_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2920 --
2921
2922 CREATE SEQUENCE public.library_dataset_dataset_info_association_id_seq
2923 START WITH 1
2924 INCREMENT BY 1
2925 NO MINVALUE
2926 NO MAXVALUE
2927 CACHE 1;
2928
2929
2930 ALTER TABLE public.library_dataset_dataset_info_association_id_seq OWNER TO lite;
2931
2932 --
2933 -- Name: library_dataset_dataset_info_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2934 --
2935
2936 ALTER SEQUENCE public.library_dataset_dataset_info_association_id_seq OWNED BY public.library_dataset_dataset_info_association.id;
2937
2938
2939 --
2940 -- Name: library_dataset_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2941 --
2942
2943 CREATE SEQUENCE public.library_dataset_id_seq
2944 START WITH 1
2945 INCREMENT BY 1
2946 NO MINVALUE
2947 NO MAXVALUE
2948 CACHE 1;
2949
2950
2951 ALTER TABLE public.library_dataset_id_seq OWNER TO lite;
2952
2953 --
2954 -- Name: library_dataset_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2955 --
2956
2957 ALTER SEQUENCE public.library_dataset_id_seq OWNED BY public.library_dataset.id;
2958
2959
2960 --
2961 -- Name: library_dataset_permissions; Type: TABLE; Schema: public; Owner: lite
2962 --
2963
2964 CREATE TABLE public.library_dataset_permissions (
2965 id integer NOT NULL,
2966 create_time timestamp without time zone,
2967 update_time timestamp without time zone,
2968 action text,
2969 library_dataset_id integer,
2970 role_id integer
2971 );
2972
2973
2974 ALTER TABLE public.library_dataset_permissions OWNER TO lite;
2975
2976 --
2977 -- Name: library_dataset_permissions_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
2978 --
2979
2980 CREATE SEQUENCE public.library_dataset_permissions_id_seq
2981 START WITH 1
2982 INCREMENT BY 1
2983 NO MINVALUE
2984 NO MAXVALUE
2985 CACHE 1;
2986
2987
2988 ALTER TABLE public.library_dataset_permissions_id_seq OWNER TO lite;
2989
2990 --
2991 -- Name: library_dataset_permissions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
2992 --
2993
2994 ALTER SEQUENCE public.library_dataset_permissions_id_seq OWNED BY public.library_dataset_permissions.id;
2995
2996
2997 --
2998 -- Name: library_folder; Type: TABLE; Schema: public; Owner: lite
2999 --
3000
3001 CREATE TABLE public.library_folder (
3002 id integer NOT NULL,
3003 parent_id integer,
3004 create_time timestamp without time zone,
3005 update_time timestamp without time zone,
3006 name text,
3007 description text,
3008 order_id integer,
3009 item_count integer,
3010 deleted boolean,
3011 purged boolean,
3012 genome_build character varying(40)
3013 );
3014
3015
3016 ALTER TABLE public.library_folder OWNER TO lite;
3017
3018 --
3019 -- Name: library_folder_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3020 --
3021
3022 CREATE SEQUENCE public.library_folder_id_seq
3023 START WITH 1
3024 INCREMENT BY 1
3025 NO MINVALUE
3026 NO MAXVALUE
3027 CACHE 1;
3028
3029
3030 ALTER TABLE public.library_folder_id_seq OWNER TO lite;
3031
3032 --
3033 -- Name: library_folder_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3034 --
3035
3036 ALTER SEQUENCE public.library_folder_id_seq OWNED BY public.library_folder.id;
3037
3038
3039 --
3040 -- Name: library_folder_info_association; Type: TABLE; Schema: public; Owner: lite
3041 --
3042
3043 CREATE TABLE public.library_folder_info_association (
3044 id integer NOT NULL,
3045 library_folder_id integer,
3046 form_definition_id integer,
3047 form_values_id integer,
3048 deleted boolean,
3049 inheritable boolean
3050 );
3051
3052
3053 ALTER TABLE public.library_folder_info_association OWNER TO lite;
3054
3055 --
3056 -- Name: library_folder_info_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3057 --
3058
3059 CREATE SEQUENCE public.library_folder_info_association_id_seq
3060 START WITH 1
3061 INCREMENT BY 1
3062 NO MINVALUE
3063 NO MAXVALUE
3064 CACHE 1;
3065
3066
3067 ALTER TABLE public.library_folder_info_association_id_seq OWNER TO lite;
3068
3069 --
3070 -- Name: library_folder_info_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3071 --
3072
3073 ALTER SEQUENCE public.library_folder_info_association_id_seq OWNED BY public.library_folder_info_association.id;
3074
3075
3076 --
3077 -- Name: library_folder_permissions; Type: TABLE; Schema: public; Owner: lite
3078 --
3079
3080 CREATE TABLE public.library_folder_permissions (
3081 id integer NOT NULL,
3082 create_time timestamp without time zone,
3083 update_time timestamp without time zone,
3084 action text,
3085 library_folder_id integer,
3086 role_id integer
3087 );
3088
3089
3090 ALTER TABLE public.library_folder_permissions OWNER TO lite;
3091
3092 --
3093 -- Name: library_folder_permissions_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3094 --
3095
3096 CREATE SEQUENCE public.library_folder_permissions_id_seq
3097 START WITH 1
3098 INCREMENT BY 1
3099 NO MINVALUE
3100 NO MAXVALUE
3101 CACHE 1;
3102
3103
3104 ALTER TABLE public.library_folder_permissions_id_seq OWNER TO lite;
3105
3106 --
3107 -- Name: library_folder_permissions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3108 --
3109
3110 ALTER SEQUENCE public.library_folder_permissions_id_seq OWNED BY public.library_folder_permissions.id;
3111
3112
3113 --
3114 -- Name: library_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3115 --
3116
3117 CREATE SEQUENCE public.library_id_seq
3118 START WITH 1
3119 INCREMENT BY 1
3120 NO MINVALUE
3121 NO MAXVALUE
3122 CACHE 1;
3123
3124
3125 ALTER TABLE public.library_id_seq OWNER TO lite;
3126
3127 --
3128 -- Name: library_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3129 --
3130
3131 ALTER SEQUENCE public.library_id_seq OWNED BY public.library.id;
3132
3133
3134 --
3135 -- Name: library_info_association; Type: TABLE; Schema: public; Owner: lite
3136 --
3137
3138 CREATE TABLE public.library_info_association (
3139 id integer NOT NULL,
3140 library_id integer,
3141 form_definition_id integer,
3142 form_values_id integer,
3143 deleted boolean,
3144 inheritable boolean
3145 );
3146
3147
3148 ALTER TABLE public.library_info_association OWNER TO lite;
3149
3150 --
3151 -- Name: library_info_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3152 --
3153
3154 CREATE SEQUENCE public.library_info_association_id_seq
3155 START WITH 1
3156 INCREMENT BY 1
3157 NO MINVALUE
3158 NO MAXVALUE
3159 CACHE 1;
3160
3161
3162 ALTER TABLE public.library_info_association_id_seq OWNER TO lite;
3163
3164 --
3165 -- Name: library_info_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3166 --
3167
3168 ALTER SEQUENCE public.library_info_association_id_seq OWNED BY public.library_info_association.id;
3169
3170
3171 --
3172 -- Name: library_permissions; Type: TABLE; Schema: public; Owner: lite
3173 --
3174
3175 CREATE TABLE public.library_permissions (
3176 id integer NOT NULL,
3177 create_time timestamp without time zone,
3178 update_time timestamp without time zone,
3179 action text,
3180 library_id integer,
3181 role_id integer
3182 );
3183
3184
3185 ALTER TABLE public.library_permissions OWNER TO lite;
3186
3187 --
3188 -- Name: library_permissions_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3189 --
3190
3191 CREATE SEQUENCE public.library_permissions_id_seq
3192 START WITH 1
3193 INCREMENT BY 1
3194 NO MINVALUE
3195 NO MAXVALUE
3196 CACHE 1;
3197
3198
3199 ALTER TABLE public.library_permissions_id_seq OWNER TO lite;
3200
3201 --
3202 -- Name: library_permissions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3203 --
3204
3205 ALTER SEQUENCE public.library_permissions_id_seq OWNED BY public.library_permissions.id;
3206
3207
3208 --
3209 -- Name: metadata_file; Type: TABLE; Schema: public; Owner: lite
3210 --
3211
3212 CREATE TABLE public.metadata_file (
3213 id integer NOT NULL,
3214 name text,
3215 hda_id integer,
3216 create_time timestamp without time zone,
3217 update_time timestamp without time zone,
3218 deleted boolean,
3219 purged boolean,
3220 lda_id integer,
3221 object_store_id character varying(255)
3222 );
3223
3224
3225 ALTER TABLE public.metadata_file OWNER TO lite;
3226
3227 --
3228 -- Name: metadata_file_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3229 --
3230
3231 CREATE SEQUENCE public.metadata_file_id_seq
3232 START WITH 1
3233 INCREMENT BY 1
3234 NO MINVALUE
3235 NO MAXVALUE
3236 CACHE 1;
3237
3238
3239 ALTER TABLE public.metadata_file_id_seq OWNER TO lite;
3240
3241 --
3242 -- Name: metadata_file_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3243 --
3244
3245 ALTER SEQUENCE public.metadata_file_id_seq OWNED BY public.metadata_file.id;
3246
3247
3248 --
3249 -- Name: migrate_tools; Type: TABLE; Schema: public; Owner: lite
3250 --
3251
3252 CREATE TABLE public.migrate_tools (
3253 repository_id character varying(255),
3254 repository_path text,
3255 version integer
3256 );
3257
3258
3259 ALTER TABLE public.migrate_tools OWNER TO lite;
3260
3261 --
3262 -- Name: migrate_version; Type: TABLE; Schema: public; Owner: lite
3263 --
3264
3265 CREATE TABLE public.migrate_version (
3266 repository_id character varying(250) NOT NULL,
3267 repository_path text,
3268 version integer
3269 );
3270
3271
3272 ALTER TABLE public.migrate_version OWNER TO lite;
3273
3274 --
3275 -- Name: page; Type: TABLE; Schema: public; Owner: lite
3276 --
3277
3278 CREATE TABLE public.page (
3279 id integer NOT NULL,
3280 create_time timestamp without time zone,
3281 update_time timestamp without time zone,
3282 user_id integer NOT NULL,
3283 latest_revision_id integer,
3284 title text,
3285 slug text,
3286 published boolean,
3287 deleted boolean,
3288 importable boolean
3289 );
3290
3291
3292 ALTER TABLE public.page OWNER TO lite;
3293
3294 --
3295 -- Name: page_annotation_association; Type: TABLE; Schema: public; Owner: lite
3296 --
3297
3298 CREATE TABLE public.page_annotation_association (
3299 id integer NOT NULL,
3300 page_id integer,
3301 user_id integer,
3302 annotation text
3303 );
3304
3305
3306 ALTER TABLE public.page_annotation_association OWNER TO lite;
3307
3308 --
3309 -- Name: page_annotation_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3310 --
3311
3312 CREATE SEQUENCE public.page_annotation_association_id_seq
3313 START WITH 1
3314 INCREMENT BY 1
3315 NO MINVALUE
3316 NO MAXVALUE
3317 CACHE 1;
3318
3319
3320 ALTER TABLE public.page_annotation_association_id_seq OWNER TO lite;
3321
3322 --
3323 -- Name: page_annotation_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3324 --
3325
3326 ALTER SEQUENCE public.page_annotation_association_id_seq OWNED BY public.page_annotation_association.id;
3327
3328
3329 --
3330 -- Name: page_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3331 --
3332
3333 CREATE SEQUENCE public.page_id_seq
3334 START WITH 1
3335 INCREMENT BY 1
3336 NO MINVALUE
3337 NO MAXVALUE
3338 CACHE 1;
3339
3340
3341 ALTER TABLE public.page_id_seq OWNER TO lite;
3342
3343 --
3344 -- Name: page_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3345 --
3346
3347 ALTER SEQUENCE public.page_id_seq OWNED BY public.page.id;
3348
3349
3350 --
3351 -- Name: page_rating_association; Type: TABLE; Schema: public; Owner: lite
3352 --
3353
3354 CREATE TABLE public.page_rating_association (
3355 id integer NOT NULL,
3356 page_id integer,
3357 user_id integer,
3358 rating integer
3359 );
3360
3361
3362 ALTER TABLE public.page_rating_association OWNER TO lite;
3363
3364 --
3365 -- Name: page_rating_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3366 --
3367
3368 CREATE SEQUENCE public.page_rating_association_id_seq
3369 START WITH 1
3370 INCREMENT BY 1
3371 NO MINVALUE
3372 NO MAXVALUE
3373 CACHE 1;
3374
3375
3376 ALTER TABLE public.page_rating_association_id_seq OWNER TO lite;
3377
3378 --
3379 -- Name: page_rating_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3380 --
3381
3382 ALTER SEQUENCE public.page_rating_association_id_seq OWNED BY public.page_rating_association.id;
3383
3384
3385 --
3386 -- Name: page_revision; Type: TABLE; Schema: public; Owner: lite
3387 --
3388
3389 CREATE TABLE public.page_revision (
3390 id integer NOT NULL,
3391 create_time timestamp without time zone,
3392 update_time timestamp without time zone,
3393 page_id integer NOT NULL,
3394 title text,
3395 content text
3396 );
3397
3398
3399 ALTER TABLE public.page_revision OWNER TO lite;
3400
3401 --
3402 -- Name: page_revision_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3403 --
3404
3405 CREATE SEQUENCE public.page_revision_id_seq
3406 START WITH 1
3407 INCREMENT BY 1
3408 NO MINVALUE
3409 NO MAXVALUE
3410 CACHE 1;
3411
3412
3413 ALTER TABLE public.page_revision_id_seq OWNER TO lite;
3414
3415 --
3416 -- Name: page_revision_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3417 --
3418
3419 ALTER SEQUENCE public.page_revision_id_seq OWNED BY public.page_revision.id;
3420
3421
3422 --
3423 -- Name: page_tag_association; Type: TABLE; Schema: public; Owner: lite
3424 --
3425
3426 CREATE TABLE public.page_tag_association (
3427 id integer NOT NULL,
3428 page_id integer,
3429 tag_id integer,
3430 user_tname character varying(255),
3431 value character varying(255),
3432 user_value character varying(255),
3433 user_id integer
3434 );
3435
3436
3437 ALTER TABLE public.page_tag_association OWNER TO lite;
3438
3439 --
3440 -- Name: page_tag_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3441 --
3442
3443 CREATE SEQUENCE public.page_tag_association_id_seq
3444 START WITH 1
3445 INCREMENT BY 1
3446 NO MINVALUE
3447 NO MAXVALUE
3448 CACHE 1;
3449
3450
3451 ALTER TABLE public.page_tag_association_id_seq OWNER TO lite;
3452
3453 --
3454 -- Name: page_tag_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3455 --
3456
3457 ALTER SEQUENCE public.page_tag_association_id_seq OWNED BY public.page_tag_association.id;
3458
3459
3460 --
3461 -- Name: page_user_share_association; Type: TABLE; Schema: public; Owner: lite
3462 --
3463
3464 CREATE TABLE public.page_user_share_association (
3465 id integer NOT NULL,
3466 page_id integer,
3467 user_id integer
3468 );
3469
3470
3471 ALTER TABLE public.page_user_share_association OWNER TO lite;
3472
3473 --
3474 -- Name: page_user_share_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3475 --
3476
3477 CREATE SEQUENCE public.page_user_share_association_id_seq
3478 START WITH 1
3479 INCREMENT BY 1
3480 NO MINVALUE
3481 NO MAXVALUE
3482 CACHE 1;
3483
3484
3485 ALTER TABLE public.page_user_share_association_id_seq OWNER TO lite;
3486
3487 --
3488 -- Name: page_user_share_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3489 --
3490
3491 ALTER SEQUENCE public.page_user_share_association_id_seq OWNED BY public.page_user_share_association.id;
3492
3493
3494 --
3495 -- Name: password_reset_token; Type: TABLE; Schema: public; Owner: lite
3496 --
3497
3498 CREATE TABLE public.password_reset_token (
3499 token character varying(32) NOT NULL,
3500 expiration_time timestamp without time zone,
3501 user_id integer
3502 );
3503
3504
3505 ALTER TABLE public.password_reset_token OWNER TO lite;
3506
3507 --
3508 -- Name: post_job_action; Type: TABLE; Schema: public; Owner: lite
3509 --
3510
3511 CREATE TABLE public.post_job_action (
3512 id integer NOT NULL,
3513 workflow_step_id integer NOT NULL,
3514 action_type character varying(255) NOT NULL,
3515 output_name character varying(255),
3516 action_arguments bytea
3517 );
3518
3519
3520 ALTER TABLE public.post_job_action OWNER TO lite;
3521
3522 --
3523 -- Name: post_job_action_association; Type: TABLE; Schema: public; Owner: lite
3524 --
3525
3526 CREATE TABLE public.post_job_action_association (
3527 id integer NOT NULL,
3528 post_job_action_id integer NOT NULL,
3529 job_id integer NOT NULL
3530 );
3531
3532
3533 ALTER TABLE public.post_job_action_association OWNER TO lite;
3534
3535 --
3536 -- Name: post_job_action_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3537 --
3538
3539 CREATE SEQUENCE public.post_job_action_association_id_seq
3540 START WITH 1
3541 INCREMENT BY 1
3542 NO MINVALUE
3543 NO MAXVALUE
3544 CACHE 1;
3545
3546
3547 ALTER TABLE public.post_job_action_association_id_seq OWNER TO lite;
3548
3549 --
3550 -- Name: post_job_action_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3551 --
3552
3553 ALTER SEQUENCE public.post_job_action_association_id_seq OWNED BY public.post_job_action_association.id;
3554
3555
3556 --
3557 -- Name: post_job_action_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3558 --
3559
3560 CREATE SEQUENCE public.post_job_action_id_seq
3561 START WITH 1
3562 INCREMENT BY 1
3563 NO MINVALUE
3564 NO MAXVALUE
3565 CACHE 1;
3566
3567
3568 ALTER TABLE public.post_job_action_id_seq OWNER TO lite;
3569
3570 --
3571 -- Name: post_job_action_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3572 --
3573
3574 ALTER SEQUENCE public.post_job_action_id_seq OWNED BY public.post_job_action.id;
3575
3576
3577 --
3578 -- Name: quota; Type: TABLE; Schema: public; Owner: lite
3579 --
3580
3581 CREATE TABLE public.quota (
3582 id integer NOT NULL,
3583 create_time timestamp without time zone,
3584 update_time timestamp without time zone,
3585 name character varying(255),
3586 description text,
3587 bytes bigint,
3588 operation character varying(8),
3589 deleted boolean
3590 );
3591
3592
3593 ALTER TABLE public.quota OWNER TO lite;
3594
3595 --
3596 -- Name: quota_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3597 --
3598
3599 CREATE SEQUENCE public.quota_id_seq
3600 START WITH 1
3601 INCREMENT BY 1
3602 NO MINVALUE
3603 NO MAXVALUE
3604 CACHE 1;
3605
3606
3607 ALTER TABLE public.quota_id_seq OWNER TO lite;
3608
3609 --
3610 -- Name: quota_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3611 --
3612
3613 ALTER SEQUENCE public.quota_id_seq OWNED BY public.quota.id;
3614
3615
3616 --
3617 -- Name: repository_dependency; Type: TABLE; Schema: public; Owner: lite
3618 --
3619
3620 CREATE TABLE public.repository_dependency (
3621 id integer NOT NULL,
3622 create_time timestamp without time zone,
3623 update_time timestamp without time zone,
3624 tool_shed_repository_id integer NOT NULL
3625 );
3626
3627
3628 ALTER TABLE public.repository_dependency OWNER TO lite;
3629
3630 --
3631 -- Name: repository_dependency_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3632 --
3633
3634 CREATE SEQUENCE public.repository_dependency_id_seq
3635 START WITH 1
3636 INCREMENT BY 1
3637 NO MINVALUE
3638 NO MAXVALUE
3639 CACHE 1;
3640
3641
3642 ALTER TABLE public.repository_dependency_id_seq OWNER TO lite;
3643
3644 --
3645 -- Name: repository_dependency_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3646 --
3647
3648 ALTER SEQUENCE public.repository_dependency_id_seq OWNED BY public.repository_dependency.id;
3649
3650
3651 --
3652 -- Name: repository_repository_dependency_association; Type: TABLE; Schema: public; Owner: lite
3653 --
3654
3655 CREATE TABLE public.repository_repository_dependency_association (
3656 id integer NOT NULL,
3657 create_time timestamp without time zone,
3658 update_time timestamp without time zone,
3659 tool_shed_repository_id integer,
3660 repository_dependency_id integer
3661 );
3662
3663
3664 ALTER TABLE public.repository_repository_dependency_association OWNER TO lite;
3665
3666 --
3667 -- Name: repository_repository_dependency_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3668 --
3669
3670 CREATE SEQUENCE public.repository_repository_dependency_association_id_seq
3671 START WITH 1
3672 INCREMENT BY 1
3673 NO MINVALUE
3674 NO MAXVALUE
3675 CACHE 1;
3676
3677
3678 ALTER TABLE public.repository_repository_dependency_association_id_seq OWNER TO lite;
3679
3680 --
3681 -- Name: repository_repository_dependency_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3682 --
3683
3684 ALTER SEQUENCE public.repository_repository_dependency_association_id_seq OWNED BY public.repository_repository_dependency_association.id;
3685
3686
3687 --
3688 -- Name: request; Type: TABLE; Schema: public; Owner: lite
3689 --
3690
3691 CREATE TABLE public.request (
3692 id integer NOT NULL,
3693 create_time timestamp without time zone,
3694 update_time timestamp without time zone,
3695 name character varying(255) NOT NULL,
3696 "desc" text,
3697 form_values_id integer,
3698 request_type_id integer,
3699 user_id integer,
3700 deleted boolean,
3701 notification bytea
3702 );
3703
3704
3705 ALTER TABLE public.request OWNER TO lite;
3706
3707 --
3708 -- Name: request_event; Type: TABLE; Schema: public; Owner: lite
3709 --
3710
3711 CREATE TABLE public.request_event (
3712 id integer NOT NULL,
3713 create_time timestamp without time zone,
3714 update_time timestamp without time zone,
3715 request_id integer,
3716 state character varying(255),
3717 comment text
3718 );
3719
3720
3721 ALTER TABLE public.request_event OWNER TO lite;
3722
3723 --
3724 -- Name: request_event_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3725 --
3726
3727 CREATE SEQUENCE public.request_event_id_seq
3728 START WITH 1
3729 INCREMENT BY 1
3730 NO MINVALUE
3731 NO MAXVALUE
3732 CACHE 1;
3733
3734
3735 ALTER TABLE public.request_event_id_seq OWNER TO lite;
3736
3737 --
3738 -- Name: request_event_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3739 --
3740
3741 ALTER SEQUENCE public.request_event_id_seq OWNED BY public.request_event.id;
3742
3743
3744 --
3745 -- Name: request_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3746 --
3747
3748 CREATE SEQUENCE public.request_id_seq
3749 START WITH 1
3750 INCREMENT BY 1
3751 NO MINVALUE
3752 NO MAXVALUE
3753 CACHE 1;
3754
3755
3756 ALTER TABLE public.request_id_seq OWNER TO lite;
3757
3758 --
3759 -- Name: request_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3760 --
3761
3762 ALTER SEQUENCE public.request_id_seq OWNED BY public.request.id;
3763
3764
3765 --
3766 -- Name: request_type; Type: TABLE; Schema: public; Owner: lite
3767 --
3768
3769 CREATE TABLE public.request_type (
3770 id integer NOT NULL,
3771 create_time timestamp without time zone,
3772 update_time timestamp without time zone,
3773 name character varying(255) NOT NULL,
3774 "desc" text,
3775 request_form_id integer,
3776 sample_form_id integer,
3777 deleted boolean
3778 );
3779
3780
3781 ALTER TABLE public.request_type OWNER TO lite;
3782
3783 --
3784 -- Name: request_type_external_service_association; Type: TABLE; Schema: public; Owner: lite
3785 --
3786
3787 CREATE TABLE public.request_type_external_service_association (
3788 id integer NOT NULL,
3789 request_type_id integer,
3790 external_service_id integer
3791 );
3792
3793
3794 ALTER TABLE public.request_type_external_service_association OWNER TO lite;
3795
3796 --
3797 -- Name: request_type_external_service_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3798 --
3799
3800 CREATE SEQUENCE public.request_type_external_service_association_id_seq
3801 START WITH 1
3802 INCREMENT BY 1
3803 NO MINVALUE
3804 NO MAXVALUE
3805 CACHE 1;
3806
3807
3808 ALTER TABLE public.request_type_external_service_association_id_seq OWNER TO lite;
3809
3810 --
3811 -- Name: request_type_external_service_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3812 --
3813
3814 ALTER SEQUENCE public.request_type_external_service_association_id_seq OWNED BY public.request_type_external_service_association.id;
3815
3816
3817 --
3818 -- Name: request_type_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3819 --
3820
3821 CREATE SEQUENCE public.request_type_id_seq
3822 START WITH 1
3823 INCREMENT BY 1
3824 NO MINVALUE
3825 NO MAXVALUE
3826 CACHE 1;
3827
3828
3829 ALTER TABLE public.request_type_id_seq OWNER TO lite;
3830
3831 --
3832 -- Name: request_type_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3833 --
3834
3835 ALTER SEQUENCE public.request_type_id_seq OWNED BY public.request_type.id;
3836
3837
3838 --
3839 -- Name: request_type_permissions; Type: TABLE; Schema: public; Owner: lite
3840 --
3841
3842 CREATE TABLE public.request_type_permissions (
3843 id integer NOT NULL,
3844 create_time timestamp without time zone,
3845 update_time timestamp without time zone,
3846 action text,
3847 request_type_id integer,
3848 role_id integer
3849 );
3850
3851
3852 ALTER TABLE public.request_type_permissions OWNER TO lite;
3853
3854 --
3855 -- Name: request_type_permissions_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3856 --
3857
3858 CREATE SEQUENCE public.request_type_permissions_id_seq
3859 START WITH 1
3860 INCREMENT BY 1
3861 NO MINVALUE
3862 NO MAXVALUE
3863 CACHE 1;
3864
3865
3866 ALTER TABLE public.request_type_permissions_id_seq OWNER TO lite;
3867
3868 --
3869 -- Name: request_type_permissions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3870 --
3871
3872 ALTER SEQUENCE public.request_type_permissions_id_seq OWNED BY public.request_type_permissions.id;
3873
3874
3875 --
3876 -- Name: request_type_run_association; Type: TABLE; Schema: public; Owner: lite
3877 --
3878
3879 CREATE TABLE public.request_type_run_association (
3880 id integer NOT NULL,
3881 request_type_id integer NOT NULL,
3882 run_id integer NOT NULL
3883 );
3884
3885
3886 ALTER TABLE public.request_type_run_association OWNER TO lite;
3887
3888 --
3889 -- Name: request_type_run_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3890 --
3891
3892 CREATE SEQUENCE public.request_type_run_association_id_seq
3893 START WITH 1
3894 INCREMENT BY 1
3895 NO MINVALUE
3896 NO MAXVALUE
3897 CACHE 1;
3898
3899
3900 ALTER TABLE public.request_type_run_association_id_seq OWNER TO lite;
3901
3902 --
3903 -- Name: request_type_run_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3904 --
3905
3906 ALTER SEQUENCE public.request_type_run_association_id_seq OWNED BY public.request_type_run_association.id;
3907
3908
3909 --
3910 -- Name: role; Type: TABLE; Schema: public; Owner: lite
3911 --
3912
3913 CREATE TABLE public.role (
3914 id integer NOT NULL,
3915 create_time timestamp without time zone,
3916 update_time timestamp without time zone,
3917 name character varying(255),
3918 description text,
3919 type character varying(40),
3920 deleted boolean
3921 );
3922
3923
3924 ALTER TABLE public.role OWNER TO lite;
3925
3926 --
3927 -- Name: role_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3928 --
3929
3930 CREATE SEQUENCE public.role_id_seq
3931 START WITH 1
3932 INCREMENT BY 1
3933 NO MINVALUE
3934 NO MAXVALUE
3935 CACHE 1;
3936
3937
3938 ALTER TABLE public.role_id_seq OWNER TO lite;
3939
3940 --
3941 -- Name: role_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3942 --
3943
3944 ALTER SEQUENCE public.role_id_seq OWNED BY public.role.id;
3945
3946
3947 --
3948 -- Name: run; Type: TABLE; Schema: public; Owner: lite
3949 --
3950
3951 CREATE TABLE public.run (
3952 id integer NOT NULL,
3953 create_time timestamp without time zone,
3954 update_time timestamp without time zone,
3955 form_definition_id integer,
3956 form_values_id integer,
3957 deleted boolean,
3958 subindex character varying(255)
3959 );
3960
3961
3962 ALTER TABLE public.run OWNER TO lite;
3963
3964 --
3965 -- Name: run_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
3966 --
3967
3968 CREATE SEQUENCE public.run_id_seq
3969 START WITH 1
3970 INCREMENT BY 1
3971 NO MINVALUE
3972 NO MAXVALUE
3973 CACHE 1;
3974
3975
3976 ALTER TABLE public.run_id_seq OWNER TO lite;
3977
3978 --
3979 -- Name: run_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
3980 --
3981
3982 ALTER SEQUENCE public.run_id_seq OWNED BY public.run.id;
3983
3984
3985 --
3986 -- Name: sample; Type: TABLE; Schema: public; Owner: lite
3987 --
3988
3989 CREATE TABLE public.sample (
3990 id integer NOT NULL,
3991 create_time timestamp without time zone,
3992 update_time timestamp without time zone,
3993 name character varying(255) NOT NULL,
3994 "desc" text,
3995 form_values_id integer,
3996 request_id integer,
3997 deleted boolean,
3998 bar_code character varying(255),
3999 library_id integer,
4000 folder_id integer,
4001 workflow bytea,
4002 history_id integer
4003 );
4004
4005
4006 ALTER TABLE public.sample OWNER TO lite;
4007
4008 --
4009 -- Name: sample_dataset; Type: TABLE; Schema: public; Owner: lite
4010 --
4011
4012 CREATE TABLE public.sample_dataset (
4013 id integer NOT NULL,
4014 create_time timestamp without time zone,
4015 update_time timestamp without time zone,
4016 sample_id integer,
4017 name character varying(255) NOT NULL,
4018 status character varying(255) NOT NULL,
4019 error_msg text,
4020 size character varying(255),
4021 file_path text,
4022 external_service_id integer
4023 );
4024
4025
4026 ALTER TABLE public.sample_dataset OWNER TO lite;
4027
4028 --
4029 -- Name: sample_dataset_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4030 --
4031
4032 CREATE SEQUENCE public.sample_dataset_id_seq
4033 START WITH 1
4034 INCREMENT BY 1
4035 NO MINVALUE
4036 NO MAXVALUE
4037 CACHE 1;
4038
4039
4040 ALTER TABLE public.sample_dataset_id_seq OWNER TO lite;
4041
4042 --
4043 -- Name: sample_dataset_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4044 --
4045
4046 ALTER SEQUENCE public.sample_dataset_id_seq OWNED BY public.sample_dataset.id;
4047
4048
4049 --
4050 -- Name: sample_event; Type: TABLE; Schema: public; Owner: lite
4051 --
4052
4053 CREATE TABLE public.sample_event (
4054 id integer NOT NULL,
4055 create_time timestamp without time zone,
4056 update_time timestamp without time zone,
4057 sample_id integer,
4058 sample_state_id integer,
4059 comment text
4060 );
4061
4062
4063 ALTER TABLE public.sample_event OWNER TO lite;
4064
4065 --
4066 -- Name: sample_event_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4067 --
4068
4069 CREATE SEQUENCE public.sample_event_id_seq
4070 START WITH 1
4071 INCREMENT BY 1
4072 NO MINVALUE
4073 NO MAXVALUE
4074 CACHE 1;
4075
4076
4077 ALTER TABLE public.sample_event_id_seq OWNER TO lite;
4078
4079 --
4080 -- Name: sample_event_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4081 --
4082
4083 ALTER SEQUENCE public.sample_event_id_seq OWNED BY public.sample_event.id;
4084
4085
4086 --
4087 -- Name: sample_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4088 --
4089
4090 CREATE SEQUENCE public.sample_id_seq
4091 START WITH 1
4092 INCREMENT BY 1
4093 NO MINVALUE
4094 NO MAXVALUE
4095 CACHE 1;
4096
4097
4098 ALTER TABLE public.sample_id_seq OWNER TO lite;
4099
4100 --
4101 -- Name: sample_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4102 --
4103
4104 ALTER SEQUENCE public.sample_id_seq OWNED BY public.sample.id;
4105
4106
4107 --
4108 -- Name: sample_run_association; Type: TABLE; Schema: public; Owner: lite
4109 --
4110
4111 CREATE TABLE public.sample_run_association (
4112 id integer NOT NULL,
4113 sample_id integer NOT NULL,
4114 run_id integer NOT NULL
4115 );
4116
4117
4118 ALTER TABLE public.sample_run_association OWNER TO lite;
4119
4120 --
4121 -- Name: sample_run_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4122 --
4123
4124 CREATE SEQUENCE public.sample_run_association_id_seq
4125 START WITH 1
4126 INCREMENT BY 1
4127 NO MINVALUE
4128 NO MAXVALUE
4129 CACHE 1;
4130
4131
4132 ALTER TABLE public.sample_run_association_id_seq OWNER TO lite;
4133
4134 --
4135 -- Name: sample_run_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4136 --
4137
4138 ALTER SEQUENCE public.sample_run_association_id_seq OWNED BY public.sample_run_association.id;
4139
4140
4141 --
4142 -- Name: sample_state; Type: TABLE; Schema: public; Owner: lite
4143 --
4144
4145 CREATE TABLE public.sample_state (
4146 id integer NOT NULL,
4147 create_time timestamp without time zone,
4148 update_time timestamp without time zone,
4149 name character varying(255) NOT NULL,
4150 "desc" text,
4151 request_type_id integer
4152 );
4153
4154
4155 ALTER TABLE public.sample_state OWNER TO lite;
4156
4157 --
4158 -- Name: sample_state_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4159 --
4160
4161 CREATE SEQUENCE public.sample_state_id_seq
4162 START WITH 1
4163 INCREMENT BY 1
4164 NO MINVALUE
4165 NO MAXVALUE
4166 CACHE 1;
4167
4168
4169 ALTER TABLE public.sample_state_id_seq OWNER TO lite;
4170
4171 --
4172 -- Name: sample_state_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4173 --
4174
4175 ALTER SEQUENCE public.sample_state_id_seq OWNED BY public.sample_state.id;
4176
4177
4178 --
4179 -- Name: stored_workflow; Type: TABLE; Schema: public; Owner: lite
4180 --
4181
4182 CREATE TABLE public.stored_workflow (
4183 id integer NOT NULL,
4184 create_time timestamp without time zone,
4185 update_time timestamp without time zone,
4186 user_id integer NOT NULL,
4187 latest_workflow_id integer,
4188 name text,
4189 deleted boolean,
4190 importable boolean,
4191 slug text,
4192 published boolean
4193 );
4194
4195
4196 ALTER TABLE public.stored_workflow OWNER TO lite;
4197
4198 --
4199 -- Name: stored_workflow_annotation_association; Type: TABLE; Schema: public; Owner: lite
4200 --
4201
4202 CREATE TABLE public.stored_workflow_annotation_association (
4203 id integer NOT NULL,
4204 stored_workflow_id integer,
4205 user_id integer,
4206 annotation text
4207 );
4208
4209
4210 ALTER TABLE public.stored_workflow_annotation_association OWNER TO lite;
4211
4212 --
4213 -- Name: stored_workflow_annotation_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4214 --
4215
4216 CREATE SEQUENCE public.stored_workflow_annotation_association_id_seq
4217 START WITH 1
4218 INCREMENT BY 1
4219 NO MINVALUE
4220 NO MAXVALUE
4221 CACHE 1;
4222
4223
4224 ALTER TABLE public.stored_workflow_annotation_association_id_seq OWNER TO lite;
4225
4226 --
4227 -- Name: stored_workflow_annotation_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4228 --
4229
4230 ALTER SEQUENCE public.stored_workflow_annotation_association_id_seq OWNED BY public.stored_workflow_annotation_association.id;
4231
4232
4233 --
4234 -- Name: stored_workflow_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4235 --
4236
4237 CREATE SEQUENCE public.stored_workflow_id_seq
4238 START WITH 1
4239 INCREMENT BY 1
4240 NO MINVALUE
4241 NO MAXVALUE
4242 CACHE 1;
4243
4244
4245 ALTER TABLE public.stored_workflow_id_seq OWNER TO lite;
4246
4247 --
4248 -- Name: stored_workflow_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4249 --
4250
4251 ALTER SEQUENCE public.stored_workflow_id_seq OWNED BY public.stored_workflow.id;
4252
4253
4254 --
4255 -- Name: stored_workflow_menu_entry; Type: TABLE; Schema: public; Owner: lite
4256 --
4257
4258 CREATE TABLE public.stored_workflow_menu_entry (
4259 id integer NOT NULL,
4260 stored_workflow_id integer,
4261 user_id integer,
4262 order_index integer
4263 );
4264
4265
4266 ALTER TABLE public.stored_workflow_menu_entry OWNER TO lite;
4267
4268 --
4269 -- Name: stored_workflow_menu_entry_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4270 --
4271
4272 CREATE SEQUENCE public.stored_workflow_menu_entry_id_seq
4273 START WITH 1
4274 INCREMENT BY 1
4275 NO MINVALUE
4276 NO MAXVALUE
4277 CACHE 1;
4278
4279
4280 ALTER TABLE public.stored_workflow_menu_entry_id_seq OWNER TO lite;
4281
4282 --
4283 -- Name: stored_workflow_menu_entry_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4284 --
4285
4286 ALTER SEQUENCE public.stored_workflow_menu_entry_id_seq OWNED BY public.stored_workflow_menu_entry.id;
4287
4288
4289 --
4290 -- Name: stored_workflow_rating_association; Type: TABLE; Schema: public; Owner: lite
4291 --
4292
4293 CREATE TABLE public.stored_workflow_rating_association (
4294 id integer NOT NULL,
4295 stored_workflow_id integer,
4296 user_id integer,
4297 rating integer
4298 );
4299
4300
4301 ALTER TABLE public.stored_workflow_rating_association OWNER TO lite;
4302
4303 --
4304 -- Name: stored_workflow_rating_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4305 --
4306
4307 CREATE SEQUENCE public.stored_workflow_rating_association_id_seq
4308 START WITH 1
4309 INCREMENT BY 1
4310 NO MINVALUE
4311 NO MAXVALUE
4312 CACHE 1;
4313
4314
4315 ALTER TABLE public.stored_workflow_rating_association_id_seq OWNER TO lite;
4316
4317 --
4318 -- Name: stored_workflow_rating_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4319 --
4320
4321 ALTER SEQUENCE public.stored_workflow_rating_association_id_seq OWNED BY public.stored_workflow_rating_association.id;
4322
4323
4324 --
4325 -- Name: stored_workflow_tag_association; Type: TABLE; Schema: public; Owner: lite
4326 --
4327
4328 CREATE TABLE public.stored_workflow_tag_association (
4329 id integer NOT NULL,
4330 stored_workflow_id integer,
4331 tag_id integer,
4332 user_id integer,
4333 user_tname character varying(255),
4334 value character varying(255),
4335 user_value character varying(255)
4336 );
4337
4338
4339 ALTER TABLE public.stored_workflow_tag_association OWNER TO lite;
4340
4341 --
4342 -- Name: stored_workflow_tag_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4343 --
4344
4345 CREATE SEQUENCE public.stored_workflow_tag_association_id_seq
4346 START WITH 1
4347 INCREMENT BY 1
4348 NO MINVALUE
4349 NO MAXVALUE
4350 CACHE 1;
4351
4352
4353 ALTER TABLE public.stored_workflow_tag_association_id_seq OWNER TO lite;
4354
4355 --
4356 -- Name: stored_workflow_tag_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4357 --
4358
4359 ALTER SEQUENCE public.stored_workflow_tag_association_id_seq OWNED BY public.stored_workflow_tag_association.id;
4360
4361
4362 --
4363 -- Name: stored_workflow_user_share_connection; Type: TABLE; Schema: public; Owner: lite
4364 --
4365
4366 CREATE TABLE public.stored_workflow_user_share_connection (
4367 id integer NOT NULL,
4368 stored_workflow_id integer,
4369 user_id integer
4370 );
4371
4372
4373 ALTER TABLE public.stored_workflow_user_share_connection OWNER TO lite;
4374
4375 --
4376 -- Name: stored_workflow_user_share_connection_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4377 --
4378
4379 CREATE SEQUENCE public.stored_workflow_user_share_connection_id_seq
4380 START WITH 1
4381 INCREMENT BY 1
4382 NO MINVALUE
4383 NO MAXVALUE
4384 CACHE 1;
4385
4386
4387 ALTER TABLE public.stored_workflow_user_share_connection_id_seq OWNER TO lite;
4388
4389 --
4390 -- Name: stored_workflow_user_share_connection_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4391 --
4392
4393 ALTER SEQUENCE public.stored_workflow_user_share_connection_id_seq OWNED BY public.stored_workflow_user_share_connection.id;
4394
4395
4396 --
4397 -- Name: tag; Type: TABLE; Schema: public; Owner: lite
4398 --
4399
4400 CREATE TABLE public.tag (
4401 id integer NOT NULL,
4402 type integer,
4403 parent_id integer,
4404 name character varying(255)
4405 );
4406
4407
4408 ALTER TABLE public.tag OWNER TO lite;
4409
4410 --
4411 -- Name: tag_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4412 --
4413
4414 CREATE SEQUENCE public.tag_id_seq
4415 START WITH 1
4416 INCREMENT BY 1
4417 NO MINVALUE
4418 NO MAXVALUE
4419 CACHE 1;
4420
4421
4422 ALTER TABLE public.tag_id_seq OWNER TO lite;
4423
4424 --
4425 -- Name: tag_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4426 --
4427
4428 ALTER SEQUENCE public.tag_id_seq OWNED BY public.tag.id;
4429
4430
4431 --
4432 -- Name: task; Type: TABLE; Schema: public; Owner: lite
4433 --
4434
4435 CREATE TABLE public.task (
4436 id integer NOT NULL,
4437 create_time timestamp without time zone,
4438 execution_time timestamp without time zone,
4439 update_time timestamp without time zone,
4440 state character varying(64),
4441 command_line text,
4442 param_filename character varying(1024),
4443 runner_name character varying(255),
4444 stdout text,
4445 stderr text,
4446 traceback text,
4447 job_id integer NOT NULL,
4448 task_runner_name character varying(255),
4449 task_runner_external_id character varying(255),
4450 prepare_input_files_cmd text,
4451 working_directory character varying(1024),
4452 info character varying(255),
4453 exit_code integer
4454 );
4455
4456
4457 ALTER TABLE public.task OWNER TO lite;
4458
4459 --
4460 -- Name: task_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4461 --
4462
4463 CREATE SEQUENCE public.task_id_seq
4464 START WITH 1
4465 INCREMENT BY 1
4466 NO MINVALUE
4467 NO MAXVALUE
4468 CACHE 1;
4469
4470
4471 ALTER TABLE public.task_id_seq OWNER TO lite;
4472
4473 --
4474 -- Name: task_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4475 --
4476
4477 ALTER SEQUENCE public.task_id_seq OWNED BY public.task.id;
4478
4479
4480 --
4481 -- Name: task_metric_numeric; Type: TABLE; Schema: public; Owner: lite
4482 --
4483
4484 CREATE TABLE public.task_metric_numeric (
4485 id integer NOT NULL,
4486 task_id integer,
4487 plugin character varying(255),
4488 metric_name character varying(255),
4489 metric_value numeric(22,7)
4490 );
4491
4492
4493 ALTER TABLE public.task_metric_numeric OWNER TO lite;
4494
4495 --
4496 -- Name: task_metric_numeric_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4497 --
4498
4499 CREATE SEQUENCE public.task_metric_numeric_id_seq
4500 START WITH 1
4501 INCREMENT BY 1
4502 NO MINVALUE
4503 NO MAXVALUE
4504 CACHE 1;
4505
4506
4507 ALTER TABLE public.task_metric_numeric_id_seq OWNER TO lite;
4508
4509 --
4510 -- Name: task_metric_numeric_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4511 --
4512
4513 ALTER SEQUENCE public.task_metric_numeric_id_seq OWNED BY public.task_metric_numeric.id;
4514
4515
4516 --
4517 -- Name: task_metric_text; Type: TABLE; Schema: public; Owner: lite
4518 --
4519
4520 CREATE TABLE public.task_metric_text (
4521 id integer NOT NULL,
4522 task_id integer,
4523 plugin character varying(255),
4524 metric_name character varying(255),
4525 metric_value character varying(1023)
4526 );
4527
4528
4529 ALTER TABLE public.task_metric_text OWNER TO lite;
4530
4531 --
4532 -- Name: task_metric_text_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4533 --
4534
4535 CREATE SEQUENCE public.task_metric_text_id_seq
4536 START WITH 1
4537 INCREMENT BY 1
4538 NO MINVALUE
4539 NO MAXVALUE
4540 CACHE 1;
4541
4542
4543 ALTER TABLE public.task_metric_text_id_seq OWNER TO lite;
4544
4545 --
4546 -- Name: task_metric_text_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4547 --
4548
4549 ALTER SEQUENCE public.task_metric_text_id_seq OWNED BY public.task_metric_text.id;
4550
4551
4552 --
4553 -- Name: tool_dependency; Type: TABLE; Schema: public; Owner: lite
4554 --
4555
4556 CREATE TABLE public.tool_dependency (
4557 id integer NOT NULL,
4558 create_time timestamp without time zone,
4559 update_time timestamp without time zone,
4560 tool_shed_repository_id integer NOT NULL,
4561 name character varying(255),
4562 version text,
4563 type character varying(40),
4564 status character varying(255) NOT NULL,
4565 error_message text
4566 );
4567
4568
4569 ALTER TABLE public.tool_dependency OWNER TO lite;
4570
4571 --
4572 -- Name: tool_dependency_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4573 --
4574
4575 CREATE SEQUENCE public.tool_dependency_id_seq
4576 START WITH 1
4577 INCREMENT BY 1
4578 NO MINVALUE
4579 NO MAXVALUE
4580 CACHE 1;
4581
4582
4583 ALTER TABLE public.tool_dependency_id_seq OWNER TO lite;
4584
4585 --
4586 -- Name: tool_dependency_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4587 --
4588
4589 ALTER SEQUENCE public.tool_dependency_id_seq OWNED BY public.tool_dependency.id;
4590
4591
4592 --
4593 -- Name: tool_shed_repository; Type: TABLE; Schema: public; Owner: lite
4594 --
4595
4596 CREATE TABLE public.tool_shed_repository (
4597 id integer NOT NULL,
4598 create_time timestamp without time zone,
4599 update_time timestamp without time zone,
4600 tool_shed character varying(255),
4601 name character varying(255),
4602 description text,
4603 owner character varying(255),
4604 changeset_revision character varying(255),
4605 deleted boolean,
4606 metadata bytea,
4607 includes_datatypes boolean,
4608 installed_changeset_revision character varying(255),
4609 uninstalled boolean,
4610 dist_to_shed boolean,
4611 ctx_rev character varying(10),
4612 status character varying(255),
4613 error_message text,
4614 tool_shed_status bytea
4615 );
4616
4617
4618 ALTER TABLE public.tool_shed_repository OWNER TO lite;
4619
4620 --
4621 -- Name: tool_shed_repository_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4622 --
4623
4624 CREATE SEQUENCE public.tool_shed_repository_id_seq
4625 START WITH 1
4626 INCREMENT BY 1
4627 NO MINVALUE
4628 NO MAXVALUE
4629 CACHE 1;
4630
4631
4632 ALTER TABLE public.tool_shed_repository_id_seq OWNER TO lite;
4633
4634 --
4635 -- Name: tool_shed_repository_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4636 --
4637
4638 ALTER SEQUENCE public.tool_shed_repository_id_seq OWNED BY public.tool_shed_repository.id;
4639
4640
4641 --
4642 -- Name: tool_tag_association; Type: TABLE; Schema: public; Owner: lite
4643 --
4644
4645 CREATE TABLE public.tool_tag_association (
4646 id integer NOT NULL,
4647 tool_id character varying(255),
4648 tag_id integer,
4649 user_id integer,
4650 user_tname character varying(255),
4651 value character varying(255),
4652 user_value character varying(255)
4653 );
4654
4655
4656 ALTER TABLE public.tool_tag_association OWNER TO lite;
4657
4658 --
4659 -- Name: tool_tag_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4660 --
4661
4662 CREATE SEQUENCE public.tool_tag_association_id_seq
4663 START WITH 1
4664 INCREMENT BY 1
4665 NO MINVALUE
4666 NO MAXVALUE
4667 CACHE 1;
4668
4669
4670 ALTER TABLE public.tool_tag_association_id_seq OWNER TO lite;
4671
4672 --
4673 -- Name: tool_tag_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4674 --
4675
4676 ALTER SEQUENCE public.tool_tag_association_id_seq OWNED BY public.tool_tag_association.id;
4677
4678
4679 --
4680 -- Name: tool_version; Type: TABLE; Schema: public; Owner: lite
4681 --
4682
4683 CREATE TABLE public.tool_version (
4684 id integer NOT NULL,
4685 create_time timestamp without time zone,
4686 update_time timestamp without time zone,
4687 tool_id character varying(255),
4688 tool_shed_repository_id integer
4689 );
4690
4691
4692 ALTER TABLE public.tool_version OWNER TO lite;
4693
4694 --
4695 -- Name: tool_version_association; Type: TABLE; Schema: public; Owner: lite
4696 --
4697
4698 CREATE TABLE public.tool_version_association (
4699 id integer NOT NULL,
4700 tool_id integer NOT NULL,
4701 parent_id integer NOT NULL
4702 );
4703
4704
4705 ALTER TABLE public.tool_version_association OWNER TO lite;
4706
4707 --
4708 -- Name: tool_version_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4709 --
4710
4711 CREATE SEQUENCE public.tool_version_association_id_seq
4712 START WITH 1
4713 INCREMENT BY 1
4714 NO MINVALUE
4715 NO MAXVALUE
4716 CACHE 1;
4717
4718
4719 ALTER TABLE public.tool_version_association_id_seq OWNER TO lite;
4720
4721 --
4722 -- Name: tool_version_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4723 --
4724
4725 ALTER SEQUENCE public.tool_version_association_id_seq OWNED BY public.tool_version_association.id;
4726
4727
4728 --
4729 -- Name: tool_version_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4730 --
4731
4732 CREATE SEQUENCE public.tool_version_id_seq
4733 START WITH 1
4734 INCREMENT BY 1
4735 NO MINVALUE
4736 NO MAXVALUE
4737 CACHE 1;
4738
4739
4740 ALTER TABLE public.tool_version_id_seq OWNER TO lite;
4741
4742 --
4743 -- Name: tool_version_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4744 --
4745
4746 ALTER SEQUENCE public.tool_version_id_seq OWNED BY public.tool_version.id;
4747
4748
4749 --
4750 -- Name: transfer_job; Type: TABLE; Schema: public; Owner: lite
4751 --
4752
4753 CREATE TABLE public.transfer_job (
4754 id integer NOT NULL,
4755 create_time timestamp without time zone,
4756 update_time timestamp without time zone,
4757 state character varying(64),
4758 path character varying(1024),
4759 params bytea,
4760 info text,
4761 pid integer,
4762 socket integer
4763 );
4764
4765
4766 ALTER TABLE public.transfer_job OWNER TO lite;
4767
4768 --
4769 -- Name: transfer_job_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4770 --
4771
4772 CREATE SEQUENCE public.transfer_job_id_seq
4773 START WITH 1
4774 INCREMENT BY 1
4775 NO MINVALUE
4776 NO MAXVALUE
4777 CACHE 1;
4778
4779
4780 ALTER TABLE public.transfer_job_id_seq OWNER TO lite;
4781
4782 --
4783 -- Name: transfer_job_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4784 --
4785
4786 ALTER SEQUENCE public.transfer_job_id_seq OWNED BY public.transfer_job.id;
4787
4788
4789 --
4790 -- Name: user_action; Type: TABLE; Schema: public; Owner: lite
4791 --
4792
4793 CREATE TABLE public.user_action (
4794 id integer NOT NULL,
4795 create_time timestamp without time zone,
4796 user_id integer,
4797 session_id integer,
4798 action character varying(255),
4799 context character varying(512),
4800 params character varying(1024)
4801 );
4802
4803
4804 ALTER TABLE public.user_action OWNER TO lite;
4805
4806 --
4807 -- Name: user_action_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4808 --
4809
4810 CREATE SEQUENCE public.user_action_id_seq
4811 START WITH 1
4812 INCREMENT BY 1
4813 NO MINVALUE
4814 NO MAXVALUE
4815 CACHE 1;
4816
4817
4818 ALTER TABLE public.user_action_id_seq OWNER TO lite;
4819
4820 --
4821 -- Name: user_action_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4822 --
4823
4824 ALTER SEQUENCE public.user_action_id_seq OWNED BY public.user_action.id;
4825
4826
4827 --
4828 -- Name: user_address; Type: TABLE; Schema: public; Owner: lite
4829 --
4830
4831 CREATE TABLE public.user_address (
4832 id integer NOT NULL,
4833 create_time timestamp without time zone,
4834 update_time timestamp without time zone,
4835 user_id integer,
4836 "desc" text,
4837 name character varying(255) NOT NULL,
4838 institution character varying(255),
4839 address character varying(255) NOT NULL,
4840 city character varying(255) NOT NULL,
4841 state character varying(255) NOT NULL,
4842 postal_code character varying(255) NOT NULL,
4843 country character varying(255) NOT NULL,
4844 phone character varying(255),
4845 deleted boolean,
4846 purged boolean
4847 );
4848
4849
4850 ALTER TABLE public.user_address OWNER TO lite;
4851
4852 --
4853 -- Name: user_address_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4854 --
4855
4856 CREATE SEQUENCE public.user_address_id_seq
4857 START WITH 1
4858 INCREMENT BY 1
4859 NO MINVALUE
4860 NO MAXVALUE
4861 CACHE 1;
4862
4863
4864 ALTER TABLE public.user_address_id_seq OWNER TO lite;
4865
4866 --
4867 -- Name: user_address_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4868 --
4869
4870 ALTER SEQUENCE public.user_address_id_seq OWNED BY public.user_address.id;
4871
4872
4873 --
4874 -- Name: user_group_association; Type: TABLE; Schema: public; Owner: lite
4875 --
4876
4877 CREATE TABLE public.user_group_association (
4878 id integer NOT NULL,
4879 user_id integer,
4880 group_id integer,
4881 create_time timestamp without time zone,
4882 update_time timestamp without time zone
4883 );
4884
4885
4886 ALTER TABLE public.user_group_association OWNER TO lite;
4887
4888 --
4889 -- Name: user_group_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4890 --
4891
4892 CREATE SEQUENCE public.user_group_association_id_seq
4893 START WITH 1
4894 INCREMENT BY 1
4895 NO MINVALUE
4896 NO MAXVALUE
4897 CACHE 1;
4898
4899
4900 ALTER TABLE public.user_group_association_id_seq OWNER TO lite;
4901
4902 --
4903 -- Name: user_group_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4904 --
4905
4906 ALTER SEQUENCE public.user_group_association_id_seq OWNED BY public.user_group_association.id;
4907
4908
4909 --
4910 -- Name: user_preference; Type: TABLE; Schema: public; Owner: lite
4911 --
4912
4913 CREATE TABLE public.user_preference (
4914 id integer NOT NULL,
4915 user_id integer,
4916 name character varying(255),
4917 value text
4918 );
4919
4920
4921 ALTER TABLE public.user_preference OWNER TO lite;
4922
4923 --
4924 -- Name: user_preference_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4925 --
4926
4927 CREATE SEQUENCE public.user_preference_id_seq
4928 START WITH 1
4929 INCREMENT BY 1
4930 NO MINVALUE
4931 NO MAXVALUE
4932 CACHE 1;
4933
4934
4935 ALTER TABLE public.user_preference_id_seq OWNER TO lite;
4936
4937 --
4938 -- Name: user_preference_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4939 --
4940
4941 ALTER SEQUENCE public.user_preference_id_seq OWNED BY public.user_preference.id;
4942
4943
4944 --
4945 -- Name: user_quota_association; Type: TABLE; Schema: public; Owner: lite
4946 --
4947
4948 CREATE TABLE public.user_quota_association (
4949 id integer NOT NULL,
4950 user_id integer,
4951 quota_id integer,
4952 create_time timestamp without time zone,
4953 update_time timestamp without time zone
4954 );
4955
4956
4957 ALTER TABLE public.user_quota_association OWNER TO lite;
4958
4959 --
4960 -- Name: user_quota_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4961 --
4962
4963 CREATE SEQUENCE public.user_quota_association_id_seq
4964 START WITH 1
4965 INCREMENT BY 1
4966 NO MINVALUE
4967 NO MAXVALUE
4968 CACHE 1;
4969
4970
4971 ALTER TABLE public.user_quota_association_id_seq OWNER TO lite;
4972
4973 --
4974 -- Name: user_quota_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
4975 --
4976
4977 ALTER SEQUENCE public.user_quota_association_id_seq OWNED BY public.user_quota_association.id;
4978
4979
4980 --
4981 -- Name: user_role_association; Type: TABLE; Schema: public; Owner: lite
4982 --
4983
4984 CREATE TABLE public.user_role_association (
4985 id integer NOT NULL,
4986 user_id integer,
4987 role_id integer,
4988 create_time timestamp without time zone,
4989 update_time timestamp without time zone
4990 );
4991
4992
4993 ALTER TABLE public.user_role_association OWNER TO lite;
4994
4995 --
4996 -- Name: user_role_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
4997 --
4998
4999 CREATE SEQUENCE public.user_role_association_id_seq
5000 START WITH 1
5001 INCREMENT BY 1
5002 NO MINVALUE
5003 NO MAXVALUE
5004 CACHE 1;
5005
5006
5007 ALTER TABLE public.user_role_association_id_seq OWNER TO lite;
5008
5009 --
5010 -- Name: user_role_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
5011 --
5012
5013 ALTER SEQUENCE public.user_role_association_id_seq OWNED BY public.user_role_association.id;
5014
5015
5016 --
5017 -- Name: validation_error; Type: TABLE; Schema: public; Owner: lite
5018 --
5019
5020 CREATE TABLE public.validation_error (
5021 id integer NOT NULL,
5022 dataset_id integer,
5023 message character varying(255),
5024 err_type character varying(64),
5025 attributes text
5026 );
5027
5028
5029 ALTER TABLE public.validation_error OWNER TO lite;
5030
5031 --
5032 -- Name: validation_error_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
5033 --
5034
5035 CREATE SEQUENCE public.validation_error_id_seq
5036 START WITH 1
5037 INCREMENT BY 1
5038 NO MINVALUE
5039 NO MAXVALUE
5040 CACHE 1;
5041
5042
5043 ALTER TABLE public.validation_error_id_seq OWNER TO lite;
5044
5045 --
5046 -- Name: validation_error_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
5047 --
5048
5049 ALTER SEQUENCE public.validation_error_id_seq OWNED BY public.validation_error.id;
5050
5051
5052 --
5053 -- Name: visualization; Type: TABLE; Schema: public; Owner: lite
5054 --
5055
5056 CREATE TABLE public.visualization (
5057 id integer NOT NULL,
5058 create_time timestamp without time zone,
5059 update_time timestamp without time zone,
5060 user_id integer NOT NULL,
5061 latest_revision_id integer,
5062 title text,
5063 type text,
5064 deleted boolean,
5065 importable boolean,
5066 slug text,
5067 published boolean,
5068 dbkey text
5069 );
5070
5071
5072 ALTER TABLE public.visualization OWNER TO lite;
5073
5074 --
5075 -- Name: visualization_annotation_association; Type: TABLE; Schema: public; Owner: lite
5076 --
5077
5078 CREATE TABLE public.visualization_annotation_association (
5079 id integer NOT NULL,
5080 visualization_id integer,
5081 user_id integer,
5082 annotation text
5083 );
5084
5085
5086 ALTER TABLE public.visualization_annotation_association OWNER TO lite;
5087
5088 --
5089 -- Name: visualization_annotation_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
5090 --
5091
5092 CREATE SEQUENCE public.visualization_annotation_association_id_seq
5093 START WITH 1
5094 INCREMENT BY 1
5095 NO MINVALUE
5096 NO MAXVALUE
5097 CACHE 1;
5098
5099
5100 ALTER TABLE public.visualization_annotation_association_id_seq OWNER TO lite;
5101
5102 --
5103 -- Name: visualization_annotation_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
5104 --
5105
5106 ALTER SEQUENCE public.visualization_annotation_association_id_seq OWNED BY public.visualization_annotation_association.id;
5107
5108
5109 --
5110 -- Name: visualization_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
5111 --
5112
5113 CREATE SEQUENCE public.visualization_id_seq
5114 START WITH 1
5115 INCREMENT BY 1
5116 NO MINVALUE
5117 NO MAXVALUE
5118 CACHE 1;
5119
5120
5121 ALTER TABLE public.visualization_id_seq OWNER TO lite;
5122
5123 --
5124 -- Name: visualization_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
5125 --
5126
5127 ALTER SEQUENCE public.visualization_id_seq OWNED BY public.visualization.id;
5128
5129
5130 --
5131 -- Name: visualization_rating_association; Type: TABLE; Schema: public; Owner: lite
5132 --
5133
5134 CREATE TABLE public.visualization_rating_association (
5135 id integer NOT NULL,
5136 visualization_id integer,
5137 user_id integer,
5138 rating integer
5139 );
5140
5141
5142 ALTER TABLE public.visualization_rating_association OWNER TO lite;
5143
5144 --
5145 -- Name: visualization_rating_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
5146 --
5147
5148 CREATE SEQUENCE public.visualization_rating_association_id_seq
5149 START WITH 1
5150 INCREMENT BY 1
5151 NO MINVALUE
5152 NO MAXVALUE
5153 CACHE 1;
5154
5155
5156 ALTER TABLE public.visualization_rating_association_id_seq OWNER TO lite;
5157
5158 --
5159 -- Name: visualization_rating_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
5160 --
5161
5162 ALTER SEQUENCE public.visualization_rating_association_id_seq OWNED BY public.visualization_rating_association.id;
5163
5164
5165 --
5166 -- Name: visualization_revision; Type: TABLE; Schema: public; Owner: lite
5167 --
5168
5169 CREATE TABLE public.visualization_revision (
5170 id integer NOT NULL,
5171 create_time timestamp without time zone,
5172 update_time timestamp without time zone,
5173 visualization_id integer NOT NULL,
5174 title text,
5175 config text,
5176 dbkey text
5177 );
5178
5179
5180 ALTER TABLE public.visualization_revision OWNER TO lite;
5181
5182 --
5183 -- Name: visualization_revision_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
5184 --
5185
5186 CREATE SEQUENCE public.visualization_revision_id_seq
5187 START WITH 1
5188 INCREMENT BY 1
5189 NO MINVALUE
5190 NO MAXVALUE
5191 CACHE 1;
5192
5193
5194 ALTER TABLE public.visualization_revision_id_seq OWNER TO lite;
5195
5196 --
5197 -- Name: visualization_revision_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
5198 --
5199
5200 ALTER SEQUENCE public.visualization_revision_id_seq OWNED BY public.visualization_revision.id;
5201
5202
5203 --
5204 -- Name: visualization_tag_association; Type: TABLE; Schema: public; Owner: lite
5205 --
5206
5207 CREATE TABLE public.visualization_tag_association (
5208 id integer NOT NULL,
5209 visualization_id integer,
5210 tag_id integer,
5211 user_id integer,
5212 user_tname character varying(255),
5213 value character varying(255),
5214 user_value character varying(255)
5215 );
5216
5217
5218 ALTER TABLE public.visualization_tag_association OWNER TO lite;
5219
5220 --
5221 -- Name: visualization_tag_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
5222 --
5223
5224 CREATE SEQUENCE public.visualization_tag_association_id_seq
5225 START WITH 1
5226 INCREMENT BY 1
5227 NO MINVALUE
5228 NO MAXVALUE
5229 CACHE 1;
5230
5231
5232 ALTER TABLE public.visualization_tag_association_id_seq OWNER TO lite;
5233
5234 --
5235 -- Name: visualization_tag_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
5236 --
5237
5238 ALTER SEQUENCE public.visualization_tag_association_id_seq OWNED BY public.visualization_tag_association.id;
5239
5240
5241 --
5242 -- Name: visualization_user_share_association; Type: TABLE; Schema: public; Owner: lite
5243 --
5244
5245 CREATE TABLE public.visualization_user_share_association (
5246 id integer NOT NULL,
5247 visualization_id integer,
5248 user_id integer
5249 );
5250
5251
5252 ALTER TABLE public.visualization_user_share_association OWNER TO lite;
5253
5254 --
5255 -- Name: visualization_user_share_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
5256 --
5257
5258 CREATE SEQUENCE public.visualization_user_share_association_id_seq
5259 START WITH 1
5260 INCREMENT BY 1
5261 NO MINVALUE
5262 NO MAXVALUE
5263 CACHE 1;
5264
5265
5266 ALTER TABLE public.visualization_user_share_association_id_seq OWNER TO lite;
5267
5268 --
5269 -- Name: visualization_user_share_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
5270 --
5271
5272 ALTER SEQUENCE public.visualization_user_share_association_id_seq OWNED BY public.visualization_user_share_association.id;
5273
5274
5275 --
5276 -- Name: workflow; Type: TABLE; Schema: public; Owner: lite
5277 --
5278
5279 CREATE TABLE public.workflow (
5280 id integer NOT NULL,
5281 create_time timestamp without time zone,
5282 update_time timestamp without time zone,
5283 stored_workflow_id integer,
5284 name text,
5285 has_cycles boolean,
5286 has_errors boolean,
5287 uuid character(32),
5288 parent_workflow_id integer
5289 );
5290
5291
5292 ALTER TABLE public.workflow OWNER TO lite;
5293
5294 --
5295 -- Name: workflow_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
5296 --
5297
5298 CREATE SEQUENCE public.workflow_id_seq
5299 START WITH 1
5300 INCREMENT BY 1
5301 NO MINVALUE
5302 NO MAXVALUE
5303 CACHE 1;
5304
5305
5306 ALTER TABLE public.workflow_id_seq OWNER TO lite;
5307
5308 --
5309 -- Name: workflow_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
5310 --
5311
5312 ALTER SEQUENCE public.workflow_id_seq OWNED BY public.workflow.id;
5313
5314
5315 --
5316 -- Name: workflow_invocation; Type: TABLE; Schema: public; Owner: lite
5317 --
5318
5319 CREATE TABLE public.workflow_invocation (
5320 id integer NOT NULL,
5321 create_time timestamp without time zone,
5322 update_time timestamp without time zone,
5323 workflow_id integer NOT NULL,
5324 history_id integer,
5325 state character varying(64),
5326 scheduler character varying(255),
5327 handler character varying(255),
5328 uuid character(32)
5329 );
5330
5331
5332 ALTER TABLE public.workflow_invocation OWNER TO lite;
5333
5334 --
5335 -- Name: workflow_invocation_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
5336 --
5337
5338 CREATE SEQUENCE public.workflow_invocation_id_seq
5339 START WITH 1
5340 INCREMENT BY 1
5341 NO MINVALUE
5342 NO MAXVALUE
5343 CACHE 1;
5344
5345
5346 ALTER TABLE public.workflow_invocation_id_seq OWNER TO lite;
5347
5348 --
5349 -- Name: workflow_invocation_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
5350 --
5351
5352 ALTER SEQUENCE public.workflow_invocation_id_seq OWNED BY public.workflow_invocation.id;
5353
5354
5355 --
5356 -- Name: workflow_invocation_step; Type: TABLE; Schema: public; Owner: lite
5357 --
5358
5359 CREATE TABLE public.workflow_invocation_step (
5360 id integer NOT NULL,
5361 create_time timestamp without time zone,
5362 update_time timestamp without time zone,
5363 workflow_invocation_id integer NOT NULL,
5364 workflow_step_id integer NOT NULL,
5365 job_id integer,
5366 action bytea
5367 );
5368
5369
5370 ALTER TABLE public.workflow_invocation_step OWNER TO lite;
5371
5372 --
5373 -- Name: workflow_invocation_step_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
5374 --
5375
5376 CREATE SEQUENCE public.workflow_invocation_step_id_seq
5377 START WITH 1
5378 INCREMENT BY 1
5379 NO MINVALUE
5380 NO MAXVALUE
5381 CACHE 1;
5382
5383
5384 ALTER TABLE public.workflow_invocation_step_id_seq OWNER TO lite;
5385
5386 --
5387 -- Name: workflow_invocation_step_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
5388 --
5389
5390 ALTER SEQUENCE public.workflow_invocation_step_id_seq OWNED BY public.workflow_invocation_step.id;
5391
5392
5393 --
5394 -- Name: workflow_invocation_to_subworkflow_invocation_association; Type: TABLE; Schema: public; Owner: lite
5395 --
5396
5397 CREATE TABLE public.workflow_invocation_to_subworkflow_invocation_association (
5398 id integer NOT NULL,
5399 workflow_invocation_id integer,
5400 subworkflow_invocation_id integer,
5401 workflow_step_id integer
5402 );
5403
5404
5405 ALTER TABLE public.workflow_invocation_to_subworkflow_invocation_association OWNER TO lite;
5406
5407 --
5408 -- Name: workflow_invocation_to_subworkflow_invocation_associatio_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
5409 --
5410
5411 CREATE SEQUENCE public.workflow_invocation_to_subworkflow_invocation_associatio_id_seq
5412 START WITH 1
5413 INCREMENT BY 1
5414 NO MINVALUE
5415 NO MAXVALUE
5416 CACHE 1;
5417
5418
5419 ALTER TABLE public.workflow_invocation_to_subworkflow_invocation_associatio_id_seq OWNER TO lite;
5420
5421 --
5422 -- Name: workflow_invocation_to_subworkflow_invocation_associatio_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
5423 --
5424
5425 ALTER SEQUENCE public.workflow_invocation_to_subworkflow_invocation_associatio_id_seq OWNED BY public.workflow_invocation_to_subworkflow_invocation_association.id;
5426
5427
5428 --
5429 -- Name: workflow_output; Type: TABLE; Schema: public; Owner: lite
5430 --
5431
5432 CREATE TABLE public.workflow_output (
5433 id integer NOT NULL,
5434 workflow_step_id integer NOT NULL,
5435 output_name character varying(255),
5436 label character varying(255),
5437 uuid character(32)
5438 );
5439
5440
5441 ALTER TABLE public.workflow_output OWNER TO lite;
5442
5443 --
5444 -- Name: workflow_output_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
5445 --
5446
5447 CREATE SEQUENCE public.workflow_output_id_seq
5448 START WITH 1
5449 INCREMENT BY 1
5450 NO MINVALUE
5451 NO MAXVALUE
5452 CACHE 1;
5453
5454
5455 ALTER TABLE public.workflow_output_id_seq OWNER TO lite;
5456
5457 --
5458 -- Name: workflow_output_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
5459 --
5460
5461 ALTER SEQUENCE public.workflow_output_id_seq OWNED BY public.workflow_output.id;
5462
5463
5464 --
5465 -- Name: workflow_request_input_parameters; Type: TABLE; Schema: public; Owner: lite
5466 --
5467
5468 CREATE TABLE public.workflow_request_input_parameters (
5469 id integer NOT NULL,
5470 workflow_invocation_id integer,
5471 name character varying(255),
5472 type character varying(255),
5473 value text
5474 );
5475
5476
5477 ALTER TABLE public.workflow_request_input_parameters OWNER TO lite;
5478
5479 --
5480 -- Name: workflow_request_input_parameters_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
5481 --
5482
5483 CREATE SEQUENCE public.workflow_request_input_parameters_id_seq
5484 START WITH 1
5485 INCREMENT BY 1
5486 NO MINVALUE
5487 NO MAXVALUE
5488 CACHE 1;
5489
5490
5491 ALTER TABLE public.workflow_request_input_parameters_id_seq OWNER TO lite;
5492
5493 --
5494 -- Name: workflow_request_input_parameters_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
5495 --
5496
5497 ALTER SEQUENCE public.workflow_request_input_parameters_id_seq OWNED BY public.workflow_request_input_parameters.id;
5498
5499
5500 --
5501 -- Name: workflow_request_input_step_parameter; Type: TABLE; Schema: public; Owner: lite
5502 --
5503
5504 CREATE TABLE public.workflow_request_input_step_parameter (
5505 id integer NOT NULL,
5506 workflow_invocation_id integer,
5507 workflow_step_id integer,
5508 parameter_value bytea
5509 );
5510
5511
5512 ALTER TABLE public.workflow_request_input_step_parameter OWNER TO lite;
5513
5514 --
5515 -- Name: workflow_request_input_step_parameter_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
5516 --
5517
5518 CREATE SEQUENCE public.workflow_request_input_step_parameter_id_seq
5519 START WITH 1
5520 INCREMENT BY 1
5521 NO MINVALUE
5522 NO MAXVALUE
5523 CACHE 1;
5524
5525
5526 ALTER TABLE public.workflow_request_input_step_parameter_id_seq OWNER TO lite;
5527
5528 --
5529 -- Name: workflow_request_input_step_parameter_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
5530 --
5531
5532 ALTER SEQUENCE public.workflow_request_input_step_parameter_id_seq OWNED BY public.workflow_request_input_step_parameter.id;
5533
5534
5535 --
5536 -- Name: workflow_request_step_states; Type: TABLE; Schema: public; Owner: lite
5537 --
5538
5539 CREATE TABLE public.workflow_request_step_states (
5540 id integer NOT NULL,
5541 workflow_invocation_id integer,
5542 workflow_step_id integer,
5543 value bytea
5544 );
5545
5546
5547 ALTER TABLE public.workflow_request_step_states OWNER TO lite;
5548
5549 --
5550 -- Name: workflow_request_step_states_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
5551 --
5552
5553 CREATE SEQUENCE public.workflow_request_step_states_id_seq
5554 START WITH 1
5555 INCREMENT BY 1
5556 NO MINVALUE
5557 NO MAXVALUE
5558 CACHE 1;
5559
5560
5561 ALTER TABLE public.workflow_request_step_states_id_seq OWNER TO lite;
5562
5563 --
5564 -- Name: workflow_request_step_states_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
5565 --
5566
5567 ALTER SEQUENCE public.workflow_request_step_states_id_seq OWNED BY public.workflow_request_step_states.id;
5568
5569
5570 --
5571 -- Name: workflow_request_to_input_collection_dataset; Type: TABLE; Schema: public; Owner: lite
5572 --
5573
5574 CREATE TABLE public.workflow_request_to_input_collection_dataset (
5575 id integer NOT NULL,
5576 name character varying(255),
5577 workflow_invocation_id integer,
5578 workflow_step_id integer,
5579 dataset_collection_id integer
5580 );
5581
5582
5583 ALTER TABLE public.workflow_request_to_input_collection_dataset OWNER TO lite;
5584
5585 --
5586 -- Name: workflow_request_to_input_collection_dataset_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
5587 --
5588
5589 CREATE SEQUENCE public.workflow_request_to_input_collection_dataset_id_seq
5590 START WITH 1
5591 INCREMENT BY 1
5592 NO MINVALUE
5593 NO MAXVALUE
5594 CACHE 1;
5595
5596
5597 ALTER TABLE public.workflow_request_to_input_collection_dataset_id_seq OWNER TO lite;
5598
5599 --
5600 -- Name: workflow_request_to_input_collection_dataset_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
5601 --
5602
5603 ALTER SEQUENCE public.workflow_request_to_input_collection_dataset_id_seq OWNED BY public.workflow_request_to_input_collection_dataset.id;
5604
5605
5606 --
5607 -- Name: workflow_request_to_input_dataset; Type: TABLE; Schema: public; Owner: lite
5608 --
5609
5610 CREATE TABLE public.workflow_request_to_input_dataset (
5611 id integer NOT NULL,
5612 name character varying(255),
5613 workflow_invocation_id integer,
5614 workflow_step_id integer,
5615 dataset_id integer
5616 );
5617
5618
5619 ALTER TABLE public.workflow_request_to_input_dataset OWNER TO lite;
5620
5621 --
5622 -- Name: workflow_request_to_input_dataset_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
5623 --
5624
5625 CREATE SEQUENCE public.workflow_request_to_input_dataset_id_seq
5626 START WITH 1
5627 INCREMENT BY 1
5628 NO MINVALUE
5629 NO MAXVALUE
5630 CACHE 1;
5631
5632
5633 ALTER TABLE public.workflow_request_to_input_dataset_id_seq OWNER TO lite;
5634
5635 --
5636 -- Name: workflow_request_to_input_dataset_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
5637 --
5638
5639 ALTER SEQUENCE public.workflow_request_to_input_dataset_id_seq OWNED BY public.workflow_request_to_input_dataset.id;
5640
5641
5642 --
5643 -- Name: workflow_step; Type: TABLE; Schema: public; Owner: lite
5644 --
5645
5646 CREATE TABLE public.workflow_step (
5647 id integer NOT NULL,
5648 create_time timestamp without time zone,
5649 update_time timestamp without time zone,
5650 workflow_id integer NOT NULL,
5651 type character varying(64),
5652 tool_id text,
5653 tool_version text,
5654 tool_inputs bytea,
5655 tool_errors bytea,
5656 "position" bytea,
5657 config bytea,
5658 order_index integer,
5659 label character varying(255),
5660 uuid character(32),
5661 subworkflow_id integer
5662 );
5663
5664
5665 ALTER TABLE public.workflow_step OWNER TO lite;
5666
5667 --
5668 -- Name: workflow_step_annotation_association; Type: TABLE; Schema: public; Owner: lite
5669 --
5670
5671 CREATE TABLE public.workflow_step_annotation_association (
5672 id integer NOT NULL,
5673 workflow_step_id integer,
5674 user_id integer,
5675 annotation text
5676 );
5677
5678
5679 ALTER TABLE public.workflow_step_annotation_association OWNER TO lite;
5680
5681 --
5682 -- Name: workflow_step_annotation_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
5683 --
5684
5685 CREATE SEQUENCE public.workflow_step_annotation_association_id_seq
5686 START WITH 1
5687 INCREMENT BY 1
5688 NO MINVALUE
5689 NO MAXVALUE
5690 CACHE 1;
5691
5692
5693 ALTER TABLE public.workflow_step_annotation_association_id_seq OWNER TO lite;
5694
5695 --
5696 -- Name: workflow_step_annotation_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
5697 --
5698
5699 ALTER SEQUENCE public.workflow_step_annotation_association_id_seq OWNED BY public.workflow_step_annotation_association.id;
5700
5701
5702 --
5703 -- Name: workflow_step_connection; Type: TABLE; Schema: public; Owner: lite
5704 --
5705
5706 CREATE TABLE public.workflow_step_connection (
5707 id integer NOT NULL,
5708 output_step_id integer,
5709 input_step_id integer,
5710 output_name text,
5711 input_name text,
5712 input_subworkflow_step_id integer
5713 );
5714
5715
5716 ALTER TABLE public.workflow_step_connection OWNER TO lite;
5717
5718 --
5719 -- Name: workflow_step_connection_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
5720 --
5721
5722 CREATE SEQUENCE public.workflow_step_connection_id_seq
5723 START WITH 1
5724 INCREMENT BY 1
5725 NO MINVALUE
5726 NO MAXVALUE
5727 CACHE 1;
5728
5729
5730 ALTER TABLE public.workflow_step_connection_id_seq OWNER TO lite;
5731
5732 --
5733 -- Name: workflow_step_connection_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
5734 --
5735
5736 ALTER SEQUENCE public.workflow_step_connection_id_seq OWNED BY public.workflow_step_connection.id;
5737
5738
5739 --
5740 -- Name: workflow_step_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
5741 --
5742
5743 CREATE SEQUENCE public.workflow_step_id_seq
5744 START WITH 1
5745 INCREMENT BY 1
5746 NO MINVALUE
5747 NO MAXVALUE
5748 CACHE 1;
5749
5750
5751 ALTER TABLE public.workflow_step_id_seq OWNER TO lite;
5752
5753 --
5754 -- Name: workflow_step_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
5755 --
5756
5757 ALTER SEQUENCE public.workflow_step_id_seq OWNED BY public.workflow_step.id;
5758
5759
5760 --
5761 -- Name: workflow_step_tag_association; Type: TABLE; Schema: public; Owner: lite
5762 --
5763
5764 CREATE TABLE public.workflow_step_tag_association (
5765 id integer NOT NULL,
5766 workflow_step_id integer,
5767 tag_id integer,
5768 user_id integer,
5769 user_tname character varying(255),
5770 value character varying(255),
5771 user_value character varying(255)
5772 );
5773
5774
5775 ALTER TABLE public.workflow_step_tag_association OWNER TO lite;
5776
5777 --
5778 -- Name: workflow_step_tag_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
5779 --
5780
5781 CREATE SEQUENCE public.workflow_step_tag_association_id_seq
5782 START WITH 1
5783 INCREMENT BY 1
5784 NO MINVALUE
5785 NO MAXVALUE
5786 CACHE 1;
5787
5788
5789 ALTER TABLE public.workflow_step_tag_association_id_seq OWNER TO lite;
5790
5791 --
5792 -- Name: workflow_step_tag_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
5793 --
5794
5795 ALTER SEQUENCE public.workflow_step_tag_association_id_seq OWNED BY public.workflow_step_tag_association.id;
5796
5797
5798 --
5799 -- Name: workflow_tag_association; Type: TABLE; Schema: public; Owner: lite
5800 --
5801
5802 CREATE TABLE public.workflow_tag_association (
5803 id integer NOT NULL,
5804 workflow_id integer,
5805 tag_id integer,
5806 user_id integer,
5807 user_tname character varying(255),
5808 value character varying(255),
5809 user_value character varying(255)
5810 );
5811
5812
5813 ALTER TABLE public.workflow_tag_association OWNER TO lite;
5814
5815 --
5816 -- Name: workflow_tag_association_id_seq; Type: SEQUENCE; Schema: public; Owner: lite
5817 --
5818
5819 CREATE SEQUENCE public.workflow_tag_association_id_seq
5820 START WITH 1
5821 INCREMENT BY 1
5822 NO MINVALUE
5823 NO MAXVALUE
5824 CACHE 1;
5825
5826
5827 ALTER TABLE public.workflow_tag_association_id_seq OWNER TO lite;
5828
5829 --
5830 -- Name: workflow_tag_association_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: lite
5831 --
5832
5833 ALTER SEQUENCE public.workflow_tag_association_id_seq OWNED BY public.workflow_tag_association.id;
5834
5835
5836 --
5837 -- Name: api_keys id; Type: DEFAULT; Schema: public; Owner: lite
5838 --
5839
5840 ALTER TABLE ONLY public.api_keys ALTER COLUMN id SET DEFAULT nextval('public.api_keys_id_seq'::regclass);
5841
5842
5843 --
5844 -- Name: cleanup_event id; Type: DEFAULT; Schema: public; Owner: lite
5845 --
5846
5847 ALTER TABLE ONLY public.cleanup_event ALTER COLUMN id SET DEFAULT nextval('public.cleanup_event_id_seq'::regclass);
5848
5849
5850 --
5851 -- Name: cleanup_event_dataset_association id; Type: DEFAULT; Schema: public; Owner: lite
5852 --
5853
5854 ALTER TABLE ONLY public.cleanup_event_dataset_association ALTER COLUMN id SET DEFAULT nextval('public.cleanup_event_dataset_association_id_seq'::regclass);
5855
5856
5857 --
5858 -- Name: cleanup_event_hda_association id; Type: DEFAULT; Schema: public; Owner: lite
5859 --
5860
5861 ALTER TABLE ONLY public.cleanup_event_hda_association ALTER COLUMN id SET DEFAULT nextval('public.cleanup_event_hda_association_id_seq'::regclass);
5862
5863
5864 --
5865 -- Name: cleanup_event_history_association id; Type: DEFAULT; Schema: public; Owner: lite
5866 --
5867
5868 ALTER TABLE ONLY public.cleanup_event_history_association ALTER COLUMN id SET DEFAULT nextval('public.cleanup_event_history_association_id_seq'::regclass);
5869
5870
5871 --
5872 -- Name: cleanup_event_icda_association id; Type: DEFAULT; Schema: public; Owner: lite
5873 --
5874
5875 ALTER TABLE ONLY public.cleanup_event_icda_association ALTER COLUMN id SET DEFAULT nextval('public.cleanup_event_icda_association_id_seq'::regclass);
5876
5877
5878 --
5879 -- Name: cleanup_event_ldda_association id; Type: DEFAULT; Schema: public; Owner: lite
5880 --
5881
5882 ALTER TABLE ONLY public.cleanup_event_ldda_association ALTER COLUMN id SET DEFAULT nextval('public.cleanup_event_ldda_association_id_seq'::regclass);
5883
5884
5885 --
5886 -- Name: cleanup_event_library_association id; Type: DEFAULT; Schema: public; Owner: lite
5887 --
5888
5889 ALTER TABLE ONLY public.cleanup_event_library_association ALTER COLUMN id SET DEFAULT nextval('public.cleanup_event_library_association_id_seq'::regclass);
5890
5891
5892 --
5893 -- Name: cleanup_event_library_dataset_association id; Type: DEFAULT; Schema: public; Owner: lite
5894 --
5895
5896 ALTER TABLE ONLY public.cleanup_event_library_dataset_association ALTER COLUMN id SET DEFAULT nextval('public.cleanup_event_library_dataset_association_id_seq'::regclass);
5897
5898
5899 --
5900 -- Name: cleanup_event_library_folder_association id; Type: DEFAULT; Schema: public; Owner: lite
5901 --
5902
5903 ALTER TABLE ONLY public.cleanup_event_library_folder_association ALTER COLUMN id SET DEFAULT nextval('public.cleanup_event_library_folder_association_id_seq'::regclass);
5904
5905
5906 --
5907 -- Name: cleanup_event_metadata_file_association id; Type: DEFAULT; Schema: public; Owner: lite
5908 --
5909
5910 ALTER TABLE ONLY public.cleanup_event_metadata_file_association ALTER COLUMN id SET DEFAULT nextval('public.cleanup_event_metadata_file_association_id_seq'::regclass);
5911
5912
5913 --
5914 -- Name: data_manager_history_association id; Type: DEFAULT; Schema: public; Owner: lite
5915 --
5916
5917 ALTER TABLE ONLY public.data_manager_history_association ALTER COLUMN id SET DEFAULT nextval('public.data_manager_history_association_id_seq'::regclass);
5918
5919
5920 --
5921 -- Name: data_manager_job_association id; Type: DEFAULT; Schema: public; Owner: lite
5922 --
5923
5924 ALTER TABLE ONLY public.data_manager_job_association ALTER COLUMN id SET DEFAULT nextval('public.data_manager_job_association_id_seq'::regclass);
5925
5926
5927 --
5928 -- Name: dataset id; Type: DEFAULT; Schema: public; Owner: lite
5929 --
5930
5931 ALTER TABLE ONLY public.dataset ALTER COLUMN id SET DEFAULT nextval('public.dataset_id_seq'::regclass);
5932
5933
5934 --
5935 -- Name: dataset_collection id; Type: DEFAULT; Schema: public; Owner: lite
5936 --
5937
5938 ALTER TABLE ONLY public.dataset_collection ALTER COLUMN id SET DEFAULT nextval('public.dataset_collection_id_seq'::regclass);
5939
5940
5941 --
5942 -- Name: dataset_collection_element id; Type: DEFAULT; Schema: public; Owner: lite
5943 --
5944
5945 ALTER TABLE ONLY public.dataset_collection_element ALTER COLUMN id SET DEFAULT nextval('public.dataset_collection_element_id_seq'::regclass);
5946
5947
5948 --
5949 -- Name: dataset_permissions id; Type: DEFAULT; Schema: public; Owner: lite
5950 --
5951
5952 ALTER TABLE ONLY public.dataset_permissions ALTER COLUMN id SET DEFAULT nextval('public.dataset_permissions_id_seq'::regclass);
5953
5954
5955 --
5956 -- Name: dataset_tag_association id; Type: DEFAULT; Schema: public; Owner: lite
5957 --
5958
5959 ALTER TABLE ONLY public.dataset_tag_association ALTER COLUMN id SET DEFAULT nextval('public.dataset_tag_association_id_seq'::regclass);
5960
5961
5962 --
5963 -- Name: default_history_permissions id; Type: DEFAULT; Schema: public; Owner: lite
5964 --
5965
5966 ALTER TABLE ONLY public.default_history_permissions ALTER COLUMN id SET DEFAULT nextval('public.default_history_permissions_id_seq'::regclass);
5967
5968
5969 --
5970 -- Name: default_quota_association id; Type: DEFAULT; Schema: public; Owner: lite
5971 --
5972
5973 ALTER TABLE ONLY public.default_quota_association ALTER COLUMN id SET DEFAULT nextval('public.default_quota_association_id_seq'::regclass);
5974
5975
5976 --
5977 -- Name: default_user_permissions id; Type: DEFAULT; Schema: public; Owner: lite
5978 --
5979
5980 ALTER TABLE ONLY public.default_user_permissions ALTER COLUMN id SET DEFAULT nextval('public.default_user_permissions_id_seq'::regclass);
5981
5982
5983 --
5984 -- Name: deferred_job id; Type: DEFAULT; Schema: public; Owner: lite
5985 --
5986
5987 ALTER TABLE ONLY public.deferred_job ALTER COLUMN id SET DEFAULT nextval('public.deferred_job_id_seq'::regclass);
5988
5989
5990 --
5991 -- Name: event id; Type: DEFAULT; Schema: public; Owner: lite
5992 --
5993
5994 ALTER TABLE ONLY public.event ALTER COLUMN id SET DEFAULT nextval('public.event_id_seq'::regclass);
5995
5996
5997 --
5998 -- Name: extended_metadata id; Type: DEFAULT; Schema: public; Owner: lite
5999 --
6000
6001 ALTER TABLE ONLY public.extended_metadata ALTER COLUMN id SET DEFAULT nextval('public.extended_metadata_id_seq'::regclass);
6002
6003
6004 --
6005 -- Name: extended_metadata_index id; Type: DEFAULT; Schema: public; Owner: lite
6006 --
6007
6008 ALTER TABLE ONLY public.extended_metadata_index ALTER COLUMN id SET DEFAULT nextval('public.extended_metadata_index_id_seq'::regclass);
6009
6010
6011 --
6012 -- Name: external_service id; Type: DEFAULT; Schema: public; Owner: lite
6013 --
6014
6015 ALTER TABLE ONLY public.external_service ALTER COLUMN id SET DEFAULT nextval('public.external_service_id_seq'::regclass);
6016
6017
6018 --
6019 -- Name: form_definition id; Type: DEFAULT; Schema: public; Owner: lite
6020 --
6021
6022 ALTER TABLE ONLY public.form_definition ALTER COLUMN id SET DEFAULT nextval('public.form_definition_id_seq'::regclass);
6023
6024
6025 --
6026 -- Name: form_definition_current id; Type: DEFAULT; Schema: public; Owner: lite
6027 --
6028
6029 ALTER TABLE ONLY public.form_definition_current ALTER COLUMN id SET DEFAULT nextval('public.form_definition_current_id_seq'::regclass);
6030
6031
6032 --
6033 -- Name: form_values id; Type: DEFAULT; Schema: public; Owner: lite
6034 --
6035
6036 ALTER TABLE ONLY public.form_values ALTER COLUMN id SET DEFAULT nextval('public.form_values_id_seq'::regclass);
6037
6038
6039 --
6040 -- Name: galaxy_group id; Type: DEFAULT; Schema: public; Owner: lite
6041 --
6042
6043 ALTER TABLE ONLY public.galaxy_group ALTER COLUMN id SET DEFAULT nextval('public.galaxy_group_id_seq'::regclass);
6044
6045
6046 --
6047 -- Name: galaxy_session id; Type: DEFAULT; Schema: public; Owner: lite
6048 --
6049
6050 ALTER TABLE ONLY public.galaxy_session ALTER COLUMN id SET DEFAULT nextval('public.galaxy_session_id_seq'::regclass);
6051
6052
6053 --
6054 -- Name: galaxy_session_to_history id; Type: DEFAULT; Schema: public; Owner: lite
6055 --
6056
6057 ALTER TABLE ONLY public.galaxy_session_to_history ALTER COLUMN id SET DEFAULT nextval('public.galaxy_session_to_history_id_seq'::regclass);
6058
6059
6060 --
6061 -- Name: galaxy_user id; Type: DEFAULT; Schema: public; Owner: lite
6062 --
6063
6064 ALTER TABLE ONLY public.galaxy_user ALTER COLUMN id SET DEFAULT nextval('public.galaxy_user_id_seq'::regclass);
6065
6066
6067 --
6068 -- Name: galaxy_user_openid id; Type: DEFAULT; Schema: public; Owner: lite
6069 --
6070
6071 ALTER TABLE ONLY public.galaxy_user_openid ALTER COLUMN id SET DEFAULT nextval('public.galaxy_user_openid_id_seq'::regclass);
6072
6073
6074 --
6075 -- Name: genome_index_tool_data id; Type: DEFAULT; Schema: public; Owner: lite
6076 --
6077
6078 ALTER TABLE ONLY public.genome_index_tool_data ALTER COLUMN id SET DEFAULT nextval('public.genome_index_tool_data_id_seq'::regclass);
6079
6080
6081 --
6082 -- Name: group_quota_association id; Type: DEFAULT; Schema: public; Owner: lite
6083 --
6084
6085 ALTER TABLE ONLY public.group_quota_association ALTER COLUMN id SET DEFAULT nextval('public.group_quota_association_id_seq'::regclass);
6086
6087
6088 --
6089 -- Name: group_role_association id; Type: DEFAULT; Schema: public; Owner: lite
6090 --
6091
6092 ALTER TABLE ONLY public.group_role_association ALTER COLUMN id SET DEFAULT nextval('public.group_role_association_id_seq'::regclass);
6093
6094
6095 --
6096 -- Name: history id; Type: DEFAULT; Schema: public; Owner: lite
6097 --
6098
6099 ALTER TABLE ONLY public.history ALTER COLUMN id SET DEFAULT nextval('public.history_id_seq'::regclass);
6100
6101
6102 --
6103 -- Name: history_annotation_association id; Type: DEFAULT; Schema: public; Owner: lite
6104 --
6105
6106 ALTER TABLE ONLY public.history_annotation_association ALTER COLUMN id SET DEFAULT nextval('public.history_annotation_association_id_seq'::regclass);
6107
6108
6109 --
6110 -- Name: history_dataset_association id; Type: DEFAULT; Schema: public; Owner: lite
6111 --
6112
6113 ALTER TABLE ONLY public.history_dataset_association ALTER COLUMN id SET DEFAULT nextval('public.history_dataset_association_id_seq'::regclass);
6114
6115
6116 --
6117 -- Name: history_dataset_association_annotation_association id; Type: DEFAULT; Schema: public; Owner: lite
6118 --
6119
6120 ALTER TABLE ONLY public.history_dataset_association_annotation_association ALTER COLUMN id SET DEFAULT nextval('public.history_dataset_association_annotation_association_id_seq'::regclass);
6121
6122
6123 --
6124 -- Name: history_dataset_association_display_at_authorization id; Type: DEFAULT; Schema: public; Owner: lite
6125 --
6126
6127 ALTER TABLE ONLY public.history_dataset_association_display_at_authorization ALTER COLUMN id SET DEFAULT nextval('public.history_dataset_association_display_at_authorization_id_seq'::regclass);
6128
6129
6130 --
6131 -- Name: history_dataset_association_rating_association id; Type: DEFAULT; Schema: public; Owner: lite
6132 --
6133
6134 ALTER TABLE ONLY public.history_dataset_association_rating_association ALTER COLUMN id SET DEFAULT nextval('public.history_dataset_association_rating_association_id_seq'::regclass);
6135
6136
6137 --
6138 -- Name: history_dataset_association_subset id; Type: DEFAULT; Schema: public; Owner: lite
6139 --
6140
6141 ALTER TABLE ONLY public.history_dataset_association_subset ALTER COLUMN id SET DEFAULT nextval('public.history_dataset_association_subset_id_seq'::regclass);
6142
6143
6144 --
6145 -- Name: history_dataset_association_tag_association id; Type: DEFAULT; Schema: public; Owner: lite
6146 --
6147
6148 ALTER TABLE ONLY public.history_dataset_association_tag_association ALTER COLUMN id SET DEFAULT nextval('public.history_dataset_association_tag_association_id_seq'::regclass);
6149
6150
6151 --
6152 -- Name: history_dataset_collection_annotation_association id; Type: DEFAULT; Schema: public; Owner: lite
6153 --
6154
6155 ALTER TABLE ONLY public.history_dataset_collection_annotation_association ALTER COLUMN id SET DEFAULT nextval('public.history_dataset_collection_annotation_association_id_seq'::regclass);
6156
6157
6158 --
6159 -- Name: history_dataset_collection_association id; Type: DEFAULT; Schema: public; Owner: lite
6160 --
6161
6162 ALTER TABLE ONLY public.history_dataset_collection_association ALTER COLUMN id SET DEFAULT nextval('public.history_dataset_collection_association_id_seq'::regclass);
6163
6164
6165 --
6166 -- Name: history_dataset_collection_rating_association id; Type: DEFAULT; Schema: public; Owner: lite
6167 --
6168
6169 ALTER TABLE ONLY public.history_dataset_collection_rating_association ALTER COLUMN id SET DEFAULT nextval('public.history_dataset_collection_rating_association_id_seq'::regclass);
6170
6171
6172 --
6173 -- Name: history_dataset_collection_tag_association id; Type: DEFAULT; Schema: public; Owner: lite
6174 --
6175
6176 ALTER TABLE ONLY public.history_dataset_collection_tag_association ALTER COLUMN id SET DEFAULT nextval('public.history_dataset_collection_tag_association_id_seq'::regclass);
6177
6178
6179 --
6180 -- Name: history_rating_association id; Type: DEFAULT; Schema: public; Owner: lite
6181 --
6182
6183 ALTER TABLE ONLY public.history_rating_association ALTER COLUMN id SET DEFAULT nextval('public.history_rating_association_id_seq'::regclass);
6184
6185
6186 --
6187 -- Name: history_tag_association id; Type: DEFAULT; Schema: public; Owner: lite
6188 --
6189
6190 ALTER TABLE ONLY public.history_tag_association ALTER COLUMN id SET DEFAULT nextval('public.history_tag_association_id_seq'::regclass);
6191
6192
6193 --
6194 -- Name: history_user_share_association id; Type: DEFAULT; Schema: public; Owner: lite
6195 --
6196
6197 ALTER TABLE ONLY public.history_user_share_association ALTER COLUMN id SET DEFAULT nextval('public.history_user_share_association_id_seq'::regclass);
6198
6199
6200 --
6201 -- Name: implicitly_converted_dataset_association id; Type: DEFAULT; Schema: public; Owner: lite
6202 --
6203
6204 ALTER TABLE ONLY public.implicitly_converted_dataset_association ALTER COLUMN id SET DEFAULT nextval('public.implicitly_converted_dataset_association_id_seq'::regclass);
6205
6206
6207 --
6208 -- Name: implicitly_created_dataset_collection_inputs id; Type: DEFAULT; Schema: public; Owner: lite
6209 --
6210
6211 ALTER TABLE ONLY public.implicitly_created_dataset_collection_inputs ALTER COLUMN id SET DEFAULT nextval('public.implicitly_created_dataset_collection_inputs_id_seq'::regclass);
6212
6213
6214 --
6215 -- Name: job id; Type: DEFAULT; Schema: public; Owner: lite
6216 --
6217
6218 ALTER TABLE ONLY public.job ALTER COLUMN id SET DEFAULT nextval('public.job_id_seq'::regclass);
6219
6220
6221 --
6222 -- Name: job_export_history_archive id; Type: DEFAULT; Schema: public; Owner: lite
6223 --
6224
6225 ALTER TABLE ONLY public.job_export_history_archive ALTER COLUMN id SET DEFAULT nextval('public.job_export_history_archive_id_seq'::regclass);
6226
6227
6228 --
6229 -- Name: job_external_output_metadata id; Type: DEFAULT; Schema: public; Owner: lite
6230 --
6231
6232 ALTER TABLE ONLY public.job_external_output_metadata ALTER COLUMN id SET DEFAULT nextval('public.job_external_output_metadata_id_seq'::regclass);
6233
6234
6235 --
6236 -- Name: job_import_history_archive id; Type: DEFAULT; Schema: public; Owner: lite
6237 --
6238
6239 ALTER TABLE ONLY public.job_import_history_archive ALTER COLUMN id SET DEFAULT nextval('public.job_import_history_archive_id_seq'::regclass);
6240
6241
6242 --
6243 -- Name: job_metric_numeric id; Type: DEFAULT; Schema: public; Owner: lite
6244 --
6245
6246 ALTER TABLE ONLY public.job_metric_numeric ALTER COLUMN id SET DEFAULT nextval('public.job_metric_numeric_id_seq'::regclass);
6247
6248
6249 --
6250 -- Name: job_metric_text id; Type: DEFAULT; Schema: public; Owner: lite
6251 --
6252
6253 ALTER TABLE ONLY public.job_metric_text ALTER COLUMN id SET DEFAULT nextval('public.job_metric_text_id_seq'::regclass);
6254
6255
6256 --
6257 -- Name: job_parameter id; Type: DEFAULT; Schema: public; Owner: lite
6258 --
6259
6260 ALTER TABLE ONLY public.job_parameter ALTER COLUMN id SET DEFAULT nextval('public.job_parameter_id_seq'::regclass);
6261
6262
6263 --
6264 -- Name: job_state_history id; Type: DEFAULT; Schema: public; Owner: lite
6265 --
6266
6267 ALTER TABLE ONLY public.job_state_history ALTER COLUMN id SET DEFAULT nextval('public.job_state_history_id_seq'::regclass);
6268
6269
6270 --
6271 -- Name: job_to_implicit_output_dataset_collection id; Type: DEFAULT; Schema: public; Owner: lite
6272 --
6273
6274 ALTER TABLE ONLY public.job_to_implicit_output_dataset_collection ALTER COLUMN id SET DEFAULT nextval('public.job_to_implicit_output_dataset_collection_id_seq'::regclass);
6275
6276
6277 --
6278 -- Name: job_to_input_dataset id; Type: DEFAULT; Schema: public; Owner: lite
6279 --
6280
6281 ALTER TABLE ONLY public.job_to_input_dataset ALTER COLUMN id SET DEFAULT nextval('public.job_to_input_dataset_id_seq'::regclass);
6282
6283
6284 --
6285 -- Name: job_to_input_dataset_collection id; Type: DEFAULT; Schema: public; Owner: lite
6286 --
6287
6288 ALTER TABLE ONLY public.job_to_input_dataset_collection ALTER COLUMN id SET DEFAULT nextval('public.job_to_input_dataset_collection_id_seq'::regclass);
6289
6290
6291 --
6292 -- Name: job_to_input_library_dataset id; Type: DEFAULT; Schema: public; Owner: lite
6293 --
6294
6295 ALTER TABLE ONLY public.job_to_input_library_dataset ALTER COLUMN id SET DEFAULT nextval('public.job_to_input_library_dataset_id_seq'::regclass);
6296
6297
6298 --
6299 -- Name: job_to_output_dataset id; Type: DEFAULT; Schema: public; Owner: lite
6300 --
6301
6302 ALTER TABLE ONLY public.job_to_output_dataset ALTER COLUMN id SET DEFAULT nextval('public.job_to_output_dataset_id_seq'::regclass);
6303
6304
6305 --
6306 -- Name: job_to_output_dataset_collection id; Type: DEFAULT; Schema: public; Owner: lite
6307 --
6308
6309 ALTER TABLE ONLY public.job_to_output_dataset_collection ALTER COLUMN id SET DEFAULT nextval('public.job_to_output_dataset_collection_id_seq'::regclass);
6310
6311
6312 --
6313 -- Name: job_to_output_library_dataset id; Type: DEFAULT; Schema: public; Owner: lite
6314 --
6315
6316 ALTER TABLE ONLY public.job_to_output_library_dataset ALTER COLUMN id SET DEFAULT nextval('public.job_to_output_library_dataset_id_seq'::regclass);
6317
6318
6319 --
6320 -- Name: library id; Type: DEFAULT; Schema: public; Owner: lite
6321 --
6322
6323 ALTER TABLE ONLY public.library ALTER COLUMN id SET DEFAULT nextval('public.library_id_seq'::regclass);
6324
6325
6326 --
6327 -- Name: library_dataset id; Type: DEFAULT; Schema: public; Owner: lite
6328 --
6329
6330 ALTER TABLE ONLY public.library_dataset ALTER COLUMN id SET DEFAULT nextval('public.library_dataset_id_seq'::regclass);
6331
6332
6333 --
6334 -- Name: library_dataset_collection_annotation_association id; Type: DEFAULT; Schema: public; Owner: lite
6335 --
6336
6337 ALTER TABLE ONLY public.library_dataset_collection_annotation_association ALTER COLUMN id SET DEFAULT nextval('public.library_dataset_collection_annotation_association_id_seq'::regclass);
6338
6339
6340 --
6341 -- Name: library_dataset_collection_association id; Type: DEFAULT; Schema: public; Owner: lite
6342 --
6343
6344 ALTER TABLE ONLY public.library_dataset_collection_association ALTER COLUMN id SET DEFAULT nextval('public.library_dataset_collection_association_id_seq'::regclass);
6345
6346
6347 --
6348 -- Name: library_dataset_collection_rating_association id; Type: DEFAULT; Schema: public; Owner: lite
6349 --
6350
6351 ALTER TABLE ONLY public.library_dataset_collection_rating_association ALTER COLUMN id SET DEFAULT nextval('public.library_dataset_collection_rating_association_id_seq'::regclass);
6352
6353
6354 --
6355 -- Name: library_dataset_collection_tag_association id; Type: DEFAULT; Schema: public; Owner: lite
6356 --
6357
6358 ALTER TABLE ONLY public.library_dataset_collection_tag_association ALTER COLUMN id SET DEFAULT nextval('public.library_dataset_collection_tag_association_id_seq'::regclass);
6359
6360
6361 --
6362 -- Name: library_dataset_dataset_association id; Type: DEFAULT; Schema: public; Owner: lite
6363 --
6364
6365 ALTER TABLE ONLY public.library_dataset_dataset_association ALTER COLUMN id SET DEFAULT nextval('public.library_dataset_dataset_association_id_seq'::regclass);
6366
6367
6368 --
6369 -- Name: library_dataset_dataset_association_permissions id; Type: DEFAULT; Schema: public; Owner: lite
6370 --
6371
6372 ALTER TABLE ONLY public.library_dataset_dataset_association_permissions ALTER COLUMN id SET DEFAULT nextval('public.library_dataset_dataset_association_permissions_id_seq'::regclass);
6373
6374
6375 --
6376 -- Name: library_dataset_dataset_association_tag_association id; Type: DEFAULT; Schema: public; Owner: lite
6377 --
6378
6379 ALTER TABLE ONLY public.library_dataset_dataset_association_tag_association ALTER COLUMN id SET DEFAULT nextval('public.library_dataset_dataset_association_tag_association_id_seq'::regclass);
6380
6381
6382 --
6383 -- Name: library_dataset_dataset_info_association id; Type: DEFAULT; Schema: public; Owner: lite
6384 --
6385
6386 ALTER TABLE ONLY public.library_dataset_dataset_info_association ALTER COLUMN id SET DEFAULT nextval('public.library_dataset_dataset_info_association_id_seq'::regclass);
6387
6388
6389 --
6390 -- Name: library_dataset_permissions id; Type: DEFAULT; Schema: public; Owner: lite
6391 --
6392
6393 ALTER TABLE ONLY public.library_dataset_permissions ALTER COLUMN id SET DEFAULT nextval('public.library_dataset_permissions_id_seq'::regclass);
6394
6395
6396 --
6397 -- Name: library_folder id; Type: DEFAULT; Schema: public; Owner: lite
6398 --
6399
6400 ALTER TABLE ONLY public.library_folder ALTER COLUMN id SET DEFAULT nextval('public.library_folder_id_seq'::regclass);
6401
6402
6403 --
6404 -- Name: library_folder_info_association id; Type: DEFAULT; Schema: public; Owner: lite
6405 --
6406
6407 ALTER TABLE ONLY public.library_folder_info_association ALTER COLUMN id SET DEFAULT nextval('public.library_folder_info_association_id_seq'::regclass);
6408
6409
6410 --
6411 -- Name: library_folder_permissions id; Type: DEFAULT; Schema: public; Owner: lite
6412 --
6413
6414 ALTER TABLE ONLY public.library_folder_permissions ALTER COLUMN id SET DEFAULT nextval('public.library_folder_permissions_id_seq'::regclass);
6415
6416
6417 --
6418 -- Name: library_info_association id; Type: DEFAULT; Schema: public; Owner: lite
6419 --
6420
6421 ALTER TABLE ONLY public.library_info_association ALTER COLUMN id SET DEFAULT nextval('public.library_info_association_id_seq'::regclass);
6422
6423
6424 --
6425 -- Name: library_permissions id; Type: DEFAULT; Schema: public; Owner: lite
6426 --
6427
6428 ALTER TABLE ONLY public.library_permissions ALTER COLUMN id SET DEFAULT nextval('public.library_permissions_id_seq'::regclass);
6429
6430
6431 --
6432 -- Name: metadata_file id; Type: DEFAULT; Schema: public; Owner: lite
6433 --
6434
6435 ALTER TABLE ONLY public.metadata_file ALTER COLUMN id SET DEFAULT nextval('public.metadata_file_id_seq'::regclass);
6436
6437
6438 --
6439 -- Name: page id; Type: DEFAULT; Schema: public; Owner: lite
6440 --
6441
6442 ALTER TABLE ONLY public.page ALTER COLUMN id SET DEFAULT nextval('public.page_id_seq'::regclass);
6443
6444
6445 --
6446 -- Name: page_annotation_association id; Type: DEFAULT; Schema: public; Owner: lite
6447 --
6448
6449 ALTER TABLE ONLY public.page_annotation_association ALTER COLUMN id SET DEFAULT nextval('public.page_annotation_association_id_seq'::regclass);
6450
6451
6452 --
6453 -- Name: page_rating_association id; Type: DEFAULT; Schema: public; Owner: lite
6454 --
6455
6456 ALTER TABLE ONLY public.page_rating_association ALTER COLUMN id SET DEFAULT nextval('public.page_rating_association_id_seq'::regclass);
6457
6458
6459 --
6460 -- Name: page_revision id; Type: DEFAULT; Schema: public; Owner: lite
6461 --
6462
6463 ALTER TABLE ONLY public.page_revision ALTER COLUMN id SET DEFAULT nextval('public.page_revision_id_seq'::regclass);
6464
6465
6466 --
6467 -- Name: page_tag_association id; Type: DEFAULT; Schema: public; Owner: lite
6468 --
6469
6470 ALTER TABLE ONLY public.page_tag_association ALTER COLUMN id SET DEFAULT nextval('public.page_tag_association_id_seq'::regclass);
6471
6472
6473 --
6474 -- Name: page_user_share_association id; Type: DEFAULT; Schema: public; Owner: lite
6475 --
6476
6477 ALTER TABLE ONLY public.page_user_share_association ALTER COLUMN id SET DEFAULT nextval('public.page_user_share_association_id_seq'::regclass);
6478
6479
6480 --
6481 -- Name: post_job_action id; Type: DEFAULT; Schema: public; Owner: lite
6482 --
6483
6484 ALTER TABLE ONLY public.post_job_action ALTER COLUMN id SET DEFAULT nextval('public.post_job_action_id_seq'::regclass);
6485
6486
6487 --
6488 -- Name: post_job_action_association id; Type: DEFAULT; Schema: public; Owner: lite
6489 --
6490
6491 ALTER TABLE ONLY public.post_job_action_association ALTER COLUMN id SET DEFAULT nextval('public.post_job_action_association_id_seq'::regclass);
6492
6493
6494 --
6495 -- Name: quota id; Type: DEFAULT; Schema: public; Owner: lite
6496 --
6497
6498 ALTER TABLE ONLY public.quota ALTER COLUMN id SET DEFAULT nextval('public.quota_id_seq'::regclass);
6499
6500
6501 --
6502 -- Name: repository_dependency id; Type: DEFAULT; Schema: public; Owner: lite
6503 --
6504
6505 ALTER TABLE ONLY public.repository_dependency ALTER COLUMN id SET DEFAULT nextval('public.repository_dependency_id_seq'::regclass);
6506
6507
6508 --
6509 -- Name: repository_repository_dependency_association id; Type: DEFAULT; Schema: public; Owner: lite
6510 --
6511
6512 ALTER TABLE ONLY public.repository_repository_dependency_association ALTER COLUMN id SET DEFAULT nextval('public.repository_repository_dependency_association_id_seq'::regclass);
6513
6514
6515 --
6516 -- Name: request id; Type: DEFAULT; Schema: public; Owner: lite
6517 --
6518
6519 ALTER TABLE ONLY public.request ALTER COLUMN id SET DEFAULT nextval('public.request_id_seq'::regclass);
6520
6521
6522 --
6523 -- Name: request_event id; Type: DEFAULT; Schema: public; Owner: lite
6524 --
6525
6526 ALTER TABLE ONLY public.request_event ALTER COLUMN id SET DEFAULT nextval('public.request_event_id_seq'::regclass);
6527
6528
6529 --
6530 -- Name: request_type id; Type: DEFAULT; Schema: public; Owner: lite
6531 --
6532
6533 ALTER TABLE ONLY public.request_type ALTER COLUMN id SET DEFAULT nextval('public.request_type_id_seq'::regclass);
6534
6535
6536 --
6537 -- Name: request_type_external_service_association id; Type: DEFAULT; Schema: public; Owner: lite
6538 --
6539
6540 ALTER TABLE ONLY public.request_type_external_service_association ALTER COLUMN id SET DEFAULT nextval('public.request_type_external_service_association_id_seq'::regclass);
6541
6542
6543 --
6544 -- Name: request_type_permissions id; Type: DEFAULT; Schema: public; Owner: lite
6545 --
6546
6547 ALTER TABLE ONLY public.request_type_permissions ALTER COLUMN id SET DEFAULT nextval('public.request_type_permissions_id_seq'::regclass);
6548
6549
6550 --
6551 -- Name: request_type_run_association id; Type: DEFAULT; Schema: public; Owner: lite
6552 --
6553
6554 ALTER TABLE ONLY public.request_type_run_association ALTER COLUMN id SET DEFAULT nextval('public.request_type_run_association_id_seq'::regclass);
6555
6556
6557 --
6558 -- Name: role id; Type: DEFAULT; Schema: public; Owner: lite
6559 --
6560
6561 ALTER TABLE ONLY public.role ALTER COLUMN id SET DEFAULT nextval('public.role_id_seq'::regclass);
6562
6563
6564 --
6565 -- Name: run id; Type: DEFAULT; Schema: public; Owner: lite
6566 --
6567
6568 ALTER TABLE ONLY public.run ALTER COLUMN id SET DEFAULT nextval('public.run_id_seq'::regclass);
6569
6570
6571 --
6572 -- Name: sample id; Type: DEFAULT; Schema: public; Owner: lite
6573 --
6574
6575 ALTER TABLE ONLY public.sample ALTER COLUMN id SET DEFAULT nextval('public.sample_id_seq'::regclass);
6576
6577
6578 --
6579 -- Name: sample_dataset id; Type: DEFAULT; Schema: public; Owner: lite
6580 --
6581
6582 ALTER TABLE ONLY public.sample_dataset ALTER COLUMN id SET DEFAULT nextval('public.sample_dataset_id_seq'::regclass);
6583
6584
6585 --
6586 -- Name: sample_event id; Type: DEFAULT; Schema: public; Owner: lite
6587 --
6588
6589 ALTER TABLE ONLY public.sample_event ALTER COLUMN id SET DEFAULT nextval('public.sample_event_id_seq'::regclass);
6590
6591
6592 --
6593 -- Name: sample_run_association id; Type: DEFAULT; Schema: public; Owner: lite
6594 --
6595
6596 ALTER TABLE ONLY public.sample_run_association ALTER COLUMN id SET DEFAULT nextval('public.sample_run_association_id_seq'::regclass);
6597
6598
6599 --
6600 -- Name: sample_state id; Type: DEFAULT; Schema: public; Owner: lite
6601 --
6602
6603 ALTER TABLE ONLY public.sample_state ALTER COLUMN id SET DEFAULT nextval('public.sample_state_id_seq'::regclass);
6604
6605
6606 --
6607 -- Name: stored_workflow id; Type: DEFAULT; Schema: public; Owner: lite
6608 --
6609
6610 ALTER TABLE ONLY public.stored_workflow ALTER COLUMN id SET DEFAULT nextval('public.stored_workflow_id_seq'::regclass);
6611
6612
6613 --
6614 -- Name: stored_workflow_annotation_association id; Type: DEFAULT; Schema: public; Owner: lite
6615 --
6616
6617 ALTER TABLE ONLY public.stored_workflow_annotation_association ALTER COLUMN id SET DEFAULT nextval('public.stored_workflow_annotation_association_id_seq'::regclass);
6618
6619
6620 --
6621 -- Name: stored_workflow_menu_entry id; Type: DEFAULT; Schema: public; Owner: lite
6622 --
6623
6624 ALTER TABLE ONLY public.stored_workflow_menu_entry ALTER COLUMN id SET DEFAULT nextval('public.stored_workflow_menu_entry_id_seq'::regclass);
6625
6626
6627 --
6628 -- Name: stored_workflow_rating_association id; Type: DEFAULT; Schema: public; Owner: lite
6629 --
6630
6631 ALTER TABLE ONLY public.stored_workflow_rating_association ALTER COLUMN id SET DEFAULT nextval('public.stored_workflow_rating_association_id_seq'::regclass);
6632
6633
6634 --
6635 -- Name: stored_workflow_tag_association id; Type: DEFAULT; Schema: public; Owner: lite
6636 --
6637
6638 ALTER TABLE ONLY public.stored_workflow_tag_association ALTER COLUMN id SET DEFAULT nextval('public.stored_workflow_tag_association_id_seq'::regclass);
6639
6640
6641 --
6642 -- Name: stored_workflow_user_share_connection id; Type: DEFAULT; Schema: public; Owner: lite
6643 --
6644
6645 ALTER TABLE ONLY public.stored_workflow_user_share_connection ALTER COLUMN id SET DEFAULT nextval('public.stored_workflow_user_share_connection_id_seq'::regclass);
6646
6647
6648 --
6649 -- Name: tag id; Type: DEFAULT; Schema: public; Owner: lite
6650 --
6651
6652 ALTER TABLE ONLY public.tag ALTER COLUMN id SET DEFAULT nextval('public.tag_id_seq'::regclass);
6653
6654
6655 --
6656 -- Name: task id; Type: DEFAULT; Schema: public; Owner: lite
6657 --
6658
6659 ALTER TABLE ONLY public.task ALTER COLUMN id SET DEFAULT nextval('public.task_id_seq'::regclass);
6660
6661
6662 --
6663 -- Name: task_metric_numeric id; Type: DEFAULT; Schema: public; Owner: lite
6664 --
6665
6666 ALTER TABLE ONLY public.task_metric_numeric ALTER COLUMN id SET DEFAULT nextval('public.task_metric_numeric_id_seq'::regclass);
6667
6668
6669 --
6670 -- Name: task_metric_text id; Type: DEFAULT; Schema: public; Owner: lite
6671 --
6672
6673 ALTER TABLE ONLY public.task_metric_text ALTER COLUMN id SET DEFAULT nextval('public.task_metric_text_id_seq'::regclass);
6674
6675
6676 --
6677 -- Name: tool_dependency id; Type: DEFAULT; Schema: public; Owner: lite
6678 --
6679
6680 ALTER TABLE ONLY public.tool_dependency ALTER COLUMN id SET DEFAULT nextval('public.tool_dependency_id_seq'::regclass);
6681
6682
6683 --
6684 -- Name: tool_shed_repository id; Type: DEFAULT; Schema: public; Owner: lite
6685 --
6686
6687 ALTER TABLE ONLY public.tool_shed_repository ALTER COLUMN id SET DEFAULT nextval('public.tool_shed_repository_id_seq'::regclass);
6688
6689
6690 --
6691 -- Name: tool_tag_association id; Type: DEFAULT; Schema: public; Owner: lite
6692 --
6693
6694 ALTER TABLE ONLY public.tool_tag_association ALTER COLUMN id SET DEFAULT nextval('public.tool_tag_association_id_seq'::regclass);
6695
6696
6697 --
6698 -- Name: tool_version id; Type: DEFAULT; Schema: public; Owner: lite
6699 --
6700
6701 ALTER TABLE ONLY public.tool_version ALTER COLUMN id SET DEFAULT nextval('public.tool_version_id_seq'::regclass);
6702
6703
6704 --
6705 -- Name: tool_version_association id; Type: DEFAULT; Schema: public; Owner: lite
6706 --
6707
6708 ALTER TABLE ONLY public.tool_version_association ALTER COLUMN id SET DEFAULT nextval('public.tool_version_association_id_seq'::regclass);
6709
6710
6711 --
6712 -- Name: transfer_job id; Type: DEFAULT; Schema: public; Owner: lite
6713 --
6714
6715 ALTER TABLE ONLY public.transfer_job ALTER COLUMN id SET DEFAULT nextval('public.transfer_job_id_seq'::regclass);
6716
6717
6718 --
6719 -- Name: user_action id; Type: DEFAULT; Schema: public; Owner: lite
6720 --
6721
6722 ALTER TABLE ONLY public.user_action ALTER COLUMN id SET DEFAULT nextval('public.user_action_id_seq'::regclass);
6723
6724
6725 --
6726 -- Name: user_address id; Type: DEFAULT; Schema: public; Owner: lite
6727 --
6728
6729 ALTER TABLE ONLY public.user_address ALTER COLUMN id SET DEFAULT nextval('public.user_address_id_seq'::regclass);
6730
6731
6732 --
6733 -- Name: user_group_association id; Type: DEFAULT; Schema: public; Owner: lite
6734 --
6735
6736 ALTER TABLE ONLY public.user_group_association ALTER COLUMN id SET DEFAULT nextval('public.user_group_association_id_seq'::regclass);
6737
6738
6739 --
6740 -- Name: user_preference id; Type: DEFAULT; Schema: public; Owner: lite
6741 --
6742
6743 ALTER TABLE ONLY public.user_preference ALTER COLUMN id SET DEFAULT nextval('public.user_preference_id_seq'::regclass);
6744
6745
6746 --
6747 -- Name: user_quota_association id; Type: DEFAULT; Schema: public; Owner: lite
6748 --
6749
6750 ALTER TABLE ONLY public.user_quota_association ALTER COLUMN id SET DEFAULT nextval('public.user_quota_association_id_seq'::regclass);
6751
6752
6753 --
6754 -- Name: user_role_association id; Type: DEFAULT; Schema: public; Owner: lite
6755 --
6756
6757 ALTER TABLE ONLY public.user_role_association ALTER COLUMN id SET DEFAULT nextval('public.user_role_association_id_seq'::regclass);
6758
6759
6760 --
6761 -- Name: validation_error id; Type: DEFAULT; Schema: public; Owner: lite
6762 --
6763
6764 ALTER TABLE ONLY public.validation_error ALTER COLUMN id SET DEFAULT nextval('public.validation_error_id_seq'::regclass);
6765
6766
6767 --
6768 -- Name: visualization id; Type: DEFAULT; Schema: public; Owner: lite
6769 --
6770
6771 ALTER TABLE ONLY public.visualization ALTER COLUMN id SET DEFAULT nextval('public.visualization_id_seq'::regclass);
6772
6773
6774 --
6775 -- Name: visualization_annotation_association id; Type: DEFAULT; Schema: public; Owner: lite
6776 --
6777
6778 ALTER TABLE ONLY public.visualization_annotation_association ALTER COLUMN id SET DEFAULT nextval('public.visualization_annotation_association_id_seq'::regclass);
6779
6780
6781 --
6782 -- Name: visualization_rating_association id; Type: DEFAULT; Schema: public; Owner: lite
6783 --
6784
6785 ALTER TABLE ONLY public.visualization_rating_association ALTER COLUMN id SET DEFAULT nextval('public.visualization_rating_association_id_seq'::regclass);
6786
6787
6788 --
6789 -- Name: visualization_revision id; Type: DEFAULT; Schema: public; Owner: lite
6790 --
6791
6792 ALTER TABLE ONLY public.visualization_revision ALTER COLUMN id SET DEFAULT nextval('public.visualization_revision_id_seq'::regclass);
6793
6794
6795 --
6796 -- Name: visualization_tag_association id; Type: DEFAULT; Schema: public; Owner: lite
6797 --
6798
6799 ALTER TABLE ONLY public.visualization_tag_association ALTER COLUMN id SET DEFAULT nextval('public.visualization_tag_association_id_seq'::regclass);
6800
6801
6802 --
6803 -- Name: visualization_user_share_association id; Type: DEFAULT; Schema: public; Owner: lite
6804 --
6805
6806 ALTER TABLE ONLY public.visualization_user_share_association ALTER COLUMN id SET DEFAULT nextval('public.visualization_user_share_association_id_seq'::regclass);
6807
6808
6809 --
6810 -- Name: workflow id; Type: DEFAULT; Schema: public; Owner: lite
6811 --
6812
6813 ALTER TABLE ONLY public.workflow ALTER COLUMN id SET DEFAULT nextval('public.workflow_id_seq'::regclass);
6814
6815
6816 --
6817 -- Name: workflow_invocation id; Type: DEFAULT; Schema: public; Owner: lite
6818 --
6819
6820 ALTER TABLE ONLY public.workflow_invocation ALTER COLUMN id SET DEFAULT nextval('public.workflow_invocation_id_seq'::regclass);
6821
6822
6823 --
6824 -- Name: workflow_invocation_step id; Type: DEFAULT; Schema: public; Owner: lite
6825 --
6826
6827 ALTER TABLE ONLY public.workflow_invocation_step ALTER COLUMN id SET DEFAULT nextval('public.workflow_invocation_step_id_seq'::regclass);
6828
6829
6830 --
6831 -- Name: workflow_invocation_to_subworkflow_invocation_association id; Type: DEFAULT; Schema: public; Owner: lite
6832 --
6833
6834 ALTER TABLE ONLY public.workflow_invocation_to_subworkflow_invocation_association ALTER COLUMN id SET DEFAULT nextval('public.workflow_invocation_to_subworkflow_invocation_associatio_id_seq'::regclass);
6835
6836
6837 --
6838 -- Name: workflow_output id; Type: DEFAULT; Schema: public; Owner: lite
6839 --
6840
6841 ALTER TABLE ONLY public.workflow_output ALTER COLUMN id SET DEFAULT nextval('public.workflow_output_id_seq'::regclass);
6842
6843
6844 --
6845 -- Name: workflow_request_input_parameters id; Type: DEFAULT; Schema: public; Owner: lite
6846 --
6847
6848 ALTER TABLE ONLY public.workflow_request_input_parameters ALTER COLUMN id SET DEFAULT nextval('public.workflow_request_input_parameters_id_seq'::regclass);
6849
6850
6851 --
6852 -- Name: workflow_request_input_step_parameter id; Type: DEFAULT; Schema: public; Owner: lite
6853 --
6854
6855 ALTER TABLE ONLY public.workflow_request_input_step_parameter ALTER COLUMN id SET DEFAULT nextval('public.workflow_request_input_step_parameter_id_seq'::regclass);
6856
6857
6858 --
6859 -- Name: workflow_request_step_states id; Type: DEFAULT; Schema: public; Owner: lite
6860 --
6861
6862 ALTER TABLE ONLY public.workflow_request_step_states ALTER COLUMN id SET DEFAULT nextval('public.workflow_request_step_states_id_seq'::regclass);
6863
6864
6865 --
6866 -- Name: workflow_request_to_input_collection_dataset id; Type: DEFAULT; Schema: public; Owner: lite
6867 --
6868
6869 ALTER TABLE ONLY public.workflow_request_to_input_collection_dataset ALTER COLUMN id SET DEFAULT nextval('public.workflow_request_to_input_collection_dataset_id_seq'::regclass);
6870
6871
6872 --
6873 -- Name: workflow_request_to_input_dataset id; Type: DEFAULT; Schema: public; Owner: lite
6874 --
6875
6876 ALTER TABLE ONLY public.workflow_request_to_input_dataset ALTER COLUMN id SET DEFAULT nextval('public.workflow_request_to_input_dataset_id_seq'::regclass);
6877
6878
6879 --
6880 -- Name: workflow_step id; Type: DEFAULT; Schema: public; Owner: lite
6881 --
6882
6883 ALTER TABLE ONLY public.workflow_step ALTER COLUMN id SET DEFAULT nextval('public.workflow_step_id_seq'::regclass);
6884
6885
6886 --
6887 -- Name: workflow_step_annotation_association id; Type: DEFAULT; Schema: public; Owner: lite
6888 --
6889
6890 ALTER TABLE ONLY public.workflow_step_annotation_association ALTER COLUMN id SET DEFAULT nextval('public.workflow_step_annotation_association_id_seq'::regclass);
6891
6892
6893 --
6894 -- Name: workflow_step_connection id; Type: DEFAULT; Schema: public; Owner: lite
6895 --
6896
6897 ALTER TABLE ONLY public.workflow_step_connection ALTER COLUMN id SET DEFAULT nextval('public.workflow_step_connection_id_seq'::regclass);
6898
6899
6900 --
6901 -- Name: workflow_step_tag_association id; Type: DEFAULT; Schema: public; Owner: lite
6902 --
6903
6904 ALTER TABLE ONLY public.workflow_step_tag_association ALTER COLUMN id SET DEFAULT nextval('public.workflow_step_tag_association_id_seq'::regclass);
6905
6906
6907 --
6908 -- Name: workflow_tag_association id; Type: DEFAULT; Schema: public; Owner: lite
6909 --
6910
6911 ALTER TABLE ONLY public.workflow_tag_association ALTER COLUMN id SET DEFAULT nextval('public.workflow_tag_association_id_seq'::regclass);
6912
6913
6914 --
6915 -- Data for Name: api_keys; Type: TABLE DATA; Schema: public; Owner: lite
6916 --
6917
6918 COPY public.api_keys (id, create_time, user_id, key) FROM stdin;
6919 \.
6920
6921
6922 --
6923 -- Data for Name: cleanup_event; Type: TABLE DATA; Schema: public; Owner: lite
6924 --
6925
6926 COPY public.cleanup_event (id, create_time, message) FROM stdin;
6927 \.
6928
6929
6930 --
6931 -- Data for Name: cleanup_event_dataset_association; Type: TABLE DATA; Schema: public; Owner: lite
6932 --
6933
6934 COPY public.cleanup_event_dataset_association (id, create_time, cleanup_event_id, dataset_id) FROM stdin;
6935 \.
6936
6937
6938 --
6939 -- Data for Name: cleanup_event_hda_association; Type: TABLE DATA; Schema: public; Owner: lite
6940 --
6941
6942 COPY public.cleanup_event_hda_association (id, create_time, cleanup_event_id, hda_id) FROM stdin;
6943 \.
6944
6945
6946 --
6947 -- Data for Name: cleanup_event_history_association; Type: TABLE DATA; Schema: public; Owner: lite
6948 --
6949
6950 COPY public.cleanup_event_history_association (id, create_time, cleanup_event_id, history_id) FROM stdin;
6951 \.
6952
6953
6954 --
6955 -- Data for Name: cleanup_event_icda_association; Type: TABLE DATA; Schema: public; Owner: lite
6956 --
6957
6958 COPY public.cleanup_event_icda_association (id, create_time, cleanup_event_id, icda_id) FROM stdin;
6959 \.
6960
6961
6962 --
6963 -- Data for Name: cleanup_event_ldda_association; Type: TABLE DATA; Schema: public; Owner: lite
6964 --
6965
6966 COPY public.cleanup_event_ldda_association (id, create_time, cleanup_event_id, ldda_id) FROM stdin;
6967 \.
6968
6969
6970 --
6971 -- Data for Name: cleanup_event_library_association; Type: TABLE DATA; Schema: public; Owner: lite
6972 --
6973
6974 COPY public.cleanup_event_library_association (id, create_time, cleanup_event_id, library_id) FROM stdin;
6975 \.
6976
6977
6978 --
6979 -- Data for Name: cleanup_event_library_dataset_association; Type: TABLE DATA; Schema: public; Owner: lite
6980 --
6981
6982 COPY public.cleanup_event_library_dataset_association (id, create_time, cleanup_event_id, library_dataset_id) FROM stdin;
6983 \.
6984
6985
6986 --
6987 -- Data for Name: cleanup_event_library_folder_association; Type: TABLE DATA; Schema: public; Owner: lite
6988 --
6989
6990 COPY public.cleanup_event_library_folder_association (id, create_time, cleanup_event_id, library_folder_id) FROM stdin;
6991 \.
6992
6993
6994 --
6995 -- Data for Name: cleanup_event_metadata_file_association; Type: TABLE DATA; Schema: public; Owner: lite
6996 --
6997
6998 COPY public.cleanup_event_metadata_file_association (id, create_time, cleanup_event_id, metadata_file_id) FROM stdin;
6999 \.
7000
7001
7002 --
7003 -- Data for Name: data_manager_history_association; Type: TABLE DATA; Schema: public; Owner: lite
7004 --
7005
7006 COPY public.data_manager_history_association (id, create_time, update_time, history_id, user_id) FROM stdin;
7007 \.
7008
7009
7010 --
7011 -- Data for Name: data_manager_job_association; Type: TABLE DATA; Schema: public; Owner: lite
7012 --
7013
7014 COPY public.data_manager_job_association (id, create_time, update_time, job_id, data_manager_id) FROM stdin;
7015 \.
7016
7017
7018 --
7019 -- Data for Name: dataset; Type: TABLE DATA; Schema: public; Owner: lite
7020 --
7021
7022 COPY public.dataset (id, create_time, update_time, state, deleted, purged, purgable, external_filename, _extra_files_path, file_size, total_size, object_store_id, uuid) FROM stdin;
7023 \.
7024
7025
7026 --
7027 -- Data for Name: dataset_collection; Type: TABLE DATA; Schema: public; Owner: lite
7028 --
7029
7030 COPY public.dataset_collection (id, collection_type, create_time, update_time, populated_state, populated_state_message) FROM stdin;
7031 \.
7032
7033
7034 --
7035 -- Data for Name: dataset_collection_element; Type: TABLE DATA; Schema: public; Owner: lite
7036 --
7037
7038 COPY public.dataset_collection_element (id, dataset_collection_id, hda_id, ldda_id, child_collection_id, element_index, element_identifier) FROM stdin;
7039 \.
7040
7041
7042 --
7043 -- Data for Name: dataset_permissions; Type: TABLE DATA; Schema: public; Owner: lite
7044 --
7045
7046 COPY public.dataset_permissions (id, create_time, update_time, action, dataset_id, role_id) FROM stdin;
7047 \.
7048
7049
7050 --
7051 -- Data for Name: dataset_tag_association; Type: TABLE DATA; Schema: public; Owner: lite
7052 --
7053
7054 COPY public.dataset_tag_association (id, dataset_id, tag_id, user_tname, value, user_value) FROM stdin;
7055 \.
7056
7057
7058 --
7059 -- Data for Name: default_history_permissions; Type: TABLE DATA; Schema: public; Owner: lite
7060 --
7061
7062 COPY public.default_history_permissions (id, history_id, action, role_id) FROM stdin;
7063 \.
7064
7065
7066 --
7067 -- Data for Name: default_quota_association; Type: TABLE DATA; Schema: public; Owner: lite
7068 --
7069
7070 COPY public.default_quota_association (id, create_time, update_time, type, quota_id) FROM stdin;
7071 \.
7072
7073
7074 --
7075 -- Data for Name: default_user_permissions; Type: TABLE DATA; Schema: public; Owner: lite
7076 --
7077
7078 COPY public.default_user_permissions (id, user_id, action, role_id) FROM stdin;
7079 \.
7080
7081
7082 --
7083 -- Data for Name: deferred_job; Type: TABLE DATA; Schema: public; Owner: lite
7084 --
7085
7086 COPY public.deferred_job (id, create_time, update_time, state, plugin, params) FROM stdin;
7087 \.
7088
7089
7090 --
7091 -- Data for Name: event; Type: TABLE DATA; Schema: public; Owner: lite
7092 --
7093
7094 COPY public.event (id, create_time, update_time, history_id, user_id, message, session_id, tool_id) FROM stdin;
7095 \.
7096
7097
7098 --
7099 -- Data for Name: extended_metadata; Type: TABLE DATA; Schema: public; Owner: lite
7100 --
7101
7102 COPY public.extended_metadata (id, data) FROM stdin;
7103 \.
7104
7105
7106 --
7107 -- Data for Name: extended_metadata_index; Type: TABLE DATA; Schema: public; Owner: lite
7108 --
7109
7110 COPY public.extended_metadata_index (id, extended_metadata_id, path, value) FROM stdin;
7111 \.
7112
7113
7114 --
7115 -- Data for Name: external_service; Type: TABLE DATA; Schema: public; Owner: lite
7116 --
7117
7118 COPY public.external_service (id, create_time, update_time, name, description, version, form_definition_id, form_values_id, deleted, external_service_type_id) FROM stdin;
7119 \.
7120
7121
7122 --
7123 -- Data for Name: form_definition; Type: TABLE DATA; Schema: public; Owner: lite
7124 --
7125
7126 COPY public.form_definition (id, create_time, update_time, name, "desc", form_definition_current_id, fields, type, layout) FROM stdin;
7127 \.
7128
7129
7130 --
7131 -- Data for Name: form_definition_current; Type: TABLE DATA; Schema: public; Owner: lite
7132 --
7133
7134 COPY public.form_definition_current (id, create_time, update_time, latest_form_id, deleted) FROM stdin;
7135 \.
7136
7137
7138 --
7139 -- Data for Name: form_values; Type: TABLE DATA; Schema: public; Owner: lite
7140 --
7141
7142 COPY public.form_values (id, create_time, update_time, form_definition_id, content) FROM stdin;
7143 \.
7144
7145
7146 --
7147 -- Data for Name: galaxy_group; Type: TABLE DATA; Schema: public; Owner: lite
7148 --
7149
7150 COPY public.galaxy_group (id, create_time, update_time, name, deleted) FROM stdin;
7151 \.
7152
7153
7154 --
7155 -- Data for Name: galaxy_session; Type: TABLE DATA; Schema: public; Owner: lite
7156 --
7157
7158 COPY public.galaxy_session (id, create_time, update_time, user_id, remote_host, remote_addr, referer, current_history_id, session_key, is_valid, prev_session_id, disk_usage, last_action) FROM stdin;
7159 \.
7160
7161
7162 --
7163 -- Data for Name: galaxy_session_to_history; Type: TABLE DATA; Schema: public; Owner: lite
7164 --
7165
7166 COPY public.galaxy_session_to_history (id, create_time, session_id, history_id) FROM stdin;
7167 \.
7168
7169
7170 --
7171 -- Data for Name: galaxy_user; Type: TABLE DATA; Schema: public; Owner: lite
7172 --
7173
7174 COPY public.galaxy_user (id, create_time, update_time, email, password, external, deleted, purged, username, form_values_id, disk_usage, activation_token, active, last_password_change) FROM stdin;
7175 \.
7176
7177
7178 --
7179 -- Data for Name: galaxy_user_openid; Type: TABLE DATA; Schema: public; Owner: lite
7180 --
7181
7182 COPY public.galaxy_user_openid (id, create_time, update_time, session_id, user_id, openid, provider) FROM stdin;
7183 \.
7184
7185
7186 --
7187 -- Data for Name: genome_index_tool_data; Type: TABLE DATA; Schema: public; Owner: lite
7188 --
7189
7190 COPY public.genome_index_tool_data (id, job_id, dataset_id, deferred_job_id, transfer_job_id, fasta_path, created_time, modified_time, indexer, user_id) FROM stdin;
7191 \.
7192
7193
7194 --
7195 -- Data for Name: group_quota_association; Type: TABLE DATA; Schema: public; Owner: lite
7196 --
7197
7198 COPY public.group_quota_association (id, group_id, quota_id, create_time, update_time) FROM stdin;
7199 \.
7200
7201
7202 --
7203 -- Data for Name: group_role_association; Type: TABLE DATA; Schema: public; Owner: lite
7204 --
7205
7206 COPY public.group_role_association (id, group_id, role_id, create_time, update_time) FROM stdin;
7207 \.
7208
7209
7210 --
7211 -- Data for Name: history; Type: TABLE DATA; Schema: public; Owner: lite
7212 --
7213
7214 COPY public.history (id, create_time, update_time, user_id, name, hid_counter, deleted, purged, genome_build, importable, slug, published, importing) FROM stdin;
7215 \.
7216
7217
7218 --
7219 -- Data for Name: history_annotation_association; Type: TABLE DATA; Schema: public; Owner: lite
7220 --
7221
7222 COPY public.history_annotation_association (id, history_id, user_id, annotation) FROM stdin;
7223 \.
7224
7225
7226 --
7227 -- Data for Name: history_dataset_association; Type: TABLE DATA; Schema: public; Owner: lite
7228 --
7229
7230 COPY public.history_dataset_association (id, history_id, dataset_id, create_time, update_time, copied_from_history_dataset_association_id, hid, name, info, blurb, peek, extension, metadata, parent_id, designation, deleted, visible, copied_from_library_dataset_dataset_association_id, state, purged, tool_version, extended_metadata_id, hidden_beneath_collection_instance_id) FROM stdin;
7231 \.
7232
7233
7234 --
7235 -- Data for Name: history_dataset_association_annotation_association; Type: TABLE DATA; Schema: public; Owner: lite
7236 --
7237
7238 COPY public.history_dataset_association_annotation_association (id, history_dataset_association_id, user_id, annotation) FROM stdin;
7239 \.
7240
7241
7242 --
7243 -- Data for Name: history_dataset_association_display_at_authorization; Type: TABLE DATA; Schema: public; Owner: lite
7244 --
7245
7246 COPY public.history_dataset_association_display_at_authorization (id, create_time, update_time, history_dataset_association_id, user_id, site) FROM stdin;
7247 \.
7248
7249
7250 --
7251 -- Data for Name: history_dataset_association_rating_association; Type: TABLE DATA; Schema: public; Owner: lite
7252 --
7253
7254 COPY public.history_dataset_association_rating_association (id, history_dataset_association_id, user_id, rating) FROM stdin;
7255 \.
7256
7257
7258 --
7259 -- Data for Name: history_dataset_association_subset; Type: TABLE DATA; Schema: public; Owner: lite
7260 --
7261
7262 COPY public.history_dataset_association_subset (id, history_dataset_association_id, history_dataset_association_subset_id, location) FROM stdin;
7263 \.
7264
7265
7266 --
7267 -- Data for Name: history_dataset_association_tag_association; Type: TABLE DATA; Schema: public; Owner: lite
7268 --
7269
7270 COPY public.history_dataset_association_tag_association (id, history_dataset_association_id, tag_id, user_tname, value, user_value, user_id) FROM stdin;
7271 \.
7272
7273
7274 --
7275 -- Data for Name: history_dataset_collection_annotation_association; Type: TABLE DATA; Schema: public; Owner: lite
7276 --
7277
7278 COPY public.history_dataset_collection_annotation_association (id, history_dataset_collection_id, user_id, annotation) FROM stdin;
7279 \.
7280
7281
7282 --
7283 -- Data for Name: history_dataset_collection_association; Type: TABLE DATA; Schema: public; Owner: lite
7284 --
7285
7286 COPY public.history_dataset_collection_association (id, collection_id, history_id, hid, name, deleted, visible, copied_from_history_dataset_collection_association_id, implicit_output_name) FROM stdin;
7287 \.
7288
7289
7290 --
7291 -- Data for Name: history_dataset_collection_rating_association; Type: TABLE DATA; Schema: public; Owner: lite
7292 --
7293
7294 COPY public.history_dataset_collection_rating_association (id, history_dataset_collection_id, user_id, rating) FROM stdin;
7295 \.
7296
7297
7298 --
7299 -- Data for Name: history_dataset_collection_tag_association; Type: TABLE DATA; Schema: public; Owner: lite
7300 --
7301
7302 COPY public.history_dataset_collection_tag_association (id, history_dataset_collection_id, tag_id, user_id, user_tname, value, user_value) FROM stdin;
7303 \.
7304
7305
7306 --
7307 -- Data for Name: history_rating_association; Type: TABLE DATA; Schema: public; Owner: lite
7308 --
7309
7310 COPY public.history_rating_association (id, history_id, user_id, rating) FROM stdin;
7311 \.
7312
7313
7314 --
7315 -- Data for Name: history_tag_association; Type: TABLE DATA; Schema: public; Owner: lite
7316 --
7317
7318 COPY public.history_tag_association (id, history_id, tag_id, user_tname, value, user_value, user_id) FROM stdin;
7319 \.
7320
7321
7322 --
7323 -- Data for Name: history_user_share_association; Type: TABLE DATA; Schema: public; Owner: lite
7324 --
7325
7326 COPY public.history_user_share_association (id, history_id, user_id) FROM stdin;
7327 \.
7328
7329
7330 --
7331 -- Data for Name: implicitly_converted_dataset_association; Type: TABLE DATA; Schema: public; Owner: lite
7332 --
7333
7334 COPY public.implicitly_converted_dataset_association (id, create_time, update_time, hda_id, hda_parent_id, deleted, metadata_safe, type, ldda_parent_id, ldda_id) FROM stdin;
7335 \.
7336
7337
7338 --
7339 -- Data for Name: implicitly_created_dataset_collection_inputs; Type: TABLE DATA; Schema: public; Owner: lite
7340 --
7341
7342 COPY public.implicitly_created_dataset_collection_inputs (id, dataset_collection_id, input_dataset_collection_id, name) FROM stdin;
7343 \.
7344
7345
7346 --
7347 -- Data for Name: job; Type: TABLE DATA; Schema: public; Owner: lite
7348 --
7349
7350 COPY public.job (id, create_time, update_time, history_id, tool_id, tool_version, state, info, command_line, param_filename, runner_name, stdout, stderr, traceback, session_id, job_runner_name, job_runner_external_id, library_folder_id, user_id, imported, object_store_id, params, handler, exit_code, destination_id, destination_params, dependencies) FROM stdin;
7351 \.
7352
7353
7354 --
7355 -- Data for Name: job_export_history_archive; Type: TABLE DATA; Schema: public; Owner: lite
7356 --
7357
7358 COPY public.job_export_history_archive (id, job_id, history_id, dataset_id, compressed, history_attrs_filename, datasets_attrs_filename, jobs_attrs_filename) FROM stdin;
7359 \.
7360
7361
7362 --
7363 -- Data for Name: job_external_output_metadata; Type: TABLE DATA; Schema: public; Owner: lite
7364 --
7365
7366 COPY public.job_external_output_metadata (id, job_id, history_dataset_association_id, library_dataset_dataset_association_id, filename_in, filename_out, filename_results_code, filename_kwds, job_runner_external_pid, filename_override_metadata, is_valid) FROM stdin;
7367 \.
7368
7369
7370 --
7371 -- Data for Name: job_import_history_archive; Type: TABLE DATA; Schema: public; Owner: lite
7372 --
7373
7374 COPY public.job_import_history_archive (id, job_id, history_id, archive_dir) FROM stdin;
7375 \.
7376
7377
7378 --
7379 -- Data for Name: job_metric_numeric; Type: TABLE DATA; Schema: public; Owner: lite
7380 --
7381
7382 COPY public.job_metric_numeric (id, job_id, plugin, metric_name, metric_value) FROM stdin;
7383 \.
7384
7385
7386 --
7387 -- Data for Name: job_metric_text; Type: TABLE DATA; Schema: public; Owner: lite
7388 --
7389
7390 COPY public.job_metric_text (id, job_id, plugin, metric_name, metric_value) FROM stdin;
7391 \.
7392
7393
7394 --
7395 -- Data for Name: job_parameter; Type: TABLE DATA; Schema: public; Owner: lite
7396 --
7397
7398 COPY public.job_parameter (id, job_id, name, value) FROM stdin;
7399 \.
7400
7401
7402 --
7403 -- Data for Name: job_state_history; Type: TABLE DATA; Schema: public; Owner: lite
7404 --
7405
7406 COPY public.job_state_history (id, create_time, update_time, job_id, state, info) FROM stdin;
7407 \.
7408
7409
7410 --
7411 -- Data for Name: job_to_implicit_output_dataset_collection; Type: TABLE DATA; Schema: public; Owner: lite
7412 --
7413
7414 COPY public.job_to_implicit_output_dataset_collection (id, job_id, dataset_collection_id, name) FROM stdin;
7415 \.
7416
7417
7418 --
7419 -- Data for Name: job_to_input_dataset; Type: TABLE DATA; Schema: public; Owner: lite
7420 --
7421
7422 COPY public.job_to_input_dataset (id, job_id, dataset_id, name) FROM stdin;
7423 \.
7424
7425
7426 --
7427 -- Data for Name: job_to_input_dataset_collection; Type: TABLE DATA; Schema: public; Owner: lite
7428 --
7429
7430 COPY public.job_to_input_dataset_collection (id, job_id, dataset_collection_id, name) FROM stdin;
7431 \.
7432
7433
7434 --
7435 -- Data for Name: job_to_input_library_dataset; Type: TABLE DATA; Schema: public; Owner: lite
7436 --
7437
7438 COPY public.job_to_input_library_dataset (id, job_id, ldda_id, name) FROM stdin;
7439 \.
7440
7441
7442 --
7443 -- Data for Name: job_to_output_dataset; Type: TABLE DATA; Schema: public; Owner: lite
7444 --
7445
7446 COPY public.job_to_output_dataset (id, job_id, dataset_id, name) FROM stdin;
7447 \.
7448
7449
7450 --
7451 -- Data for Name: job_to_output_dataset_collection; Type: TABLE DATA; Schema: public; Owner: lite
7452 --
7453
7454 COPY public.job_to_output_dataset_collection (id, job_id, dataset_collection_id, name) FROM stdin;
7455 \.
7456
7457
7458 --
7459 -- Data for Name: job_to_output_library_dataset; Type: TABLE DATA; Schema: public; Owner: lite
7460 --
7461
7462 COPY public.job_to_output_library_dataset (id, job_id, ldda_id, name) FROM stdin;
7463 \.
7464
7465
7466 --
7467 -- Data for Name: library; Type: TABLE DATA; Schema: public; Owner: lite
7468 --
7469
7470 COPY public.library (id, root_folder_id, create_time, update_time, name, deleted, purged, description, synopsis) FROM stdin;
7471 \.
7472
7473
7474 --
7475 -- Data for Name: library_dataset; Type: TABLE DATA; Schema: public; Owner: lite
7476 --
7477
7478 COPY public.library_dataset (id, library_dataset_dataset_association_id, folder_id, order_id, create_time, update_time, name, info, deleted, purged) FROM stdin;
7479 \.
7480
7481
7482 --
7483 -- Data for Name: library_dataset_collection_annotation_association; Type: TABLE DATA; Schema: public; Owner: lite
7484 --
7485
7486 COPY public.library_dataset_collection_annotation_association (id, library_dataset_collection_id, user_id, annotation) FROM stdin;
7487 \.
7488
7489
7490 --
7491 -- Data for Name: library_dataset_collection_association; Type: TABLE DATA; Schema: public; Owner: lite
7492 --
7493
7494 COPY public.library_dataset_collection_association (id, collection_id, name, deleted, folder_id) FROM stdin;
7495 \.
7496
7497
7498 --
7499 -- Data for Name: library_dataset_collection_rating_association; Type: TABLE DATA; Schema: public; Owner: lite
7500 --
7501
7502 COPY public.library_dataset_collection_rating_association (id, library_dataset_collection_id, user_id, rating) FROM stdin;
7503 \.
7504
7505
7506 --
7507 -- Data for Name: library_dataset_collection_tag_association; Type: TABLE DATA; Schema: public; Owner: lite
7508 --
7509
7510 COPY public.library_dataset_collection_tag_association (id, library_dataset_collection_id, tag_id, user_id, user_tname, value, user_value) FROM stdin;
7511 \.
7512
7513
7514 --
7515 -- Data for Name: library_dataset_dataset_association; Type: TABLE DATA; Schema: public; Owner: lite
7516 --
7517
7518 COPY public.library_dataset_dataset_association (id, library_dataset_id, dataset_id, create_time, update_time, copied_from_history_dataset_association_id, copied_from_library_dataset_dataset_association_id, name, info, blurb, peek, extension, metadata, parent_id, designation, deleted, visible, user_id, message, state, tool_version, extended_metadata_id) FROM stdin;
7519 \.
7520
7521
7522 --
7523 -- Data for Name: library_dataset_dataset_association_permissions; Type: TABLE DATA; Schema: public; Owner: lite
7524 --
7525
7526 COPY public.library_dataset_dataset_association_permissions (id, create_time, update_time, action, library_dataset_dataset_association_id, role_id) FROM stdin;
7527 \.
7528
7529
7530 --
7531 -- Data for Name: library_dataset_dataset_association_tag_association; Type: TABLE DATA; Schema: public; Owner: lite
7532 --
7533
7534 COPY public.library_dataset_dataset_association_tag_association (id, library_dataset_dataset_association_id, tag_id, user_tname, value, user_value, user_id) FROM stdin;
7535 \.
7536
7537
7538 --
7539 -- Data for Name: library_dataset_dataset_info_association; Type: TABLE DATA; Schema: public; Owner: lite
7540 --
7541
7542 COPY public.library_dataset_dataset_info_association (id, library_dataset_dataset_association_id, form_definition_id, form_values_id, deleted) FROM stdin;
7543 \.
7544
7545
7546 --
7547 -- Data for Name: library_dataset_permissions; Type: TABLE DATA; Schema: public; Owner: lite
7548 --
7549
7550 COPY public.library_dataset_permissions (id, create_time, update_time, action, library_dataset_id, role_id) FROM stdin;
7551 \.
7552
7553
7554 --
7555 -- Data for Name: library_folder; Type: TABLE DATA; Schema: public; Owner: lite
7556 --
7557
7558 COPY public.library_folder (id, parent_id, create_time, update_time, name, description, order_id, item_count, deleted, purged, genome_build) FROM stdin;
7559 \.
7560
7561
7562 --
7563 -- Data for Name: library_folder_info_association; Type: TABLE DATA; Schema: public; Owner: lite
7564 --
7565
7566 COPY public.library_folder_info_association (id, library_folder_id, form_definition_id, form_values_id, deleted, inheritable) FROM stdin;
7567 \.
7568
7569
7570 --
7571 -- Data for Name: library_folder_permissions; Type: TABLE DATA; Schema: public; Owner: lite
7572 --
7573
7574 COPY public.library_folder_permissions (id, create_time, update_time, action, library_folder_id, role_id) FROM stdin;
7575 \.
7576
7577
7578 --
7579 -- Data for Name: library_info_association; Type: TABLE DATA; Schema: public; Owner: lite
7580 --
7581
7582 COPY public.library_info_association (id, library_id, form_definition_id, form_values_id, deleted, inheritable) FROM stdin;
7583 \.
7584
7585
7586 --
7587 -- Data for Name: library_permissions; Type: TABLE DATA; Schema: public; Owner: lite
7588 --
7589
7590 COPY public.library_permissions (id, create_time, update_time, action, library_id, role_id) FROM stdin;
7591 \.
7592
7593
7594 --
7595 -- Data for Name: metadata_file; Type: TABLE DATA; Schema: public; Owner: lite
7596 --
7597
7598 COPY public.metadata_file (id, name, hda_id, create_time, update_time, deleted, purged, lda_id, object_store_id) FROM stdin;
7599 \.
7600
7601
7602 --
7603 -- Data for Name: migrate_tools; Type: TABLE DATA; Schema: public; Owner: lite
7604 --
7605
7606 COPY public.migrate_tools (repository_id, repository_path, version) FROM stdin;
7607 GalaxyTools lib/tool_shed/galaxy_install/migrate 1
7608 \.
7609
7610
7611 --
7612 -- Data for Name: migrate_version; Type: TABLE DATA; Schema: public; Owner: lite
7613 --
7614
7615 COPY public.migrate_version (repository_id, repository_path, version) FROM stdin;
7616 Galaxy lib/galaxy/model/migrate 135
7617 \.
7618
7619
7620 --
7621 -- Data for Name: page; Type: TABLE DATA; Schema: public; Owner: lite
7622 --
7623
7624 COPY public.page (id, create_time, update_time, user_id, latest_revision_id, title, slug, published, deleted, importable) FROM stdin;
7625 \.
7626
7627
7628 --
7629 -- Data for Name: page_annotation_association; Type: TABLE DATA; Schema: public; Owner: lite
7630 --
7631
7632 COPY public.page_annotation_association (id, page_id, user_id, annotation) FROM stdin;
7633 \.
7634
7635
7636 --
7637 -- Data for Name: page_rating_association; Type: TABLE DATA; Schema: public; Owner: lite
7638 --
7639
7640 COPY public.page_rating_association (id, page_id, user_id, rating) FROM stdin;
7641 \.
7642
7643
7644 --
7645 -- Data for Name: page_revision; Type: TABLE DATA; Schema: public; Owner: lite
7646 --
7647
7648 COPY public.page_revision (id, create_time, update_time, page_id, title, content) FROM stdin;
7649 \.
7650
7651
7652 --
7653 -- Data for Name: page_tag_association; Type: TABLE DATA; Schema: public; Owner: lite
7654 --
7655
7656 COPY public.page_tag_association (id, page_id, tag_id, user_tname, value, user_value, user_id) FROM stdin;
7657 \.
7658
7659
7660 --
7661 -- Data for Name: page_user_share_association; Type: TABLE DATA; Schema: public; Owner: lite
7662 --
7663
7664 COPY public.page_user_share_association (id, page_id, user_id) FROM stdin;
7665 \.
7666
7667
7668 --
7669 -- Data for Name: password_reset_token; Type: TABLE DATA; Schema: public; Owner: lite
7670 --
7671
7672 COPY public.password_reset_token (token, expiration_time, user_id) FROM stdin;
7673 \.
7674
7675
7676 --
7677 -- Data for Name: post_job_action; Type: TABLE DATA; Schema: public; Owner: lite
7678 --
7679
7680 COPY public.post_job_action (id, workflow_step_id, action_type, output_name, action_arguments) FROM stdin;
7681 \.
7682
7683
7684 --
7685 -- Data for Name: post_job_action_association; Type: TABLE DATA; Schema: public; Owner: lite
7686 --
7687
7688 COPY public.post_job_action_association (id, post_job_action_id, job_id) FROM stdin;
7689 \.
7690
7691
7692 --
7693 -- Data for Name: quota; Type: TABLE DATA; Schema: public; Owner: lite
7694 --
7695
7696 COPY public.quota (id, create_time, update_time, name, description, bytes, operation, deleted) FROM stdin;
7697 \.
7698
7699
7700 --
7701 -- Data for Name: repository_dependency; Type: TABLE DATA; Schema: public; Owner: lite
7702 --
7703
7704 COPY public.repository_dependency (id, create_time, update_time, tool_shed_repository_id) FROM stdin;
7705 \.
7706
7707
7708 --
7709 -- Data for Name: repository_repository_dependency_association; Type: TABLE DATA; Schema: public; Owner: lite
7710 --
7711
7712 COPY public.repository_repository_dependency_association (id, create_time, update_time, tool_shed_repository_id, repository_dependency_id) FROM stdin;
7713 \.
7714
7715
7716 --
7717 -- Data for Name: request; Type: TABLE DATA; Schema: public; Owner: lite
7718 --
7719
7720 COPY public.request (id, create_time, update_time, name, "desc", form_values_id, request_type_id, user_id, deleted, notification) FROM stdin;
7721 \.
7722
7723
7724 --
7725 -- Data for Name: request_event; Type: TABLE DATA; Schema: public; Owner: lite
7726 --
7727
7728 COPY public.request_event (id, create_time, update_time, request_id, state, comment) FROM stdin;
7729 \.
7730
7731
7732 --
7733 -- Data for Name: request_type; Type: TABLE DATA; Schema: public; Owner: lite
7734 --
7735
7736 COPY public.request_type (id, create_time, update_time, name, "desc", request_form_id, sample_form_id, deleted) FROM stdin;
7737 \.
7738
7739
7740 --
7741 -- Data for Name: request_type_external_service_association; Type: TABLE DATA; Schema: public; Owner: lite
7742 --
7743
7744 COPY public.request_type_external_service_association (id, request_type_id, external_service_id) FROM stdin;
7745 \.
7746
7747
7748 --
7749 -- Data for Name: request_type_permissions; Type: TABLE DATA; Schema: public; Owner: lite
7750 --
7751
7752 COPY public.request_type_permissions (id, create_time, update_time, action, request_type_id, role_id) FROM stdin;
7753 \.
7754
7755
7756 --
7757 -- Data for Name: request_type_run_association; Type: TABLE DATA; Schema: public; Owner: lite
7758 --
7759
7760 COPY public.request_type_run_association (id, request_type_id, run_id) FROM stdin;
7761 \.
7762
7763
7764 --
7765 -- Data for Name: role; Type: TABLE DATA; Schema: public; Owner: lite
7766 --
7767
7768 COPY public.role (id, create_time, update_time, name, description, type, deleted) FROM stdin;
7769 \.
7770
7771
7772 --
7773 -- Data for Name: run; Type: TABLE DATA; Schema: public; Owner: lite
7774 --
7775
7776 COPY public.run (id, create_time, update_time, form_definition_id, form_values_id, deleted, subindex) FROM stdin;
7777 \.
7778
7779
7780 --
7781 -- Data for Name: sample; Type: TABLE DATA; Schema: public; Owner: lite
7782 --
7783
7784 COPY public.sample (id, create_time, update_time, name, "desc", form_values_id, request_id, deleted, bar_code, library_id, folder_id, workflow, history_id) FROM stdin;
7785 \.
7786
7787
7788 --
7789 -- Data for Name: sample_dataset; Type: TABLE DATA; Schema: public; Owner: lite
7790 --
7791
7792 COPY public.sample_dataset (id, create_time, update_time, sample_id, name, status, error_msg, size, file_path, external_service_id) FROM stdin;
7793 \.
7794
7795
7796 --
7797 -- Data for Name: sample_event; Type: TABLE DATA; Schema: public; Owner: lite
7798 --
7799
7800 COPY public.sample_event (id, create_time, update_time, sample_id, sample_state_id, comment) FROM stdin;
7801 \.
7802
7803
7804 --
7805 -- Data for Name: sample_run_association; Type: TABLE DATA; Schema: public; Owner: lite
7806 --
7807
7808 COPY public.sample_run_association (id, sample_id, run_id) FROM stdin;
7809 \.
7810
7811
7812 --
7813 -- Data for Name: sample_state; Type: TABLE DATA; Schema: public; Owner: lite
7814 --
7815
7816 COPY public.sample_state (id, create_time, update_time, name, "desc", request_type_id) FROM stdin;
7817 \.
7818
7819
7820 --
7821 -- Data for Name: stored_workflow; Type: TABLE DATA; Schema: public; Owner: lite
7822 --
7823
7824 COPY public.stored_workflow (id, create_time, update_time, user_id, latest_workflow_id, name, deleted, importable, slug, published) FROM stdin;
7825 \.
7826
7827
7828 --
7829 -- Data for Name: stored_workflow_annotation_association; Type: TABLE DATA; Schema: public; Owner: lite
7830 --
7831
7832 COPY public.stored_workflow_annotation_association (id, stored_workflow_id, user_id, annotation) FROM stdin;
7833 \.
7834
7835
7836 --
7837 -- Data for Name: stored_workflow_menu_entry; Type: TABLE DATA; Schema: public; Owner: lite
7838 --
7839
7840 COPY public.stored_workflow_menu_entry (id, stored_workflow_id, user_id, order_index) FROM stdin;
7841 \.
7842
7843
7844 --
7845 -- Data for Name: stored_workflow_rating_association; Type: TABLE DATA; Schema: public; Owner: lite
7846 --
7847
7848 COPY public.stored_workflow_rating_association (id, stored_workflow_id, user_id, rating) FROM stdin;
7849 \.
7850
7851
7852 --
7853 -- Data for Name: stored_workflow_tag_association; Type: TABLE DATA; Schema: public; Owner: lite
7854 --
7855
7856 COPY public.stored_workflow_tag_association (id, stored_workflow_id, tag_id, user_id, user_tname, value, user_value) FROM stdin;
7857 \.
7858
7859
7860 --
7861 -- Data for Name: stored_workflow_user_share_connection; Type: TABLE DATA; Schema: public; Owner: lite
7862 --
7863
7864 COPY public.stored_workflow_user_share_connection (id, stored_workflow_id, user_id) FROM stdin;
7865 \.
7866
7867
7868 --
7869 -- Data for Name: tag; Type: TABLE DATA; Schema: public; Owner: lite
7870 --
7871
7872 COPY public.tag (id, type, parent_id, name) FROM stdin;
7873 \.
7874
7875
7876 --
7877 -- Data for Name: task; Type: TABLE DATA; Schema: public; Owner: lite
7878 --
7879
7880 COPY public.task (id, create_time, execution_time, update_time, state, command_line, param_filename, runner_name, stdout, stderr, traceback, job_id, task_runner_name, task_runner_external_id, prepare_input_files_cmd, working_directory, info, exit_code) FROM stdin;
7881 \.
7882
7883
7884 --
7885 -- Data for Name: task_metric_numeric; Type: TABLE DATA; Schema: public; Owner: lite
7886 --
7887
7888 COPY public.task_metric_numeric (id, task_id, plugin, metric_name, metric_value) FROM stdin;
7889 \.
7890
7891
7892 --
7893 -- Data for Name: task_metric_text; Type: TABLE DATA; Schema: public; Owner: lite
7894 --
7895
7896 COPY public.task_metric_text (id, task_id, plugin, metric_name, metric_value) FROM stdin;
7897 \.
7898
7899
7900 --
7901 -- Data for Name: tool_dependency; Type: TABLE DATA; Schema: public; Owner: lite
7902 --
7903
7904 COPY public.tool_dependency (id, create_time, update_time, tool_shed_repository_id, name, version, type, status, error_message) FROM stdin;
7905 \.
7906
7907
7908 --
7909 -- Data for Name: tool_shed_repository; Type: TABLE DATA; Schema: public; Owner: lite
7910 --
7911
7912 COPY public.tool_shed_repository (id, create_time, update_time, tool_shed, name, description, owner, changeset_revision, deleted, metadata, includes_datatypes, installed_changeset_revision, uninstalled, dist_to_shed, ctx_rev, status, error_message, tool_shed_status) FROM stdin;
7913 \.
7914
7915
7916 --
7917 -- Data for Name: tool_tag_association; Type: TABLE DATA; Schema: public; Owner: lite
7918 --
7919
7920 COPY public.tool_tag_association (id, tool_id, tag_id, user_id, user_tname, value, user_value) FROM stdin;
7921 \.
7922
7923
7924 --
7925 -- Data for Name: tool_version; Type: TABLE DATA; Schema: public; Owner: lite
7926 --
7927
7928 COPY public.tool_version (id, create_time, update_time, tool_id, tool_shed_repository_id) FROM stdin;
7929 \.
7930
7931
7932 --
7933 -- Data for Name: tool_version_association; Type: TABLE DATA; Schema: public; Owner: lite
7934 --
7935
7936 COPY public.tool_version_association (id, tool_id, parent_id) FROM stdin;
7937 \.
7938
7939
7940 --
7941 -- Data for Name: transfer_job; Type: TABLE DATA; Schema: public; Owner: lite
7942 --
7943
7944 COPY public.transfer_job (id, create_time, update_time, state, path, params, info, pid, socket) FROM stdin;
7945 \.
7946
7947
7948 --
7949 -- Data for Name: user_action; Type: TABLE DATA; Schema: public; Owner: lite
7950 --
7951
7952 COPY public.user_action (id, create_time, user_id, session_id, action, context, params) FROM stdin;
7953 \.
7954
7955
7956 --
7957 -- Data for Name: user_address; Type: TABLE DATA; Schema: public; Owner: lite
7958 --
7959
7960 COPY public.user_address (id, create_time, update_time, user_id, "desc", name, institution, address, city, state, postal_code, country, phone, deleted, purged) FROM stdin;
7961 \.
7962
7963
7964 --
7965 -- Data for Name: user_group_association; Type: TABLE DATA; Schema: public; Owner: lite
7966 --
7967
7968 COPY public.user_group_association (id, user_id, group_id, create_time, update_time) FROM stdin;
7969 \.
7970
7971
7972 --
7973 -- Data for Name: user_preference; Type: TABLE DATA; Schema: public; Owner: lite
7974 --
7975
7976 COPY public.user_preference (id, user_id, name, value) FROM stdin;
7977 \.
7978
7979
7980 --
7981 -- Data for Name: user_quota_association; Type: TABLE DATA; Schema: public; Owner: lite
7982 --
7983
7984 COPY public.user_quota_association (id, user_id, quota_id, create_time, update_time) FROM stdin;
7985 \.
7986
7987
7988 --
7989 -- Data for Name: user_role_association; Type: TABLE DATA; Schema: public; Owner: lite
7990 --
7991
7992 COPY public.user_role_association (id, user_id, role_id, create_time, update_time) FROM stdin;
7993 \.
7994
7995
7996 --
7997 -- Data for Name: validation_error; Type: TABLE DATA; Schema: public; Owner: lite
7998 --
7999
8000 COPY public.validation_error (id, dataset_id, message, err_type, attributes) FROM stdin;
8001 \.
8002
8003
8004 --
8005 -- Data for Name: visualization; Type: TABLE DATA; Schema: public; Owner: lite
8006 --
8007
8008 COPY public.visualization (id, create_time, update_time, user_id, latest_revision_id, title, type, deleted, importable, slug, published, dbkey) FROM stdin;
8009 \.
8010
8011
8012 --
8013 -- Data for Name: visualization_annotation_association; Type: TABLE DATA; Schema: public; Owner: lite
8014 --
8015
8016 COPY public.visualization_annotation_association (id, visualization_id, user_id, annotation) FROM stdin;
8017 \.
8018
8019
8020 --
8021 -- Data for Name: visualization_rating_association; Type: TABLE DATA; Schema: public; Owner: lite
8022 --
8023
8024 COPY public.visualization_rating_association (id, visualization_id, user_id, rating) FROM stdin;
8025 \.
8026
8027
8028 --
8029 -- Data for Name: visualization_revision; Type: TABLE DATA; Schema: public; Owner: lite
8030 --
8031
8032 COPY public.visualization_revision (id, create_time, update_time, visualization_id, title, config, dbkey) FROM stdin;
8033 \.
8034
8035
8036 --
8037 -- Data for Name: visualization_tag_association; Type: TABLE DATA; Schema: public; Owner: lite
8038 --
8039
8040 COPY public.visualization_tag_association (id, visualization_id, tag_id, user_id, user_tname, value, user_value) FROM stdin;
8041 \.
8042
8043
8044 --
8045 -- Data for Name: visualization_user_share_association; Type: TABLE DATA; Schema: public; Owner: lite
8046 --
8047
8048 COPY public.visualization_user_share_association (id, visualization_id, user_id) FROM stdin;
8049 \.
8050
8051
8052 --
8053 -- Data for Name: workflow; Type: TABLE DATA; Schema: public; Owner: lite
8054 --
8055
8056 COPY public.workflow (id, create_time, update_time, stored_workflow_id, name, has_cycles, has_errors, uuid, parent_workflow_id) FROM stdin;
8057 \.
8058
8059
8060 --
8061 -- Data for Name: workflow_invocation; Type: TABLE DATA; Schema: public; Owner: lite
8062 --
8063
8064 COPY public.workflow_invocation (id, create_time, update_time, workflow_id, history_id, state, scheduler, handler, uuid) FROM stdin;
8065 \.
8066
8067
8068 --
8069 -- Data for Name: workflow_invocation_step; Type: TABLE DATA; Schema: public; Owner: lite
8070 --
8071
8072 COPY public.workflow_invocation_step (id, create_time, update_time, workflow_invocation_id, workflow_step_id, job_id, action) FROM stdin;
8073 \.
8074
8075
8076 --
8077 -- Data for Name: workflow_invocation_to_subworkflow_invocation_association; Type: TABLE DATA; Schema: public; Owner: lite
8078 --
8079
8080 COPY public.workflow_invocation_to_subworkflow_invocation_association (id, workflow_invocation_id, subworkflow_invocation_id, workflow_step_id) FROM stdin;
8081 \.
8082
8083
8084 --
8085 -- Data for Name: workflow_output; Type: TABLE DATA; Schema: public; Owner: lite
8086 --
8087
8088 COPY public.workflow_output (id, workflow_step_id, output_name, label, uuid) FROM stdin;
8089 \.
8090
8091
8092 --
8093 -- Data for Name: workflow_request_input_parameters; Type: TABLE DATA; Schema: public; Owner: lite
8094 --
8095
8096 COPY public.workflow_request_input_parameters (id, workflow_invocation_id, name, type, value) FROM stdin;
8097 \.
8098
8099
8100 --
8101 -- Data for Name: workflow_request_input_step_parameter; Type: TABLE DATA; Schema: public; Owner: lite
8102 --
8103
8104 COPY public.workflow_request_input_step_parameter (id, workflow_invocation_id, workflow_step_id, parameter_value) FROM stdin;
8105 \.
8106
8107
8108 --
8109 -- Data for Name: workflow_request_step_states; Type: TABLE DATA; Schema: public; Owner: lite
8110 --
8111
8112 COPY public.workflow_request_step_states (id, workflow_invocation_id, workflow_step_id, value) FROM stdin;
8113 \.
8114
8115
8116 --
8117 -- Data for Name: workflow_request_to_input_collection_dataset; Type: TABLE DATA; Schema: public; Owner: lite
8118 --
8119
8120 COPY public.workflow_request_to_input_collection_dataset (id, name, workflow_invocation_id, workflow_step_id, dataset_collection_id) FROM stdin;
8121 \.
8122
8123
8124 --
8125 -- Data for Name: workflow_request_to_input_dataset; Type: TABLE DATA; Schema: public; Owner: lite
8126 --
8127
8128 COPY public.workflow_request_to_input_dataset (id, name, workflow_invocation_id, workflow_step_id, dataset_id) FROM stdin;
8129 \.
8130
8131
8132 --
8133 -- Data for Name: workflow_step; Type: TABLE DATA; Schema: public; Owner: lite
8134 --
8135
8136 COPY public.workflow_step (id, create_time, update_time, workflow_id, type, tool_id, tool_version, tool_inputs, tool_errors, "position", config, order_index, label, uuid, subworkflow_id) FROM stdin;
8137 \.
8138
8139
8140 --
8141 -- Data for Name: workflow_step_annotation_association; Type: TABLE DATA; Schema: public; Owner: lite
8142 --
8143
8144 COPY public.workflow_step_annotation_association (id, workflow_step_id, user_id, annotation) FROM stdin;
8145 \.
8146
8147
8148 --
8149 -- Data for Name: workflow_step_connection; Type: TABLE DATA; Schema: public; Owner: lite
8150 --
8151
8152 COPY public.workflow_step_connection (id, output_step_id, input_step_id, output_name, input_name, input_subworkflow_step_id) FROM stdin;
8153 \.
8154
8155
8156 --
8157 -- Data for Name: workflow_step_tag_association; Type: TABLE DATA; Schema: public; Owner: lite
8158 --
8159
8160 COPY public.workflow_step_tag_association (id, workflow_step_id, tag_id, user_id, user_tname, value, user_value) FROM stdin;
8161 \.
8162
8163
8164 --
8165 -- Data for Name: workflow_tag_association; Type: TABLE DATA; Schema: public; Owner: lite
8166 --
8167
8168 COPY public.workflow_tag_association (id, workflow_id, tag_id, user_id, user_tname, value, user_value) FROM stdin;
8169 \.
8170
8171
8172 --
8173 -- Name: api_keys_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8174 --
8175
8176 SELECT pg_catalog.setval('public.api_keys_id_seq', 1, false);
8177
8178
8179 --
8180 -- Name: cleanup_event_dataset_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8181 --
8182
8183 SELECT pg_catalog.setval('public.cleanup_event_dataset_association_id_seq', 1, false);
8184
8185
8186 --
8187 -- Name: cleanup_event_hda_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8188 --
8189
8190 SELECT pg_catalog.setval('public.cleanup_event_hda_association_id_seq', 1, false);
8191
8192
8193 --
8194 -- Name: cleanup_event_history_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8195 --
8196
8197 SELECT pg_catalog.setval('public.cleanup_event_history_association_id_seq', 1, false);
8198
8199
8200 --
8201 -- Name: cleanup_event_icda_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8202 --
8203
8204 SELECT pg_catalog.setval('public.cleanup_event_icda_association_id_seq', 1, false);
8205
8206
8207 --
8208 -- Name: cleanup_event_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8209 --
8210
8211 SELECT pg_catalog.setval('public.cleanup_event_id_seq', 1, false);
8212
8213
8214 --
8215 -- Name: cleanup_event_ldda_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8216 --
8217
8218 SELECT pg_catalog.setval('public.cleanup_event_ldda_association_id_seq', 1, false);
8219
8220
8221 --
8222 -- Name: cleanup_event_library_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8223 --
8224
8225 SELECT pg_catalog.setval('public.cleanup_event_library_association_id_seq', 1, false);
8226
8227
8228 --
8229 -- Name: cleanup_event_library_dataset_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8230 --
8231
8232 SELECT pg_catalog.setval('public.cleanup_event_library_dataset_association_id_seq', 1, false);
8233
8234
8235 --
8236 -- Name: cleanup_event_library_folder_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8237 --
8238
8239 SELECT pg_catalog.setval('public.cleanup_event_library_folder_association_id_seq', 1, false);
8240
8241
8242 --
8243 -- Name: cleanup_event_metadata_file_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8244 --
8245
8246 SELECT pg_catalog.setval('public.cleanup_event_metadata_file_association_id_seq', 1, false);
8247
8248
8249 --
8250 -- Name: data_manager_history_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8251 --
8252
8253 SELECT pg_catalog.setval('public.data_manager_history_association_id_seq', 1, false);
8254
8255
8256 --
8257 -- Name: data_manager_job_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8258 --
8259
8260 SELECT pg_catalog.setval('public.data_manager_job_association_id_seq', 1, false);
8261
8262
8263 --
8264 -- Name: dataset_collection_element_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8265 --
8266
8267 SELECT pg_catalog.setval('public.dataset_collection_element_id_seq', 1, false);
8268
8269
8270 --
8271 -- Name: dataset_collection_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8272 --
8273
8274 SELECT pg_catalog.setval('public.dataset_collection_id_seq', 1, false);
8275
8276
8277 --
8278 -- Name: dataset_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8279 --
8280
8281 SELECT pg_catalog.setval('public.dataset_id_seq', 1, false);
8282
8283
8284 --
8285 -- Name: dataset_permissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8286 --
8287
8288 SELECT pg_catalog.setval('public.dataset_permissions_id_seq', 1, false);
8289
8290
8291 --
8292 -- Name: dataset_tag_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8293 --
8294
8295 SELECT pg_catalog.setval('public.dataset_tag_association_id_seq', 1, false);
8296
8297
8298 --
8299 -- Name: default_history_permissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8300 --
8301
8302 SELECT pg_catalog.setval('public.default_history_permissions_id_seq', 1, false);
8303
8304
8305 --
8306 -- Name: default_quota_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8307 --
8308
8309 SELECT pg_catalog.setval('public.default_quota_association_id_seq', 1, false);
8310
8311
8312 --
8313 -- Name: default_user_permissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8314 --
8315
8316 SELECT pg_catalog.setval('public.default_user_permissions_id_seq', 1, false);
8317
8318
8319 --
8320 -- Name: deferred_job_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8321 --
8322
8323 SELECT pg_catalog.setval('public.deferred_job_id_seq', 1, false);
8324
8325
8326 --
8327 -- Name: event_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8328 --
8329
8330 SELECT pg_catalog.setval('public.event_id_seq', 1, false);
8331
8332
8333 --
8334 -- Name: extended_metadata_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8335 --
8336
8337 SELECT pg_catalog.setval('public.extended_metadata_id_seq', 1, false);
8338
8339
8340 --
8341 -- Name: extended_metadata_index_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8342 --
8343
8344 SELECT pg_catalog.setval('public.extended_metadata_index_id_seq', 1, false);
8345
8346
8347 --
8348 -- Name: external_service_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8349 --
8350
8351 SELECT pg_catalog.setval('public.external_service_id_seq', 1, false);
8352
8353
8354 --
8355 -- Name: form_definition_current_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8356 --
8357
8358 SELECT pg_catalog.setval('public.form_definition_current_id_seq', 1, false);
8359
8360
8361 --
8362 -- Name: form_definition_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8363 --
8364
8365 SELECT pg_catalog.setval('public.form_definition_id_seq', 1, false);
8366
8367
8368 --
8369 -- Name: form_values_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8370 --
8371
8372 SELECT pg_catalog.setval('public.form_values_id_seq', 1, false);
8373
8374
8375 --
8376 -- Name: galaxy_group_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8377 --
8378
8379 SELECT pg_catalog.setval('public.galaxy_group_id_seq', 1, false);
8380
8381
8382 --
8383 -- Name: galaxy_session_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8384 --
8385
8386 SELECT pg_catalog.setval('public.galaxy_session_id_seq', 1, false);
8387
8388
8389 --
8390 -- Name: galaxy_session_to_history_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8391 --
8392
8393 SELECT pg_catalog.setval('public.galaxy_session_to_history_id_seq', 1, false);
8394
8395
8396 --
8397 -- Name: galaxy_user_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8398 --
8399
8400 SELECT pg_catalog.setval('public.galaxy_user_id_seq', 1, false);
8401
8402
8403 --
8404 -- Name: galaxy_user_openid_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8405 --
8406
8407 SELECT pg_catalog.setval('public.galaxy_user_openid_id_seq', 1, false);
8408
8409
8410 --
8411 -- Name: genome_index_tool_data_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8412 --
8413
8414 SELECT pg_catalog.setval('public.genome_index_tool_data_id_seq', 1, false);
8415
8416
8417 --
8418 -- Name: group_quota_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8419 --
8420
8421 SELECT pg_catalog.setval('public.group_quota_association_id_seq', 1, false);
8422
8423
8424 --
8425 -- Name: group_role_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8426 --
8427
8428 SELECT pg_catalog.setval('public.group_role_association_id_seq', 1, false);
8429
8430
8431 --
8432 -- Name: history_annotation_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8433 --
8434
8435 SELECT pg_catalog.setval('public.history_annotation_association_id_seq', 1, false);
8436
8437
8438 --
8439 -- Name: history_dataset_association_annotation_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8440 --
8441
8442 SELECT pg_catalog.setval('public.history_dataset_association_annotation_association_id_seq', 1, false);
8443
8444
8445 --
8446 -- Name: history_dataset_association_display_at_authorization_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8447 --
8448
8449 SELECT pg_catalog.setval('public.history_dataset_association_display_at_authorization_id_seq', 1, false);
8450
8451
8452 --
8453 -- Name: history_dataset_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8454 --
8455
8456 SELECT pg_catalog.setval('public.history_dataset_association_id_seq', 1, false);
8457
8458
8459 --
8460 -- Name: history_dataset_association_rating_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8461 --
8462
8463 SELECT pg_catalog.setval('public.history_dataset_association_rating_association_id_seq', 1, false);
8464
8465
8466 --
8467 -- Name: history_dataset_association_subset_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8468 --
8469
8470 SELECT pg_catalog.setval('public.history_dataset_association_subset_id_seq', 1, false);
8471
8472
8473 --
8474 -- Name: history_dataset_association_tag_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8475 --
8476
8477 SELECT pg_catalog.setval('public.history_dataset_association_tag_association_id_seq', 1, false);
8478
8479
8480 --
8481 -- Name: history_dataset_collection_annotation_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8482 --
8483
8484 SELECT pg_catalog.setval('public.history_dataset_collection_annotation_association_id_seq', 1, false);
8485
8486
8487 --
8488 -- Name: history_dataset_collection_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8489 --
8490
8491 SELECT pg_catalog.setval('public.history_dataset_collection_association_id_seq', 1, false);
8492
8493
8494 --
8495 -- Name: history_dataset_collection_rating_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8496 --
8497
8498 SELECT pg_catalog.setval('public.history_dataset_collection_rating_association_id_seq', 1, false);
8499
8500
8501 --
8502 -- Name: history_dataset_collection_tag_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8503 --
8504
8505 SELECT pg_catalog.setval('public.history_dataset_collection_tag_association_id_seq', 1, false);
8506
8507
8508 --
8509 -- Name: history_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8510 --
8511
8512 SELECT pg_catalog.setval('public.history_id_seq', 1, false);
8513
8514
8515 --
8516 -- Name: history_rating_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8517 --
8518
8519 SELECT pg_catalog.setval('public.history_rating_association_id_seq', 1, false);
8520
8521
8522 --
8523 -- Name: history_tag_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8524 --
8525
8526 SELECT pg_catalog.setval('public.history_tag_association_id_seq', 1, false);
8527
8528
8529 --
8530 -- Name: history_user_share_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8531 --
8532
8533 SELECT pg_catalog.setval('public.history_user_share_association_id_seq', 1, false);
8534
8535
8536 --
8537 -- Name: implicitly_converted_dataset_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8538 --
8539
8540 SELECT pg_catalog.setval('public.implicitly_converted_dataset_association_id_seq', 1, false);
8541
8542
8543 --
8544 -- Name: implicitly_created_dataset_collection_inputs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8545 --
8546
8547 SELECT pg_catalog.setval('public.implicitly_created_dataset_collection_inputs_id_seq', 1, false);
8548
8549
8550 --
8551 -- Name: job_export_history_archive_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8552 --
8553
8554 SELECT pg_catalog.setval('public.job_export_history_archive_id_seq', 1, false);
8555
8556
8557 --
8558 -- Name: job_external_output_metadata_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8559 --
8560
8561 SELECT pg_catalog.setval('public.job_external_output_metadata_id_seq', 1, false);
8562
8563
8564 --
8565 -- Name: job_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8566 --
8567
8568 SELECT pg_catalog.setval('public.job_id_seq', 1, false);
8569
8570
8571 --
8572 -- Name: job_import_history_archive_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8573 --
8574
8575 SELECT pg_catalog.setval('public.job_import_history_archive_id_seq', 1, false);
8576
8577
8578 --
8579 -- Name: job_metric_numeric_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8580 --
8581
8582 SELECT pg_catalog.setval('public.job_metric_numeric_id_seq', 1, false);
8583
8584
8585 --
8586 -- Name: job_metric_text_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8587 --
8588
8589 SELECT pg_catalog.setval('public.job_metric_text_id_seq', 1, false);
8590
8591
8592 --
8593 -- Name: job_parameter_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8594 --
8595
8596 SELECT pg_catalog.setval('public.job_parameter_id_seq', 1, false);
8597
8598
8599 --
8600 -- Name: job_state_history_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8601 --
8602
8603 SELECT pg_catalog.setval('public.job_state_history_id_seq', 1, false);
8604
8605
8606 --
8607 -- Name: job_to_implicit_output_dataset_collection_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8608 --
8609
8610 SELECT pg_catalog.setval('public.job_to_implicit_output_dataset_collection_id_seq', 1, false);
8611
8612
8613 --
8614 -- Name: job_to_input_dataset_collection_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8615 --
8616
8617 SELECT pg_catalog.setval('public.job_to_input_dataset_collection_id_seq', 1, false);
8618
8619
8620 --
8621 -- Name: job_to_input_dataset_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8622 --
8623
8624 SELECT pg_catalog.setval('public.job_to_input_dataset_id_seq', 1, false);
8625
8626
8627 --
8628 -- Name: job_to_input_library_dataset_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8629 --
8630
8631 SELECT pg_catalog.setval('public.job_to_input_library_dataset_id_seq', 1, false);
8632
8633
8634 --
8635 -- Name: job_to_output_dataset_collection_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8636 --
8637
8638 SELECT pg_catalog.setval('public.job_to_output_dataset_collection_id_seq', 1, false);
8639
8640
8641 --
8642 -- Name: job_to_output_dataset_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8643 --
8644
8645 SELECT pg_catalog.setval('public.job_to_output_dataset_id_seq', 1, false);
8646
8647
8648 --
8649 -- Name: job_to_output_library_dataset_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8650 --
8651
8652 SELECT pg_catalog.setval('public.job_to_output_library_dataset_id_seq', 1, false);
8653
8654
8655 --
8656 -- Name: library_dataset_collection_annotation_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8657 --
8658
8659 SELECT pg_catalog.setval('public.library_dataset_collection_annotation_association_id_seq', 1, false);
8660
8661
8662 --
8663 -- Name: library_dataset_collection_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8664 --
8665
8666 SELECT pg_catalog.setval('public.library_dataset_collection_association_id_seq', 1, false);
8667
8668
8669 --
8670 -- Name: library_dataset_collection_rating_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8671 --
8672
8673 SELECT pg_catalog.setval('public.library_dataset_collection_rating_association_id_seq', 1, false);
8674
8675
8676 --
8677 -- Name: library_dataset_collection_tag_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8678 --
8679
8680 SELECT pg_catalog.setval('public.library_dataset_collection_tag_association_id_seq', 1, false);
8681
8682
8683 --
8684 -- Name: library_dataset_dataset_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8685 --
8686
8687 SELECT pg_catalog.setval('public.library_dataset_dataset_association_id_seq', 1, false);
8688
8689
8690 --
8691 -- Name: library_dataset_dataset_association_permissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8692 --
8693
8694 SELECT pg_catalog.setval('public.library_dataset_dataset_association_permissions_id_seq', 1, false);
8695
8696
8697 --
8698 -- Name: library_dataset_dataset_association_tag_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8699 --
8700
8701 SELECT pg_catalog.setval('public.library_dataset_dataset_association_tag_association_id_seq', 1, false);
8702
8703
8704 --
8705 -- Name: library_dataset_dataset_info_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8706 --
8707
8708 SELECT pg_catalog.setval('public.library_dataset_dataset_info_association_id_seq', 1, false);
8709
8710
8711 --
8712 -- Name: library_dataset_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8713 --
8714
8715 SELECT pg_catalog.setval('public.library_dataset_id_seq', 1, false);
8716
8717
8718 --
8719 -- Name: library_dataset_permissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8720 --
8721
8722 SELECT pg_catalog.setval('public.library_dataset_permissions_id_seq', 1, false);
8723
8724
8725 --
8726 -- Name: library_folder_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8727 --
8728
8729 SELECT pg_catalog.setval('public.library_folder_id_seq', 1, false);
8730
8731
8732 --
8733 -- Name: library_folder_info_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8734 --
8735
8736 SELECT pg_catalog.setval('public.library_folder_info_association_id_seq', 1, false);
8737
8738
8739 --
8740 -- Name: library_folder_permissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8741 --
8742
8743 SELECT pg_catalog.setval('public.library_folder_permissions_id_seq', 1, false);
8744
8745
8746 --
8747 -- Name: library_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8748 --
8749
8750 SELECT pg_catalog.setval('public.library_id_seq', 1, false);
8751
8752
8753 --
8754 -- Name: library_info_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8755 --
8756
8757 SELECT pg_catalog.setval('public.library_info_association_id_seq', 1, false);
8758
8759
8760 --
8761 -- Name: library_permissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8762 --
8763
8764 SELECT pg_catalog.setval('public.library_permissions_id_seq', 1, false);
8765
8766
8767 --
8768 -- Name: metadata_file_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8769 --
8770
8771 SELECT pg_catalog.setval('public.metadata_file_id_seq', 1, false);
8772
8773
8774 --
8775 -- Name: page_annotation_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8776 --
8777
8778 SELECT pg_catalog.setval('public.page_annotation_association_id_seq', 1, false);
8779
8780
8781 --
8782 -- Name: page_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8783 --
8784
8785 SELECT pg_catalog.setval('public.page_id_seq', 1, false);
8786
8787
8788 --
8789 -- Name: page_rating_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8790 --
8791
8792 SELECT pg_catalog.setval('public.page_rating_association_id_seq', 1, false);
8793
8794
8795 --
8796 -- Name: page_revision_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8797 --
8798
8799 SELECT pg_catalog.setval('public.page_revision_id_seq', 1, false);
8800
8801
8802 --
8803 -- Name: page_tag_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8804 --
8805
8806 SELECT pg_catalog.setval('public.page_tag_association_id_seq', 1, false);
8807
8808
8809 --
8810 -- Name: page_user_share_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8811 --
8812
8813 SELECT pg_catalog.setval('public.page_user_share_association_id_seq', 1, false);
8814
8815
8816 --
8817 -- Name: post_job_action_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8818 --
8819
8820 SELECT pg_catalog.setval('public.post_job_action_association_id_seq', 1, false);
8821
8822
8823 --
8824 -- Name: post_job_action_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8825 --
8826
8827 SELECT pg_catalog.setval('public.post_job_action_id_seq', 1, false);
8828
8829
8830 --
8831 -- Name: quota_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8832 --
8833
8834 SELECT pg_catalog.setval('public.quota_id_seq', 1, false);
8835
8836
8837 --
8838 -- Name: repository_dependency_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8839 --
8840
8841 SELECT pg_catalog.setval('public.repository_dependency_id_seq', 1, false);
8842
8843
8844 --
8845 -- Name: repository_repository_dependency_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8846 --
8847
8848 SELECT pg_catalog.setval('public.repository_repository_dependency_association_id_seq', 1, false);
8849
8850
8851 --
8852 -- Name: request_event_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8853 --
8854
8855 SELECT pg_catalog.setval('public.request_event_id_seq', 1, false);
8856
8857
8858 --
8859 -- Name: request_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8860 --
8861
8862 SELECT pg_catalog.setval('public.request_id_seq', 1, false);
8863
8864
8865 --
8866 -- Name: request_type_external_service_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8867 --
8868
8869 SELECT pg_catalog.setval('public.request_type_external_service_association_id_seq', 1, false);
8870
8871
8872 --
8873 -- Name: request_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8874 --
8875
8876 SELECT pg_catalog.setval('public.request_type_id_seq', 1, false);
8877
8878
8879 --
8880 -- Name: request_type_permissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8881 --
8882
8883 SELECT pg_catalog.setval('public.request_type_permissions_id_seq', 1, false);
8884
8885
8886 --
8887 -- Name: request_type_run_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8888 --
8889
8890 SELECT pg_catalog.setval('public.request_type_run_association_id_seq', 1, false);
8891
8892
8893 --
8894 -- Name: role_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8895 --
8896
8897 SELECT pg_catalog.setval('public.role_id_seq', 1, false);
8898
8899
8900 --
8901 -- Name: run_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8902 --
8903
8904 SELECT pg_catalog.setval('public.run_id_seq', 1, false);
8905
8906
8907 --
8908 -- Name: sample_dataset_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8909 --
8910
8911 SELECT pg_catalog.setval('public.sample_dataset_id_seq', 1, false);
8912
8913
8914 --
8915 -- Name: sample_event_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8916 --
8917
8918 SELECT pg_catalog.setval('public.sample_event_id_seq', 1, false);
8919
8920
8921 --
8922 -- Name: sample_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8923 --
8924
8925 SELECT pg_catalog.setval('public.sample_id_seq', 1, false);
8926
8927
8928 --
8929 -- Name: sample_run_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8930 --
8931
8932 SELECT pg_catalog.setval('public.sample_run_association_id_seq', 1, false);
8933
8934
8935 --
8936 -- Name: sample_state_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8937 --
8938
8939 SELECT pg_catalog.setval('public.sample_state_id_seq', 1, false);
8940
8941
8942 --
8943 -- Name: stored_workflow_annotation_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8944 --
8945
8946 SELECT pg_catalog.setval('public.stored_workflow_annotation_association_id_seq', 1, false);
8947
8948
8949 --
8950 -- Name: stored_workflow_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8951 --
8952
8953 SELECT pg_catalog.setval('public.stored_workflow_id_seq', 1, false);
8954
8955
8956 --
8957 -- Name: stored_workflow_menu_entry_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8958 --
8959
8960 SELECT pg_catalog.setval('public.stored_workflow_menu_entry_id_seq', 1, false);
8961
8962
8963 --
8964 -- Name: stored_workflow_rating_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8965 --
8966
8967 SELECT pg_catalog.setval('public.stored_workflow_rating_association_id_seq', 1, false);
8968
8969
8970 --
8971 -- Name: stored_workflow_tag_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8972 --
8973
8974 SELECT pg_catalog.setval('public.stored_workflow_tag_association_id_seq', 1, false);
8975
8976
8977 --
8978 -- Name: stored_workflow_user_share_connection_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8979 --
8980
8981 SELECT pg_catalog.setval('public.stored_workflow_user_share_connection_id_seq', 1, false);
8982
8983
8984 --
8985 -- Name: tag_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8986 --
8987
8988 SELECT pg_catalog.setval('public.tag_id_seq', 1, false);
8989
8990
8991 --
8992 -- Name: task_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
8993 --
8994
8995 SELECT pg_catalog.setval('public.task_id_seq', 1, false);
8996
8997
8998 --
8999 -- Name: task_metric_numeric_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9000 --
9001
9002 SELECT pg_catalog.setval('public.task_metric_numeric_id_seq', 1, false);
9003
9004
9005 --
9006 -- Name: task_metric_text_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9007 --
9008
9009 SELECT pg_catalog.setval('public.task_metric_text_id_seq', 1, false);
9010
9011
9012 --
9013 -- Name: tool_dependency_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9014 --
9015
9016 SELECT pg_catalog.setval('public.tool_dependency_id_seq', 1, false);
9017
9018
9019 --
9020 -- Name: tool_shed_repository_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9021 --
9022
9023 SELECT pg_catalog.setval('public.tool_shed_repository_id_seq', 1, false);
9024
9025
9026 --
9027 -- Name: tool_tag_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9028 --
9029
9030 SELECT pg_catalog.setval('public.tool_tag_association_id_seq', 1, false);
9031
9032
9033 --
9034 -- Name: tool_version_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9035 --
9036
9037 SELECT pg_catalog.setval('public.tool_version_association_id_seq', 1, false);
9038
9039
9040 --
9041 -- Name: tool_version_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9042 --
9043
9044 SELECT pg_catalog.setval('public.tool_version_id_seq', 1, false);
9045
9046
9047 --
9048 -- Name: transfer_job_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9049 --
9050
9051 SELECT pg_catalog.setval('public.transfer_job_id_seq', 1, false);
9052
9053
9054 --
9055 -- Name: user_action_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9056 --
9057
9058 SELECT pg_catalog.setval('public.user_action_id_seq', 1, false);
9059
9060
9061 --
9062 -- Name: user_address_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9063 --
9064
9065 SELECT pg_catalog.setval('public.user_address_id_seq', 1, false);
9066
9067
9068 --
9069 -- Name: user_group_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9070 --
9071
9072 SELECT pg_catalog.setval('public.user_group_association_id_seq', 1, false);
9073
9074
9075 --
9076 -- Name: user_preference_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9077 --
9078
9079 SELECT pg_catalog.setval('public.user_preference_id_seq', 1, false);
9080
9081
9082 --
9083 -- Name: user_quota_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9084 --
9085
9086 SELECT pg_catalog.setval('public.user_quota_association_id_seq', 1, false);
9087
9088
9089 --
9090 -- Name: user_role_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9091 --
9092
9093 SELECT pg_catalog.setval('public.user_role_association_id_seq', 1, false);
9094
9095
9096 --
9097 -- Name: validation_error_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9098 --
9099
9100 SELECT pg_catalog.setval('public.validation_error_id_seq', 1, false);
9101
9102
9103 --
9104 -- Name: visualization_annotation_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9105 --
9106
9107 SELECT pg_catalog.setval('public.visualization_annotation_association_id_seq', 1, false);
9108
9109
9110 --
9111 -- Name: visualization_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9112 --
9113
9114 SELECT pg_catalog.setval('public.visualization_id_seq', 1, false);
9115
9116
9117 --
9118 -- Name: visualization_rating_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9119 --
9120
9121 SELECT pg_catalog.setval('public.visualization_rating_association_id_seq', 1, false);
9122
9123
9124 --
9125 -- Name: visualization_revision_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9126 --
9127
9128 SELECT pg_catalog.setval('public.visualization_revision_id_seq', 1, false);
9129
9130
9131 --
9132 -- Name: visualization_tag_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9133 --
9134
9135 SELECT pg_catalog.setval('public.visualization_tag_association_id_seq', 1, false);
9136
9137
9138 --
9139 -- Name: visualization_user_share_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9140 --
9141
9142 SELECT pg_catalog.setval('public.visualization_user_share_association_id_seq', 1, false);
9143
9144
9145 --
9146 -- Name: workflow_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9147 --
9148
9149 SELECT pg_catalog.setval('public.workflow_id_seq', 1, false);
9150
9151
9152 --
9153 -- Name: workflow_invocation_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9154 --
9155
9156 SELECT pg_catalog.setval('public.workflow_invocation_id_seq', 1, false);
9157
9158
9159 --
9160 -- Name: workflow_invocation_step_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9161 --
9162
9163 SELECT pg_catalog.setval('public.workflow_invocation_step_id_seq', 1, false);
9164
9165
9166 --
9167 -- Name: workflow_invocation_to_subworkflow_invocation_associatio_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9168 --
9169
9170 SELECT pg_catalog.setval('public.workflow_invocation_to_subworkflow_invocation_associatio_id_seq', 1, false);
9171
9172
9173 --
9174 -- Name: workflow_output_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9175 --
9176
9177 SELECT pg_catalog.setval('public.workflow_output_id_seq', 1, false);
9178
9179
9180 --
9181 -- Name: workflow_request_input_parameters_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9182 --
9183
9184 SELECT pg_catalog.setval('public.workflow_request_input_parameters_id_seq', 1, false);
9185
9186
9187 --
9188 -- Name: workflow_request_input_step_parameter_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9189 --
9190
9191 SELECT pg_catalog.setval('public.workflow_request_input_step_parameter_id_seq', 1, false);
9192
9193
9194 --
9195 -- Name: workflow_request_step_states_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9196 --
9197
9198 SELECT pg_catalog.setval('public.workflow_request_step_states_id_seq', 1, false);
9199
9200
9201 --
9202 -- Name: workflow_request_to_input_collection_dataset_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9203 --
9204
9205 SELECT pg_catalog.setval('public.workflow_request_to_input_collection_dataset_id_seq', 1, false);
9206
9207
9208 --
9209 -- Name: workflow_request_to_input_dataset_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9210 --
9211
9212 SELECT pg_catalog.setval('public.workflow_request_to_input_dataset_id_seq', 1, false);
9213
9214
9215 --
9216 -- Name: workflow_step_annotation_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9217 --
9218
9219 SELECT pg_catalog.setval('public.workflow_step_annotation_association_id_seq', 1, false);
9220
9221
9222 --
9223 -- Name: workflow_step_connection_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9224 --
9225
9226 SELECT pg_catalog.setval('public.workflow_step_connection_id_seq', 1, false);
9227
9228
9229 --
9230 -- Name: workflow_step_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9231 --
9232
9233 SELECT pg_catalog.setval('public.workflow_step_id_seq', 1, false);
9234
9235
9236 --
9237 -- Name: workflow_step_tag_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9238 --
9239
9240 SELECT pg_catalog.setval('public.workflow_step_tag_association_id_seq', 1, false);
9241
9242
9243 --
9244 -- Name: workflow_tag_association_id_seq; Type: SEQUENCE SET; Schema: public; Owner: lite
9245 --
9246
9247 SELECT pg_catalog.setval('public.workflow_tag_association_id_seq', 1, false);
9248
9249
9250 --
9251 -- Name: api_keys api_keys_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9252 --
9253
9254 ALTER TABLE ONLY public.api_keys
9255 ADD CONSTRAINT api_keys_pkey PRIMARY KEY (id);
9256
9257
9258 --
9259 -- Name: cleanup_event_dataset_association cleanup_event_dataset_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9260 --
9261
9262 ALTER TABLE ONLY public.cleanup_event_dataset_association
9263 ADD CONSTRAINT cleanup_event_dataset_association_pkey PRIMARY KEY (id);
9264
9265
9266 --
9267 -- Name: cleanup_event_hda_association cleanup_event_hda_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9268 --
9269
9270 ALTER TABLE ONLY public.cleanup_event_hda_association
9271 ADD CONSTRAINT cleanup_event_hda_association_pkey PRIMARY KEY (id);
9272
9273
9274 --
9275 -- Name: cleanup_event_history_association cleanup_event_history_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9276 --
9277
9278 ALTER TABLE ONLY public.cleanup_event_history_association
9279 ADD CONSTRAINT cleanup_event_history_association_pkey PRIMARY KEY (id);
9280
9281
9282 --
9283 -- Name: cleanup_event_icda_association cleanup_event_icda_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9284 --
9285
9286 ALTER TABLE ONLY public.cleanup_event_icda_association
9287 ADD CONSTRAINT cleanup_event_icda_association_pkey PRIMARY KEY (id);
9288
9289
9290 --
9291 -- Name: cleanup_event_ldda_association cleanup_event_ldda_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9292 --
9293
9294 ALTER TABLE ONLY public.cleanup_event_ldda_association
9295 ADD CONSTRAINT cleanup_event_ldda_association_pkey PRIMARY KEY (id);
9296
9297
9298 --
9299 -- Name: cleanup_event_library_association cleanup_event_library_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9300 --
9301
9302 ALTER TABLE ONLY public.cleanup_event_library_association
9303 ADD CONSTRAINT cleanup_event_library_association_pkey PRIMARY KEY (id);
9304
9305
9306 --
9307 -- Name: cleanup_event_library_dataset_association cleanup_event_library_dataset_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9308 --
9309
9310 ALTER TABLE ONLY public.cleanup_event_library_dataset_association
9311 ADD CONSTRAINT cleanup_event_library_dataset_association_pkey PRIMARY KEY (id);
9312
9313
9314 --
9315 -- Name: cleanup_event_library_folder_association cleanup_event_library_folder_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9316 --
9317
9318 ALTER TABLE ONLY public.cleanup_event_library_folder_association
9319 ADD CONSTRAINT cleanup_event_library_folder_association_pkey PRIMARY KEY (id);
9320
9321
9322 --
9323 -- Name: cleanup_event_metadata_file_association cleanup_event_metadata_file_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9324 --
9325
9326 ALTER TABLE ONLY public.cleanup_event_metadata_file_association
9327 ADD CONSTRAINT cleanup_event_metadata_file_association_pkey PRIMARY KEY (id);
9328
9329
9330 --
9331 -- Name: cleanup_event cleanup_event_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9332 --
9333
9334 ALTER TABLE ONLY public.cleanup_event
9335 ADD CONSTRAINT cleanup_event_pkey PRIMARY KEY (id);
9336
9337
9338 --
9339 -- Name: data_manager_history_association data_manager_history_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9340 --
9341
9342 ALTER TABLE ONLY public.data_manager_history_association
9343 ADD CONSTRAINT data_manager_history_association_pkey PRIMARY KEY (id);
9344
9345
9346 --
9347 -- Name: data_manager_job_association data_manager_job_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9348 --
9349
9350 ALTER TABLE ONLY public.data_manager_job_association
9351 ADD CONSTRAINT data_manager_job_association_pkey PRIMARY KEY (id);
9352
9353
9354 --
9355 -- Name: dataset_collection_element dataset_collection_element_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9356 --
9357
9358 ALTER TABLE ONLY public.dataset_collection_element
9359 ADD CONSTRAINT dataset_collection_element_pkey PRIMARY KEY (id);
9360
9361
9362 --
9363 -- Name: dataset_collection dataset_collection_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9364 --
9365
9366 ALTER TABLE ONLY public.dataset_collection
9367 ADD CONSTRAINT dataset_collection_pkey PRIMARY KEY (id);
9368
9369
9370 --
9371 -- Name: dataset_permissions dataset_permissions_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9372 --
9373
9374 ALTER TABLE ONLY public.dataset_permissions
9375 ADD CONSTRAINT dataset_permissions_pkey PRIMARY KEY (id);
9376
9377
9378 --
9379 -- Name: dataset dataset_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9380 --
9381
9382 ALTER TABLE ONLY public.dataset
9383 ADD CONSTRAINT dataset_pkey PRIMARY KEY (id);
9384
9385
9386 --
9387 -- Name: dataset_tag_association dataset_tag_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9388 --
9389
9390 ALTER TABLE ONLY public.dataset_tag_association
9391 ADD CONSTRAINT dataset_tag_association_pkey PRIMARY KEY (id);
9392
9393
9394 --
9395 -- Name: default_history_permissions default_history_permissions_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9396 --
9397
9398 ALTER TABLE ONLY public.default_history_permissions
9399 ADD CONSTRAINT default_history_permissions_pkey PRIMARY KEY (id);
9400
9401
9402 --
9403 -- Name: default_quota_association default_quota_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9404 --
9405
9406 ALTER TABLE ONLY public.default_quota_association
9407 ADD CONSTRAINT default_quota_association_pkey PRIMARY KEY (id);
9408
9409
9410 --
9411 -- Name: default_user_permissions default_user_permissions_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9412 --
9413
9414 ALTER TABLE ONLY public.default_user_permissions
9415 ADD CONSTRAINT default_user_permissions_pkey PRIMARY KEY (id);
9416
9417
9418 --
9419 -- Name: deferred_job deferred_job_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9420 --
9421
9422 ALTER TABLE ONLY public.deferred_job
9423 ADD CONSTRAINT deferred_job_pkey PRIMARY KEY (id);
9424
9425
9426 --
9427 -- Name: event event_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9428 --
9429
9430 ALTER TABLE ONLY public.event
9431 ADD CONSTRAINT event_pkey PRIMARY KEY (id);
9432
9433
9434 --
9435 -- Name: extended_metadata_index extended_metadata_index_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9436 --
9437
9438 ALTER TABLE ONLY public.extended_metadata_index
9439 ADD CONSTRAINT extended_metadata_index_pkey PRIMARY KEY (id);
9440
9441
9442 --
9443 -- Name: extended_metadata extended_metadata_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9444 --
9445
9446 ALTER TABLE ONLY public.extended_metadata
9447 ADD CONSTRAINT extended_metadata_pkey PRIMARY KEY (id);
9448
9449
9450 --
9451 -- Name: form_definition_current form_definition_current_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9452 --
9453
9454 ALTER TABLE ONLY public.form_definition_current
9455 ADD CONSTRAINT form_definition_current_pkey PRIMARY KEY (id);
9456
9457
9458 --
9459 -- Name: form_definition form_definition_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9460 --
9461
9462 ALTER TABLE ONLY public.form_definition
9463 ADD CONSTRAINT form_definition_pkey PRIMARY KEY (id);
9464
9465
9466 --
9467 -- Name: form_values form_values_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9468 --
9469
9470 ALTER TABLE ONLY public.form_values
9471 ADD CONSTRAINT form_values_pkey PRIMARY KEY (id);
9472
9473
9474 --
9475 -- Name: galaxy_group galaxy_group_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9476 --
9477
9478 ALTER TABLE ONLY public.galaxy_group
9479 ADD CONSTRAINT galaxy_group_pkey PRIMARY KEY (id);
9480
9481
9482 --
9483 -- Name: galaxy_session galaxy_session_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9484 --
9485
9486 ALTER TABLE ONLY public.galaxy_session
9487 ADD CONSTRAINT galaxy_session_pkey PRIMARY KEY (id);
9488
9489
9490 --
9491 -- Name: galaxy_session_to_history galaxy_session_to_history_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9492 --
9493
9494 ALTER TABLE ONLY public.galaxy_session_to_history
9495 ADD CONSTRAINT galaxy_session_to_history_pkey PRIMARY KEY (id);
9496
9497
9498 --
9499 -- Name: galaxy_user_openid galaxy_user_openid_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9500 --
9501
9502 ALTER TABLE ONLY public.galaxy_user_openid
9503 ADD CONSTRAINT galaxy_user_openid_pkey PRIMARY KEY (id);
9504
9505
9506 --
9507 -- Name: galaxy_user galaxy_user_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9508 --
9509
9510 ALTER TABLE ONLY public.galaxy_user
9511 ADD CONSTRAINT galaxy_user_pkey PRIMARY KEY (id);
9512
9513
9514 --
9515 -- Name: genome_index_tool_data genome_index_tool_data_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9516 --
9517
9518 ALTER TABLE ONLY public.genome_index_tool_data
9519 ADD CONSTRAINT genome_index_tool_data_pkey PRIMARY KEY (id);
9520
9521
9522 --
9523 -- Name: group_quota_association group_quota_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9524 --
9525
9526 ALTER TABLE ONLY public.group_quota_association
9527 ADD CONSTRAINT group_quota_association_pkey PRIMARY KEY (id);
9528
9529
9530 --
9531 -- Name: group_role_association group_role_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9532 --
9533
9534 ALTER TABLE ONLY public.group_role_association
9535 ADD CONSTRAINT group_role_association_pkey PRIMARY KEY (id);
9536
9537
9538 --
9539 -- Name: history_annotation_association history_annotation_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9540 --
9541
9542 ALTER TABLE ONLY public.history_annotation_association
9543 ADD CONSTRAINT history_annotation_association_pkey PRIMARY KEY (id);
9544
9545
9546 --
9547 -- Name: history_dataset_association_annotation_association history_dataset_association_annotation_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9548 --
9549
9550 ALTER TABLE ONLY public.history_dataset_association_annotation_association
9551 ADD CONSTRAINT history_dataset_association_annotation_association_pkey PRIMARY KEY (id);
9552
9553
9554 --
9555 -- Name: history_dataset_association_display_at_authorization history_dataset_association_display_at_authorization_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9556 --
9557
9558 ALTER TABLE ONLY public.history_dataset_association_display_at_authorization
9559 ADD CONSTRAINT history_dataset_association_display_at_authorization_pkey PRIMARY KEY (id);
9560
9561
9562 --
9563 -- Name: history_dataset_association history_dataset_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9564 --
9565
9566 ALTER TABLE ONLY public.history_dataset_association
9567 ADD CONSTRAINT history_dataset_association_pkey PRIMARY KEY (id);
9568
9569
9570 --
9571 -- Name: history_dataset_association_rating_association history_dataset_association_rating_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9572 --
9573
9574 ALTER TABLE ONLY public.history_dataset_association_rating_association
9575 ADD CONSTRAINT history_dataset_association_rating_association_pkey PRIMARY KEY (id);
9576
9577
9578 --
9579 -- Name: history_dataset_association_subset history_dataset_association_subset_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9580 --
9581
9582 ALTER TABLE ONLY public.history_dataset_association_subset
9583 ADD CONSTRAINT history_dataset_association_subset_pkey PRIMARY KEY (id);
9584
9585
9586 --
9587 -- Name: history_dataset_association_tag_association history_dataset_association_tag_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9588 --
9589
9590 ALTER TABLE ONLY public.history_dataset_association_tag_association
9591 ADD CONSTRAINT history_dataset_association_tag_association_pkey PRIMARY KEY (id);
9592
9593
9594 --
9595 -- Name: history_dataset_collection_annotation_association history_dataset_collection_annotation_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9596 --
9597
9598 ALTER TABLE ONLY public.history_dataset_collection_annotation_association
9599 ADD CONSTRAINT history_dataset_collection_annotation_association_pkey PRIMARY KEY (id);
9600
9601
9602 --
9603 -- Name: history_dataset_collection_association history_dataset_collection_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9604 --
9605
9606 ALTER TABLE ONLY public.history_dataset_collection_association
9607 ADD CONSTRAINT history_dataset_collection_association_pkey PRIMARY KEY (id);
9608
9609
9610 --
9611 -- Name: history_dataset_collection_rating_association history_dataset_collection_rating_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9612 --
9613
9614 ALTER TABLE ONLY public.history_dataset_collection_rating_association
9615 ADD CONSTRAINT history_dataset_collection_rating_association_pkey PRIMARY KEY (id);
9616
9617
9618 --
9619 -- Name: history_dataset_collection_tag_association history_dataset_collection_tag_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9620 --
9621
9622 ALTER TABLE ONLY public.history_dataset_collection_tag_association
9623 ADD CONSTRAINT history_dataset_collection_tag_association_pkey PRIMARY KEY (id);
9624
9625
9626 --
9627 -- Name: history history_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9628 --
9629
9630 ALTER TABLE ONLY public.history
9631 ADD CONSTRAINT history_pkey PRIMARY KEY (id);
9632
9633
9634 --
9635 -- Name: history_rating_association history_rating_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9636 --
9637
9638 ALTER TABLE ONLY public.history_rating_association
9639 ADD CONSTRAINT history_rating_association_pkey PRIMARY KEY (id);
9640
9641
9642 --
9643 -- Name: history_tag_association history_tag_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9644 --
9645
9646 ALTER TABLE ONLY public.history_tag_association
9647 ADD CONSTRAINT history_tag_association_pkey PRIMARY KEY (id);
9648
9649
9650 --
9651 -- Name: history_user_share_association history_user_share_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9652 --
9653
9654 ALTER TABLE ONLY public.history_user_share_association
9655 ADD CONSTRAINT history_user_share_association_pkey PRIMARY KEY (id);
9656
9657
9658 --
9659 -- Name: implicitly_converted_dataset_association implicitly_converted_dataset_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9660 --
9661
9662 ALTER TABLE ONLY public.implicitly_converted_dataset_association
9663 ADD CONSTRAINT implicitly_converted_dataset_association_pkey PRIMARY KEY (id);
9664
9665
9666 --
9667 -- Name: implicitly_created_dataset_collection_inputs implicitly_created_dataset_collection_inputs_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9668 --
9669
9670 ALTER TABLE ONLY public.implicitly_created_dataset_collection_inputs
9671 ADD CONSTRAINT implicitly_created_dataset_collection_inputs_pkey PRIMARY KEY (id);
9672
9673
9674 --
9675 -- Name: job_export_history_archive job_export_history_archive_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9676 --
9677
9678 ALTER TABLE ONLY public.job_export_history_archive
9679 ADD CONSTRAINT job_export_history_archive_pkey PRIMARY KEY (id);
9680
9681
9682 --
9683 -- Name: job_external_output_metadata job_external_output_metadata_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9684 --
9685
9686 ALTER TABLE ONLY public.job_external_output_metadata
9687 ADD CONSTRAINT job_external_output_metadata_pkey PRIMARY KEY (id);
9688
9689
9690 --
9691 -- Name: job_import_history_archive job_import_history_archive_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9692 --
9693
9694 ALTER TABLE ONLY public.job_import_history_archive
9695 ADD CONSTRAINT job_import_history_archive_pkey PRIMARY KEY (id);
9696
9697
9698 --
9699 -- Name: job_metric_numeric job_metric_numeric_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9700 --
9701
9702 ALTER TABLE ONLY public.job_metric_numeric
9703 ADD CONSTRAINT job_metric_numeric_pkey PRIMARY KEY (id);
9704
9705
9706 --
9707 -- Name: job_metric_text job_metric_text_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9708 --
9709
9710 ALTER TABLE ONLY public.job_metric_text
9711 ADD CONSTRAINT job_metric_text_pkey PRIMARY KEY (id);
9712
9713
9714 --
9715 -- Name: job_parameter job_parameter_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9716 --
9717
9718 ALTER TABLE ONLY public.job_parameter
9719 ADD CONSTRAINT job_parameter_pkey PRIMARY KEY (id);
9720
9721
9722 --
9723 -- Name: job job_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9724 --
9725
9726 ALTER TABLE ONLY public.job
9727 ADD CONSTRAINT job_pkey PRIMARY KEY (id);
9728
9729
9730 --
9731 -- Name: job_state_history job_state_history_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9732 --
9733
9734 ALTER TABLE ONLY public.job_state_history
9735 ADD CONSTRAINT job_state_history_pkey PRIMARY KEY (id);
9736
9737
9738 --
9739 -- Name: job_to_implicit_output_dataset_collection job_to_implicit_output_dataset_collection_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9740 --
9741
9742 ALTER TABLE ONLY public.job_to_implicit_output_dataset_collection
9743 ADD CONSTRAINT job_to_implicit_output_dataset_collection_pkey PRIMARY KEY (id);
9744
9745
9746 --
9747 -- Name: job_to_input_dataset_collection job_to_input_dataset_collection_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9748 --
9749
9750 ALTER TABLE ONLY public.job_to_input_dataset_collection
9751 ADD CONSTRAINT job_to_input_dataset_collection_pkey PRIMARY KEY (id);
9752
9753
9754 --
9755 -- Name: job_to_input_dataset job_to_input_dataset_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9756 --
9757
9758 ALTER TABLE ONLY public.job_to_input_dataset
9759 ADD CONSTRAINT job_to_input_dataset_pkey PRIMARY KEY (id);
9760
9761
9762 --
9763 -- Name: job_to_input_library_dataset job_to_input_library_dataset_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9764 --
9765
9766 ALTER TABLE ONLY public.job_to_input_library_dataset
9767 ADD CONSTRAINT job_to_input_library_dataset_pkey PRIMARY KEY (id);
9768
9769
9770 --
9771 -- Name: job_to_output_dataset_collection job_to_output_dataset_collection_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9772 --
9773
9774 ALTER TABLE ONLY public.job_to_output_dataset_collection
9775 ADD CONSTRAINT job_to_output_dataset_collection_pkey PRIMARY KEY (id);
9776
9777
9778 --
9779 -- Name: job_to_output_dataset job_to_output_dataset_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9780 --
9781
9782 ALTER TABLE ONLY public.job_to_output_dataset
9783 ADD CONSTRAINT job_to_output_dataset_pkey PRIMARY KEY (id);
9784
9785
9786 --
9787 -- Name: job_to_output_library_dataset job_to_output_library_dataset_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9788 --
9789
9790 ALTER TABLE ONLY public.job_to_output_library_dataset
9791 ADD CONSTRAINT job_to_output_library_dataset_pkey PRIMARY KEY (id);
9792
9793
9794 --
9795 -- Name: library_dataset_collection_annotation_association library_dataset_collection_annotation_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9796 --
9797
9798 ALTER TABLE ONLY public.library_dataset_collection_annotation_association
9799 ADD CONSTRAINT library_dataset_collection_annotation_association_pkey PRIMARY KEY (id);
9800
9801
9802 --
9803 -- Name: library_dataset_collection_association library_dataset_collection_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9804 --
9805
9806 ALTER TABLE ONLY public.library_dataset_collection_association
9807 ADD CONSTRAINT library_dataset_collection_association_pkey PRIMARY KEY (id);
9808
9809
9810 --
9811 -- Name: library_dataset_collection_rating_association library_dataset_collection_rating_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9812 --
9813
9814 ALTER TABLE ONLY public.library_dataset_collection_rating_association
9815 ADD CONSTRAINT library_dataset_collection_rating_association_pkey PRIMARY KEY (id);
9816
9817
9818 --
9819 -- Name: library_dataset_collection_tag_association library_dataset_collection_tag_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9820 --
9821
9822 ALTER TABLE ONLY public.library_dataset_collection_tag_association
9823 ADD CONSTRAINT library_dataset_collection_tag_association_pkey PRIMARY KEY (id);
9824
9825
9826 --
9827 -- Name: library_dataset_dataset_association_permissions library_dataset_dataset_association_permissions_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9828 --
9829
9830 ALTER TABLE ONLY public.library_dataset_dataset_association_permissions
9831 ADD CONSTRAINT library_dataset_dataset_association_permissions_pkey PRIMARY KEY (id);
9832
9833
9834 --
9835 -- Name: library_dataset_dataset_association library_dataset_dataset_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9836 --
9837
9838 ALTER TABLE ONLY public.library_dataset_dataset_association
9839 ADD CONSTRAINT library_dataset_dataset_association_pkey PRIMARY KEY (id);
9840
9841
9842 --
9843 -- Name: library_dataset_dataset_association_tag_association library_dataset_dataset_association_tag_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9844 --
9845
9846 ALTER TABLE ONLY public.library_dataset_dataset_association_tag_association
9847 ADD CONSTRAINT library_dataset_dataset_association_tag_association_pkey PRIMARY KEY (id);
9848
9849
9850 --
9851 -- Name: library_dataset_dataset_info_association library_dataset_dataset_info_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9852 --
9853
9854 ALTER TABLE ONLY public.library_dataset_dataset_info_association
9855 ADD CONSTRAINT library_dataset_dataset_info_association_pkey PRIMARY KEY (id);
9856
9857
9858 --
9859 -- Name: library_dataset_permissions library_dataset_permissions_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9860 --
9861
9862 ALTER TABLE ONLY public.library_dataset_permissions
9863 ADD CONSTRAINT library_dataset_permissions_pkey PRIMARY KEY (id);
9864
9865
9866 --
9867 -- Name: library_dataset library_dataset_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9868 --
9869
9870 ALTER TABLE ONLY public.library_dataset
9871 ADD CONSTRAINT library_dataset_pkey PRIMARY KEY (id);
9872
9873
9874 --
9875 -- Name: library_folder_info_association library_folder_info_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9876 --
9877
9878 ALTER TABLE ONLY public.library_folder_info_association
9879 ADD CONSTRAINT library_folder_info_association_pkey PRIMARY KEY (id);
9880
9881
9882 --
9883 -- Name: library_folder_permissions library_folder_permissions_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9884 --
9885
9886 ALTER TABLE ONLY public.library_folder_permissions
9887 ADD CONSTRAINT library_folder_permissions_pkey PRIMARY KEY (id);
9888
9889
9890 --
9891 -- Name: library_folder library_folder_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9892 --
9893
9894 ALTER TABLE ONLY public.library_folder
9895 ADD CONSTRAINT library_folder_pkey PRIMARY KEY (id);
9896
9897
9898 --
9899 -- Name: library_info_association library_info_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9900 --
9901
9902 ALTER TABLE ONLY public.library_info_association
9903 ADD CONSTRAINT library_info_association_pkey PRIMARY KEY (id);
9904
9905
9906 --
9907 -- Name: library_permissions library_permissions_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9908 --
9909
9910 ALTER TABLE ONLY public.library_permissions
9911 ADD CONSTRAINT library_permissions_pkey PRIMARY KEY (id);
9912
9913
9914 --
9915 -- Name: library library_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9916 --
9917
9918 ALTER TABLE ONLY public.library
9919 ADD CONSTRAINT library_pkey PRIMARY KEY (id);
9920
9921
9922 --
9923 -- Name: metadata_file metadata_file_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9924 --
9925
9926 ALTER TABLE ONLY public.metadata_file
9927 ADD CONSTRAINT metadata_file_pkey PRIMARY KEY (id);
9928
9929
9930 --
9931 -- Name: migrate_version migrate_version_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9932 --
9933
9934 ALTER TABLE ONLY public.migrate_version
9935 ADD CONSTRAINT migrate_version_pkey PRIMARY KEY (repository_id);
9936
9937
9938 --
9939 -- Name: page_annotation_association page_annotation_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9940 --
9941
9942 ALTER TABLE ONLY public.page_annotation_association
9943 ADD CONSTRAINT page_annotation_association_pkey PRIMARY KEY (id);
9944
9945
9946 --
9947 -- Name: page page_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9948 --
9949
9950 ALTER TABLE ONLY public.page
9951 ADD CONSTRAINT page_pkey PRIMARY KEY (id);
9952
9953
9954 --
9955 -- Name: page_rating_association page_rating_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9956 --
9957
9958 ALTER TABLE ONLY public.page_rating_association
9959 ADD CONSTRAINT page_rating_association_pkey PRIMARY KEY (id);
9960
9961
9962 --
9963 -- Name: page_revision page_revision_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9964 --
9965
9966 ALTER TABLE ONLY public.page_revision
9967 ADD CONSTRAINT page_revision_pkey PRIMARY KEY (id);
9968
9969
9970 --
9971 -- Name: page_tag_association page_tag_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9972 --
9973
9974 ALTER TABLE ONLY public.page_tag_association
9975 ADD CONSTRAINT page_tag_association_pkey PRIMARY KEY (id);
9976
9977
9978 --
9979 -- Name: page_user_share_association page_user_share_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9980 --
9981
9982 ALTER TABLE ONLY public.page_user_share_association
9983 ADD CONSTRAINT page_user_share_association_pkey PRIMARY KEY (id);
9984
9985
9986 --
9987 -- Name: password_reset_token password_reset_token_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9988 --
9989
9990 ALTER TABLE ONLY public.password_reset_token
9991 ADD CONSTRAINT password_reset_token_pkey PRIMARY KEY (token);
9992
9993
9994 --
9995 -- Name: post_job_action_association post_job_action_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
9996 --
9997
9998 ALTER TABLE ONLY public.post_job_action_association
9999 ADD CONSTRAINT post_job_action_association_pkey PRIMARY KEY (id);
10000
10001
10002 --
10003 -- Name: post_job_action post_job_action_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10004 --
10005
10006 ALTER TABLE ONLY public.post_job_action
10007 ADD CONSTRAINT post_job_action_pkey PRIMARY KEY (id);
10008
10009
10010 --
10011 -- Name: quota quota_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10012 --
10013
10014 ALTER TABLE ONLY public.quota
10015 ADD CONSTRAINT quota_pkey PRIMARY KEY (id);
10016
10017
10018 --
10019 -- Name: repository_dependency repository_dependency_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10020 --
10021
10022 ALTER TABLE ONLY public.repository_dependency
10023 ADD CONSTRAINT repository_dependency_pkey PRIMARY KEY (id);
10024
10025
10026 --
10027 -- Name: repository_repository_dependency_association repository_repository_dependency_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10028 --
10029
10030 ALTER TABLE ONLY public.repository_repository_dependency_association
10031 ADD CONSTRAINT repository_repository_dependency_association_pkey PRIMARY KEY (id);
10032
10033
10034 --
10035 -- Name: request_event request_event_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10036 --
10037
10038 ALTER TABLE ONLY public.request_event
10039 ADD CONSTRAINT request_event_pkey PRIMARY KEY (id);
10040
10041
10042 --
10043 -- Name: request request_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10044 --
10045
10046 ALTER TABLE ONLY public.request
10047 ADD CONSTRAINT request_pkey PRIMARY KEY (id);
10048
10049
10050 --
10051 -- Name: request_type_external_service_association request_type_external_service_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10052 --
10053
10054 ALTER TABLE ONLY public.request_type_external_service_association
10055 ADD CONSTRAINT request_type_external_service_association_pkey PRIMARY KEY (id);
10056
10057
10058 --
10059 -- Name: request_type_permissions request_type_permissions_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10060 --
10061
10062 ALTER TABLE ONLY public.request_type_permissions
10063 ADD CONSTRAINT request_type_permissions_pkey PRIMARY KEY (id);
10064
10065
10066 --
10067 -- Name: request_type request_type_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10068 --
10069
10070 ALTER TABLE ONLY public.request_type
10071 ADD CONSTRAINT request_type_pkey PRIMARY KEY (id);
10072
10073
10074 --
10075 -- Name: request_type_run_association request_type_run_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10076 --
10077
10078 ALTER TABLE ONLY public.request_type_run_association
10079 ADD CONSTRAINT request_type_run_association_pkey PRIMARY KEY (id);
10080
10081
10082 --
10083 -- Name: role role_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10084 --
10085
10086 ALTER TABLE ONLY public.role
10087 ADD CONSTRAINT role_pkey PRIMARY KEY (id);
10088
10089
10090 --
10091 -- Name: run run_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10092 --
10093
10094 ALTER TABLE ONLY public.run
10095 ADD CONSTRAINT run_pkey PRIMARY KEY (id);
10096
10097
10098 --
10099 -- Name: sample_dataset sample_dataset_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10100 --
10101
10102 ALTER TABLE ONLY public.sample_dataset
10103 ADD CONSTRAINT sample_dataset_pkey PRIMARY KEY (id);
10104
10105
10106 --
10107 -- Name: sample_event sample_event_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10108 --
10109
10110 ALTER TABLE ONLY public.sample_event
10111 ADD CONSTRAINT sample_event_pkey PRIMARY KEY (id);
10112
10113
10114 --
10115 -- Name: sample sample_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10116 --
10117
10118 ALTER TABLE ONLY public.sample
10119 ADD CONSTRAINT sample_pkey PRIMARY KEY (id);
10120
10121
10122 --
10123 -- Name: sample_run_association sample_run_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10124 --
10125
10126 ALTER TABLE ONLY public.sample_run_association
10127 ADD CONSTRAINT sample_run_association_pkey PRIMARY KEY (id);
10128
10129
10130 --
10131 -- Name: sample_state sample_state_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10132 --
10133
10134 ALTER TABLE ONLY public.sample_state
10135 ADD CONSTRAINT sample_state_pkey PRIMARY KEY (id);
10136
10137
10138 --
10139 -- Name: external_service sequencer_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10140 --
10141
10142 ALTER TABLE ONLY public.external_service
10143 ADD CONSTRAINT sequencer_pkey PRIMARY KEY (id);
10144
10145
10146 --
10147 -- Name: stored_workflow_annotation_association stored_workflow_annotation_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10148 --
10149
10150 ALTER TABLE ONLY public.stored_workflow_annotation_association
10151 ADD CONSTRAINT stored_workflow_annotation_association_pkey PRIMARY KEY (id);
10152
10153
10154 --
10155 -- Name: stored_workflow_menu_entry stored_workflow_menu_entry_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10156 --
10157
10158 ALTER TABLE ONLY public.stored_workflow_menu_entry
10159 ADD CONSTRAINT stored_workflow_menu_entry_pkey PRIMARY KEY (id);
10160
10161
10162 --
10163 -- Name: stored_workflow stored_workflow_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10164 --
10165
10166 ALTER TABLE ONLY public.stored_workflow
10167 ADD CONSTRAINT stored_workflow_pkey PRIMARY KEY (id);
10168
10169
10170 --
10171 -- Name: stored_workflow_rating_association stored_workflow_rating_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10172 --
10173
10174 ALTER TABLE ONLY public.stored_workflow_rating_association
10175 ADD CONSTRAINT stored_workflow_rating_association_pkey PRIMARY KEY (id);
10176
10177
10178 --
10179 -- Name: stored_workflow_tag_association stored_workflow_tag_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10180 --
10181
10182 ALTER TABLE ONLY public.stored_workflow_tag_association
10183 ADD CONSTRAINT stored_workflow_tag_association_pkey PRIMARY KEY (id);
10184
10185
10186 --
10187 -- Name: stored_workflow_user_share_connection stored_workflow_user_share_connection_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10188 --
10189
10190 ALTER TABLE ONLY public.stored_workflow_user_share_connection
10191 ADD CONSTRAINT stored_workflow_user_share_connection_pkey PRIMARY KEY (id);
10192
10193
10194 --
10195 -- Name: tag tag_name_key; Type: CONSTRAINT; Schema: public; Owner: lite
10196 --
10197
10198 ALTER TABLE ONLY public.tag
10199 ADD CONSTRAINT tag_name_key UNIQUE (name);
10200
10201
10202 --
10203 -- Name: tag tag_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10204 --
10205
10206 ALTER TABLE ONLY public.tag
10207 ADD CONSTRAINT tag_pkey PRIMARY KEY (id);
10208
10209
10210 --
10211 -- Name: task_metric_numeric task_metric_numeric_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10212 --
10213
10214 ALTER TABLE ONLY public.task_metric_numeric
10215 ADD CONSTRAINT task_metric_numeric_pkey PRIMARY KEY (id);
10216
10217
10218 --
10219 -- Name: task_metric_text task_metric_text_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10220 --
10221
10222 ALTER TABLE ONLY public.task_metric_text
10223 ADD CONSTRAINT task_metric_text_pkey PRIMARY KEY (id);
10224
10225
10226 --
10227 -- Name: task task_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10228 --
10229
10230 ALTER TABLE ONLY public.task
10231 ADD CONSTRAINT task_pkey PRIMARY KEY (id);
10232
10233
10234 --
10235 -- Name: tool_dependency tool_dependency_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10236 --
10237
10238 ALTER TABLE ONLY public.tool_dependency
10239 ADD CONSTRAINT tool_dependency_pkey PRIMARY KEY (id);
10240
10241
10242 --
10243 -- Name: tool_shed_repository tool_shed_repository_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10244 --
10245
10246 ALTER TABLE ONLY public.tool_shed_repository
10247 ADD CONSTRAINT tool_shed_repository_pkey PRIMARY KEY (id);
10248
10249
10250 --
10251 -- Name: tool_tag_association tool_tag_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10252 --
10253
10254 ALTER TABLE ONLY public.tool_tag_association
10255 ADD CONSTRAINT tool_tag_association_pkey PRIMARY KEY (id);
10256
10257
10258 --
10259 -- Name: tool_version_association tool_version_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10260 --
10261
10262 ALTER TABLE ONLY public.tool_version_association
10263 ADD CONSTRAINT tool_version_association_pkey PRIMARY KEY (id);
10264
10265
10266 --
10267 -- Name: tool_version tool_version_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10268 --
10269
10270 ALTER TABLE ONLY public.tool_version
10271 ADD CONSTRAINT tool_version_pkey PRIMARY KEY (id);
10272
10273
10274 --
10275 -- Name: transfer_job transfer_job_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10276 --
10277
10278 ALTER TABLE ONLY public.transfer_job
10279 ADD CONSTRAINT transfer_job_pkey PRIMARY KEY (id);
10280
10281
10282 --
10283 -- Name: user_action user_action_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10284 --
10285
10286 ALTER TABLE ONLY public.user_action
10287 ADD CONSTRAINT user_action_pkey PRIMARY KEY (id);
10288
10289
10290 --
10291 -- Name: user_address user_address_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10292 --
10293
10294 ALTER TABLE ONLY public.user_address
10295 ADD CONSTRAINT user_address_pkey PRIMARY KEY (id);
10296
10297
10298 --
10299 -- Name: user_group_association user_group_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10300 --
10301
10302 ALTER TABLE ONLY public.user_group_association
10303 ADD CONSTRAINT user_group_association_pkey PRIMARY KEY (id);
10304
10305
10306 --
10307 -- Name: user_preference user_preference_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10308 --
10309
10310 ALTER TABLE ONLY public.user_preference
10311 ADD CONSTRAINT user_preference_pkey PRIMARY KEY (id);
10312
10313
10314 --
10315 -- Name: user_quota_association user_quota_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10316 --
10317
10318 ALTER TABLE ONLY public.user_quota_association
10319 ADD CONSTRAINT user_quota_association_pkey PRIMARY KEY (id);
10320
10321
10322 --
10323 -- Name: user_role_association user_role_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10324 --
10325
10326 ALTER TABLE ONLY public.user_role_association
10327 ADD CONSTRAINT user_role_association_pkey PRIMARY KEY (id);
10328
10329
10330 --
10331 -- Name: validation_error validation_error_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10332 --
10333
10334 ALTER TABLE ONLY public.validation_error
10335 ADD CONSTRAINT validation_error_pkey PRIMARY KEY (id);
10336
10337
10338 --
10339 -- Name: visualization_annotation_association visualization_annotation_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10340 --
10341
10342 ALTER TABLE ONLY public.visualization_annotation_association
10343 ADD CONSTRAINT visualization_annotation_association_pkey PRIMARY KEY (id);
10344
10345
10346 --
10347 -- Name: visualization visualization_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10348 --
10349
10350 ALTER TABLE ONLY public.visualization
10351 ADD CONSTRAINT visualization_pkey PRIMARY KEY (id);
10352
10353
10354 --
10355 -- Name: visualization_rating_association visualization_rating_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10356 --
10357
10358 ALTER TABLE ONLY public.visualization_rating_association
10359 ADD CONSTRAINT visualization_rating_association_pkey PRIMARY KEY (id);
10360
10361
10362 --
10363 -- Name: visualization_revision visualization_revision_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10364 --
10365
10366 ALTER TABLE ONLY public.visualization_revision
10367 ADD CONSTRAINT visualization_revision_pkey PRIMARY KEY (id);
10368
10369
10370 --
10371 -- Name: visualization_tag_association visualization_tag_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10372 --
10373
10374 ALTER TABLE ONLY public.visualization_tag_association
10375 ADD CONSTRAINT visualization_tag_association_pkey PRIMARY KEY (id);
10376
10377
10378 --
10379 -- Name: visualization_user_share_association visualization_user_share_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10380 --
10381
10382 ALTER TABLE ONLY public.visualization_user_share_association
10383 ADD CONSTRAINT visualization_user_share_association_pkey PRIMARY KEY (id);
10384
10385
10386 --
10387 -- Name: workflow_invocation workflow_invocation_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10388 --
10389
10390 ALTER TABLE ONLY public.workflow_invocation
10391 ADD CONSTRAINT workflow_invocation_pkey PRIMARY KEY (id);
10392
10393
10394 --
10395 -- Name: workflow_invocation_step workflow_invocation_step_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10396 --
10397
10398 ALTER TABLE ONLY public.workflow_invocation_step
10399 ADD CONSTRAINT workflow_invocation_step_pkey PRIMARY KEY (id);
10400
10401
10402 --
10403 -- Name: workflow_invocation_to_subworkflow_invocation_association workflow_invocation_to_subworkflow_invocation_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10404 --
10405
10406 ALTER TABLE ONLY public.workflow_invocation_to_subworkflow_invocation_association
10407 ADD CONSTRAINT workflow_invocation_to_subworkflow_invocation_association_pkey PRIMARY KEY (id);
10408
10409
10410 --
10411 -- Name: workflow_output workflow_output_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10412 --
10413
10414 ALTER TABLE ONLY public.workflow_output
10415 ADD CONSTRAINT workflow_output_pkey PRIMARY KEY (id);
10416
10417
10418 --
10419 -- Name: workflow workflow_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10420 --
10421
10422 ALTER TABLE ONLY public.workflow
10423 ADD CONSTRAINT workflow_pkey PRIMARY KEY (id);
10424
10425
10426 --
10427 -- Name: workflow_request_input_parameters workflow_request_input_parameters_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10428 --
10429
10430 ALTER TABLE ONLY public.workflow_request_input_parameters
10431 ADD CONSTRAINT workflow_request_input_parameters_pkey PRIMARY KEY (id);
10432
10433
10434 --
10435 -- Name: workflow_request_input_step_parameter workflow_request_input_step_parameter_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10436 --
10437
10438 ALTER TABLE ONLY public.workflow_request_input_step_parameter
10439 ADD CONSTRAINT workflow_request_input_step_parameter_pkey PRIMARY KEY (id);
10440
10441
10442 --
10443 -- Name: workflow_request_step_states workflow_request_step_states_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10444 --
10445
10446 ALTER TABLE ONLY public.workflow_request_step_states
10447 ADD CONSTRAINT workflow_request_step_states_pkey PRIMARY KEY (id);
10448
10449
10450 --
10451 -- Name: workflow_request_to_input_collection_dataset workflow_request_to_input_collection_dataset_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10452 --
10453
10454 ALTER TABLE ONLY public.workflow_request_to_input_collection_dataset
10455 ADD CONSTRAINT workflow_request_to_input_collection_dataset_pkey PRIMARY KEY (id);
10456
10457
10458 --
10459 -- Name: workflow_request_to_input_dataset workflow_request_to_input_dataset_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10460 --
10461
10462 ALTER TABLE ONLY public.workflow_request_to_input_dataset
10463 ADD CONSTRAINT workflow_request_to_input_dataset_pkey PRIMARY KEY (id);
10464
10465
10466 --
10467 -- Name: workflow_step_annotation_association workflow_step_annotation_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10468 --
10469
10470 ALTER TABLE ONLY public.workflow_step_annotation_association
10471 ADD CONSTRAINT workflow_step_annotation_association_pkey PRIMARY KEY (id);
10472
10473
10474 --
10475 -- Name: workflow_step_connection workflow_step_connection_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10476 --
10477
10478 ALTER TABLE ONLY public.workflow_step_connection
10479 ADD CONSTRAINT workflow_step_connection_pkey PRIMARY KEY (id);
10480
10481
10482 --
10483 -- Name: workflow_step workflow_step_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10484 --
10485
10486 ALTER TABLE ONLY public.workflow_step
10487 ADD CONSTRAINT workflow_step_pkey PRIMARY KEY (id);
10488
10489
10490 --
10491 -- Name: workflow_step_tag_association workflow_step_tag_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10492 --
10493
10494 ALTER TABLE ONLY public.workflow_step_tag_association
10495 ADD CONSTRAINT workflow_step_tag_association_pkey PRIMARY KEY (id);
10496
10497
10498 --
10499 -- Name: workflow_tag_association workflow_tag_association_pkey; Type: CONSTRAINT; Schema: public; Owner: lite
10500 --
10501
10502 ALTER TABLE ONLY public.workflow_tag_association
10503 ADD CONSTRAINT workflow_tag_association_pkey PRIMARY KEY (id);
10504
10505
10506 --
10507 -- Name: id_workflow_invocation_handler; Type: INDEX; Schema: public; Owner: lite
10508 --
10509
10510 CREATE INDEX id_workflow_invocation_handler ON public.workflow_invocation USING btree (handler);
10511
10512
10513 --
10514 -- Name: ix_api_keys_key; Type: INDEX; Schema: public; Owner: lite
10515 --
10516
10517 CREATE UNIQUE INDEX ix_api_keys_key ON public.api_keys USING btree (key);
10518
10519
10520 --
10521 -- Name: ix_api_keys_user_id; Type: INDEX; Schema: public; Owner: lite
10522 --
10523
10524 CREATE INDEX ix_api_keys_user_id ON public.api_keys USING btree (user_id);
10525
10526
10527 --
10528 -- Name: ix_cleanup_event_dataset_association_cleanup_event_id; Type: INDEX; Schema: public; Owner: lite
10529 --
10530
10531 CREATE INDEX ix_cleanup_event_dataset_association_cleanup_event_id ON public.cleanup_event_dataset_association USING btree (cleanup_event_id);
10532
10533
10534 --
10535 -- Name: ix_cleanup_event_dataset_association_dataset_id; Type: INDEX; Schema: public; Owner: lite
10536 --
10537
10538 CREATE INDEX ix_cleanup_event_dataset_association_dataset_id ON public.cleanup_event_dataset_association USING btree (dataset_id);
10539
10540
10541 --
10542 -- Name: ix_cleanup_event_hda_association_cleanup_event_id; Type: INDEX; Schema: public; Owner: lite
10543 --
10544
10545 CREATE INDEX ix_cleanup_event_hda_association_cleanup_event_id ON public.cleanup_event_hda_association USING btree (cleanup_event_id);
10546
10547
10548 --
10549 -- Name: ix_cleanup_event_hda_association_hda_id; Type: INDEX; Schema: public; Owner: lite
10550 --
10551
10552 CREATE INDEX ix_cleanup_event_hda_association_hda_id ON public.cleanup_event_hda_association USING btree (hda_id);
10553
10554
10555 --
10556 -- Name: ix_cleanup_event_history_association_cleanup_event_id; Type: INDEX; Schema: public; Owner: lite
10557 --
10558
10559 CREATE INDEX ix_cleanup_event_history_association_cleanup_event_id ON public.cleanup_event_history_association USING btree (cleanup_event_id);
10560
10561
10562 --
10563 -- Name: ix_cleanup_event_history_association_history_id; Type: INDEX; Schema: public; Owner: lite
10564 --
10565
10566 CREATE INDEX ix_cleanup_event_history_association_history_id ON public.cleanup_event_history_association USING btree (history_id);
10567
10568
10569 --
10570 -- Name: ix_cleanup_event_icda_association_cleanup_event_id; Type: INDEX; Schema: public; Owner: lite
10571 --
10572
10573 CREATE INDEX ix_cleanup_event_icda_association_cleanup_event_id ON public.cleanup_event_icda_association USING btree (cleanup_event_id);
10574
10575
10576 --
10577 -- Name: ix_cleanup_event_icda_association_icda_id; Type: INDEX; Schema: public; Owner: lite
10578 --
10579
10580 CREATE INDEX ix_cleanup_event_icda_association_icda_id ON public.cleanup_event_icda_association USING btree (icda_id);
10581
10582
10583 --
10584 -- Name: ix_cleanup_event_ldda_association_cleanup_event_id; Type: INDEX; Schema: public; Owner: lite
10585 --
10586
10587 CREATE INDEX ix_cleanup_event_ldda_association_cleanup_event_id ON public.cleanup_event_ldda_association USING btree (cleanup_event_id);
10588
10589
10590 --
10591 -- Name: ix_cleanup_event_ldda_association_ldda_id; Type: INDEX; Schema: public; Owner: lite
10592 --
10593
10594 CREATE INDEX ix_cleanup_event_ldda_association_ldda_id ON public.cleanup_event_ldda_association USING btree (ldda_id);
10595
10596
10597 --
10598 -- Name: ix_cleanup_event_library_association_cleanup_event_id; Type: INDEX; Schema: public; Owner: lite
10599 --
10600
10601 CREATE INDEX ix_cleanup_event_library_association_cleanup_event_id ON public.cleanup_event_library_association USING btree (cleanup_event_id);
10602
10603
10604 --
10605 -- Name: ix_cleanup_event_library_association_library_id; Type: INDEX; Schema: public; Owner: lite
10606 --
10607
10608 CREATE INDEX ix_cleanup_event_library_association_library_id ON public.cleanup_event_library_association USING btree (library_id);
10609
10610
10611 --
10612 -- Name: ix_cleanup_event_library_dataset_association_cleanup_event_id; Type: INDEX; Schema: public; Owner: lite
10613 --
10614
10615 CREATE INDEX ix_cleanup_event_library_dataset_association_cleanup_event_id ON public.cleanup_event_library_dataset_association USING btree (cleanup_event_id);
10616
10617
10618 --
10619 -- Name: ix_cleanup_event_library_dataset_association_library_dataset_id; Type: INDEX; Schema: public; Owner: lite
10620 --
10621
10622 CREATE INDEX ix_cleanup_event_library_dataset_association_library_dataset_id ON public.cleanup_event_library_dataset_association USING btree (library_dataset_id);
10623
10624
10625 --
10626 -- Name: ix_cleanup_event_library_folder_association_cleanup_event_id; Type: INDEX; Schema: public; Owner: lite
10627 --
10628
10629 CREATE INDEX ix_cleanup_event_library_folder_association_cleanup_event_id ON public.cleanup_event_library_folder_association USING btree (cleanup_event_id);
10630
10631
10632 --
10633 -- Name: ix_cleanup_event_library_folder_association_library_folder_id; Type: INDEX; Schema: public; Owner: lite
10634 --
10635
10636 CREATE INDEX ix_cleanup_event_library_folder_association_library_folder_id ON public.cleanup_event_library_folder_association USING btree (library_folder_id);
10637
10638
10639 --
10640 -- Name: ix_cleanup_event_metadata_file_association_cleanup_event_id; Type: INDEX; Schema: public; Owner: lite
10641 --
10642
10643 CREATE INDEX ix_cleanup_event_metadata_file_association_cleanup_event_id ON public.cleanup_event_metadata_file_association USING btree (cleanup_event_id);
10644
10645
10646 --
10647 -- Name: ix_cleanup_event_metadata_file_association_metadata_file_id; Type: INDEX; Schema: public; Owner: lite
10648 --
10649
10650 CREATE INDEX ix_cleanup_event_metadata_file_association_metadata_file_id ON public.cleanup_event_metadata_file_association USING btree (metadata_file_id);
10651
10652
10653 --
10654 -- Name: ix_data_manager_history_association_history_id; Type: INDEX; Schema: public; Owner: lite
10655 --
10656
10657 CREATE INDEX ix_data_manager_history_association_history_id ON public.data_manager_history_association USING btree (history_id);
10658
10659
10660 --
10661 -- Name: ix_data_manager_history_association_update_time; Type: INDEX; Schema: public; Owner: lite
10662 --
10663
10664 CREATE INDEX ix_data_manager_history_association_update_time ON public.data_manager_history_association USING btree (update_time);
10665
10666
10667 --
10668 -- Name: ix_data_manager_history_association_user_id; Type: INDEX; Schema: public; Owner: lite
10669 --
10670
10671 CREATE INDEX ix_data_manager_history_association_user_id ON public.data_manager_history_association USING btree (user_id);
10672
10673
10674 --
10675 -- Name: ix_data_manager_job_association_data_manager_id; Type: INDEX; Schema: public; Owner: lite
10676 --
10677
10678 CREATE INDEX ix_data_manager_job_association_data_manager_id ON public.data_manager_job_association USING btree (data_manager_id);
10679
10680
10681 --
10682 -- Name: ix_data_manager_job_association_job_id; Type: INDEX; Schema: public; Owner: lite
10683 --
10684
10685 CREATE INDEX ix_data_manager_job_association_job_id ON public.data_manager_job_association USING btree (job_id);
10686
10687
10688 --
10689 -- Name: ix_data_manager_job_association_update_time; Type: INDEX; Schema: public; Owner: lite
10690 --
10691
10692 CREATE INDEX ix_data_manager_job_association_update_time ON public.data_manager_job_association USING btree (update_time);
10693
10694
10695 --
10696 -- Name: ix_dataset_collection_element_child_collection_id; Type: INDEX; Schema: public; Owner: lite
10697 --
10698
10699 CREATE INDEX ix_dataset_collection_element_child_collection_id ON public.dataset_collection_element USING btree (child_collection_id);
10700
10701
10702 --
10703 -- Name: ix_dataset_collection_element_dataset_collection_id; Type: INDEX; Schema: public; Owner: lite
10704 --
10705
10706 CREATE INDEX ix_dataset_collection_element_dataset_collection_id ON public.dataset_collection_element USING btree (dataset_collection_id);
10707
10708
10709 --
10710 -- Name: ix_dataset_collection_element_hda_id; Type: INDEX; Schema: public; Owner: lite
10711 --
10712
10713 CREATE INDEX ix_dataset_collection_element_hda_id ON public.dataset_collection_element USING btree (hda_id);
10714
10715
10716 --
10717 -- Name: ix_dataset_collection_element_ldda_id; Type: INDEX; Schema: public; Owner: lite
10718 --
10719
10720 CREATE INDEX ix_dataset_collection_element_ldda_id ON public.dataset_collection_element USING btree (ldda_id);
10721
10722
10723 --
10724 -- Name: ix_dataset_deleted; Type: INDEX; Schema: public; Owner: lite
10725 --
10726
10727 CREATE INDEX ix_dataset_deleted ON public.dataset USING btree (deleted);
10728
10729
10730 --
10731 -- Name: ix_dataset_object_store_id; Type: INDEX; Schema: public; Owner: lite
10732 --
10733
10734 CREATE INDEX ix_dataset_object_store_id ON public.dataset USING btree (object_store_id);
10735
10736
10737 --
10738 -- Name: ix_dataset_permissions_dataset_id; Type: INDEX; Schema: public; Owner: lite
10739 --
10740
10741 CREATE INDEX ix_dataset_permissions_dataset_id ON public.dataset_permissions USING btree (dataset_id);
10742
10743
10744 --
10745 -- Name: ix_dataset_permissions_role_id; Type: INDEX; Schema: public; Owner: lite
10746 --
10747
10748 CREATE INDEX ix_dataset_permissions_role_id ON public.dataset_permissions USING btree (role_id);
10749
10750
10751 --
10752 -- Name: ix_dataset_purged; Type: INDEX; Schema: public; Owner: lite
10753 --
10754
10755 CREATE INDEX ix_dataset_purged ON public.dataset USING btree (purged);
10756
10757
10758 --
10759 -- Name: ix_dataset_state; Type: INDEX; Schema: public; Owner: lite
10760 --
10761
10762 CREATE INDEX ix_dataset_state ON public.dataset USING btree (state);
10763
10764
10765 --
10766 -- Name: ix_dataset_tag_association_dataset_id; Type: INDEX; Schema: public; Owner: lite
10767 --
10768
10769 CREATE INDEX ix_dataset_tag_association_dataset_id ON public.dataset_tag_association USING btree (dataset_id);
10770
10771
10772 --
10773 -- Name: ix_dataset_tag_association_tag_id; Type: INDEX; Schema: public; Owner: lite
10774 --
10775
10776 CREATE INDEX ix_dataset_tag_association_tag_id ON public.dataset_tag_association USING btree (tag_id);
10777
10778
10779 --
10780 -- Name: ix_dataset_tag_association_user_tname; Type: INDEX; Schema: public; Owner: lite
10781 --
10782
10783 CREATE INDEX ix_dataset_tag_association_user_tname ON public.dataset_tag_association USING btree (user_tname);
10784
10785
10786 --
10787 -- Name: ix_dataset_tag_association_user_value; Type: INDEX; Schema: public; Owner: lite
10788 --
10789
10790 CREATE INDEX ix_dataset_tag_association_user_value ON public.dataset_tag_association USING btree (user_value);
10791
10792
10793 --
10794 -- Name: ix_dataset_tag_association_value; Type: INDEX; Schema: public; Owner: lite
10795 --
10796
10797 CREATE INDEX ix_dataset_tag_association_value ON public.dataset_tag_association USING btree (value);
10798
10799
10800 --
10801 -- Name: ix_dataset_update_time; Type: INDEX; Schema: public; Owner: lite
10802 --
10803
10804 CREATE INDEX ix_dataset_update_time ON public.dataset USING btree (update_time);
10805
10806
10807 --
10808 -- Name: ix_default_history_permissions_history_id; Type: INDEX; Schema: public; Owner: lite
10809 --
10810
10811 CREATE INDEX ix_default_history_permissions_history_id ON public.default_history_permissions USING btree (history_id);
10812
10813
10814 --
10815 -- Name: ix_default_history_permissions_role_id; Type: INDEX; Schema: public; Owner: lite
10816 --
10817
10818 CREATE INDEX ix_default_history_permissions_role_id ON public.default_history_permissions USING btree (role_id);
10819
10820
10821 --
10822 -- Name: ix_default_quota_association_quota_id; Type: INDEX; Schema: public; Owner: lite
10823 --
10824
10825 CREATE INDEX ix_default_quota_association_quota_id ON public.default_quota_association USING btree (quota_id);
10826
10827
10828 --
10829 -- Name: ix_default_quota_association_type; Type: INDEX; Schema: public; Owner: lite
10830 --
10831
10832 CREATE UNIQUE INDEX ix_default_quota_association_type ON public.default_quota_association USING btree (type);
10833
10834
10835 --
10836 -- Name: ix_default_user_permissions_role_id; Type: INDEX; Schema: public; Owner: lite
10837 --
10838
10839 CREATE INDEX ix_default_user_permissions_role_id ON public.default_user_permissions USING btree (role_id);
10840
10841
10842 --
10843 -- Name: ix_default_user_permissions_user_id; Type: INDEX; Schema: public; Owner: lite
10844 --
10845
10846 CREATE INDEX ix_default_user_permissions_user_id ON public.default_user_permissions USING btree (user_id);
10847
10848
10849 --
10850 -- Name: ix_deferred_job_plugin; Type: INDEX; Schema: public; Owner: lite
10851 --
10852
10853 CREATE INDEX ix_deferred_job_plugin ON public.deferred_job USING btree (plugin);
10854
10855
10856 --
10857 -- Name: ix_deferred_job_state; Type: INDEX; Schema: public; Owner: lite
10858 --
10859
10860 CREATE INDEX ix_deferred_job_state ON public.deferred_job USING btree (state);
10861
10862
10863 --
10864 -- Name: ix_event_history_id; Type: INDEX; Schema: public; Owner: lite
10865 --
10866
10867 CREATE INDEX ix_event_history_id ON public.event USING btree (history_id);
10868
10869
10870 --
10871 -- Name: ix_event_session_id; Type: INDEX; Schema: public; Owner: lite
10872 --
10873
10874 CREATE INDEX ix_event_session_id ON public.event USING btree (session_id);
10875
10876
10877 --
10878 -- Name: ix_event_user_id; Type: INDEX; Schema: public; Owner: lite
10879 --
10880
10881 CREATE INDEX ix_event_user_id ON public.event USING btree (user_id);
10882
10883
10884 --
10885 -- Name: ix_extended_metadata_index_extended_metadata_id; Type: INDEX; Schema: public; Owner: lite
10886 --
10887
10888 CREATE INDEX ix_extended_metadata_index_extended_metadata_id ON public.extended_metadata_index USING btree (extended_metadata_id);
10889
10890
10891 --
10892 -- Name: ix_form_definition_current_deleted; Type: INDEX; Schema: public; Owner: lite
10893 --
10894
10895 CREATE INDEX ix_form_definition_current_deleted ON public.form_definition_current USING btree (deleted);
10896
10897
10898 --
10899 -- Name: ix_form_definition_current_latest_form_id; Type: INDEX; Schema: public; Owner: lite
10900 --
10901
10902 CREATE INDEX ix_form_definition_current_latest_form_id ON public.form_definition_current USING btree (latest_form_id);
10903
10904
10905 --
10906 -- Name: ix_form_definition_form_definition_current_id; Type: INDEX; Schema: public; Owner: lite
10907 --
10908
10909 CREATE INDEX ix_form_definition_form_definition_current_id ON public.form_definition USING btree (form_definition_current_id);
10910
10911
10912 --
10913 -- Name: ix_form_definition_layout; Type: INDEX; Schema: public; Owner: lite
10914 --
10915
10916 CREATE INDEX ix_form_definition_layout ON public.form_definition USING btree (layout);
10917
10918
10919 --
10920 -- Name: ix_form_definition_type; Type: INDEX; Schema: public; Owner: lite
10921 --
10922
10923 CREATE INDEX ix_form_definition_type ON public.form_definition USING btree (type);
10924
10925
10926 --
10927 -- Name: ix_form_values_form_definition_id; Type: INDEX; Schema: public; Owner: lite
10928 --
10929
10930 CREATE INDEX ix_form_values_form_definition_id ON public.form_values USING btree (form_definition_id);
10931
10932
10933 --
10934 -- Name: ix_galaxy_group_deleted; Type: INDEX; Schema: public; Owner: lite
10935 --
10936
10937 CREATE INDEX ix_galaxy_group_deleted ON public.galaxy_group USING btree (deleted);
10938
10939
10940 --
10941 -- Name: ix_galaxy_group_name; Type: INDEX; Schema: public; Owner: lite
10942 --
10943
10944 CREATE UNIQUE INDEX ix_galaxy_group_name ON public.galaxy_group USING btree (name);
10945
10946
10947 --
10948 -- Name: ix_galaxy_session_disk_usage; Type: INDEX; Schema: public; Owner: lite
10949 --
10950
10951 CREATE INDEX ix_galaxy_session_disk_usage ON public.galaxy_session USING btree (disk_usage);
10952
10953
10954 --
10955 -- Name: ix_galaxy_session_session_key; Type: INDEX; Schema: public; Owner: lite
10956 --
10957
10958 CREATE UNIQUE INDEX ix_galaxy_session_session_key ON public.galaxy_session USING btree (session_key);
10959
10960
10961 --
10962 -- Name: ix_galaxy_session_to_history_history_id; Type: INDEX; Schema: public; Owner: lite
10963 --
10964
10965 CREATE INDEX ix_galaxy_session_to_history_history_id ON public.galaxy_session_to_history USING btree (history_id);
10966
10967
10968 --
10969 -- Name: ix_galaxy_session_to_history_session_id; Type: INDEX; Schema: public; Owner: lite
10970 --
10971
10972 CREATE INDEX ix_galaxy_session_to_history_session_id ON public.galaxy_session_to_history USING btree (session_id);
10973
10974
10975 --
10976 -- Name: ix_galaxy_session_user_id; Type: INDEX; Schema: public; Owner: lite
10977 --
10978
10979 CREATE INDEX ix_galaxy_session_user_id ON public.galaxy_session USING btree (user_id);
10980
10981
10982 --
10983 -- Name: ix_galaxy_user_deleted; Type: INDEX; Schema: public; Owner: lite
10984 --
10985
10986 CREATE INDEX ix_galaxy_user_deleted ON public.galaxy_user USING btree (deleted);
10987
10988
10989 --
10990 -- Name: ix_galaxy_user_disk_usage; Type: INDEX; Schema: public; Owner: lite
10991 --
10992
10993 CREATE INDEX ix_galaxy_user_disk_usage ON public.galaxy_user USING btree (disk_usage);
10994
10995
10996 --
10997 -- Name: ix_galaxy_user_email; Type: INDEX; Schema: public; Owner: lite
10998 --
10999
11000 CREATE INDEX ix_galaxy_user_email ON public.galaxy_user USING btree (email);
11001
11002
11003 --
11004 -- Name: ix_galaxy_user_form_values_id; Type: INDEX; Schema: public; Owner: lite
11005 --
11006
11007 CREATE INDEX ix_galaxy_user_form_values_id ON public.galaxy_user USING btree (form_values_id);
11008
11009
11010 --
11011 -- Name: ix_galaxy_user_openid_openid; Type: INDEX; Schema: public; Owner: lite
11012 --
11013
11014 CREATE UNIQUE INDEX ix_galaxy_user_openid_openid ON public.galaxy_user_openid USING btree (openid);
11015
11016
11017 --
11018 -- Name: ix_galaxy_user_openid_session_id; Type: INDEX; Schema: public; Owner: lite
11019 --
11020
11021 CREATE INDEX ix_galaxy_user_openid_session_id ON public.galaxy_user_openid USING btree (session_id);
11022
11023
11024 --
11025 -- Name: ix_galaxy_user_openid_update_time; Type: INDEX; Schema: public; Owner: lite
11026 --
11027
11028 CREATE INDEX ix_galaxy_user_openid_update_time ON public.galaxy_user_openid USING btree (update_time);
11029
11030
11031 --
11032 -- Name: ix_galaxy_user_openid_user_id; Type: INDEX; Schema: public; Owner: lite
11033 --
11034
11035 CREATE INDEX ix_galaxy_user_openid_user_id ON public.galaxy_user_openid USING btree (user_id);
11036
11037
11038 --
11039 -- Name: ix_galaxy_user_purged; Type: INDEX; Schema: public; Owner: lite
11040 --
11041
11042 CREATE INDEX ix_galaxy_user_purged ON public.galaxy_user USING btree (purged);
11043
11044
11045 --
11046 -- Name: ix_galaxy_user_username; Type: INDEX; Schema: public; Owner: lite
11047 --
11048
11049 CREATE INDEX ix_galaxy_user_username ON public.galaxy_user USING btree (username);
11050
11051
11052 --
11053 -- Name: ix_genome_index_tool_data_dataset_id; Type: INDEX; Schema: public; Owner: lite
11054 --
11055
11056 CREATE INDEX ix_genome_index_tool_data_dataset_id ON public.genome_index_tool_data USING btree (dataset_id);
11057
11058
11059 --
11060 -- Name: ix_genome_index_tool_data_deferred_job_id; Type: INDEX; Schema: public; Owner: lite
11061 --
11062
11063 CREATE INDEX ix_genome_index_tool_data_deferred_job_id ON public.genome_index_tool_data USING btree (deferred_job_id);
11064
11065
11066 --
11067 -- Name: ix_genome_index_tool_data_job_id; Type: INDEX; Schema: public; Owner: lite
11068 --
11069
11070 CREATE INDEX ix_genome_index_tool_data_job_id ON public.genome_index_tool_data USING btree (job_id);
11071
11072
11073 --
11074 -- Name: ix_genome_index_tool_data_transfer_job_id; Type: INDEX; Schema: public; Owner: lite
11075 --
11076
11077 CREATE INDEX ix_genome_index_tool_data_transfer_job_id ON public.genome_index_tool_data USING btree (transfer_job_id);
11078
11079
11080 --
11081 -- Name: ix_genome_index_tool_data_user_id; Type: INDEX; Schema: public; Owner: lite
11082 --
11083
11084 CREATE INDEX ix_genome_index_tool_data_user_id ON public.genome_index_tool_data USING btree (user_id);
11085
11086
11087 --
11088 -- Name: ix_group_quota_association_group_id; Type: INDEX; Schema: public; Owner: lite
11089 --
11090
11091 CREATE INDEX ix_group_quota_association_group_id ON public.group_quota_association USING btree (group_id);
11092
11093
11094 --
11095 -- Name: ix_group_quota_association_quota_id; Type: INDEX; Schema: public; Owner: lite
11096 --
11097
11098 CREATE INDEX ix_group_quota_association_quota_id ON public.group_quota_association USING btree (quota_id);
11099
11100
11101 --
11102 -- Name: ix_group_role_association_group_id; Type: INDEX; Schema: public; Owner: lite
11103 --
11104
11105 CREATE INDEX ix_group_role_association_group_id ON public.group_role_association USING btree (group_id);
11106
11107
11108 --
11109 -- Name: ix_group_role_association_role_id; Type: INDEX; Schema: public; Owner: lite
11110 --
11111
11112 CREATE INDEX ix_group_role_association_role_id ON public.group_role_association USING btree (role_id);
11113
11114
11115 --
11116 -- Name: ix_hda_copied_from_library_dataset_dataset_association_id; Type: INDEX; Schema: public; Owner: lite
11117 --
11118
11119 CREATE INDEX ix_hda_copied_from_library_dataset_dataset_association_id ON public.history_dataset_association USING btree (copied_from_library_dataset_dataset_association_id);
11120
11121
11122 --
11123 -- Name: ix_hda_id; Type: INDEX; Schema: public; Owner: lite
11124 --
11125
11126 CREATE INDEX ix_hda_id ON public.history_dataset_association_subset USING btree (history_dataset_association_id);
11127
11128
11129 --
11130 -- Name: ix_hda_subset_id; Type: INDEX; Schema: public; Owner: lite
11131 --
11132
11133 CREATE INDEX ix_hda_subset_id ON public.history_dataset_association_subset USING btree (history_dataset_association_subset_id);
11134
11135
11136 --
11137 -- Name: ix_history_anno_assoc_annotation; Type: INDEX; Schema: public; Owner: lite
11138 --
11139
11140 CREATE INDEX ix_history_anno_assoc_annotation ON public.history_annotation_association USING btree (annotation);
11141
11142
11143 --
11144 -- Name: ix_history_annotation_association_history_id; Type: INDEX; Schema: public; Owner: lite
11145 --
11146
11147 CREATE INDEX ix_history_annotation_association_history_id ON public.history_annotation_association USING btree (history_id);
11148
11149
11150 --
11151 -- Name: ix_history_annotation_association_user_id; Type: INDEX; Schema: public; Owner: lite
11152 --
11153
11154 CREATE INDEX ix_history_annotation_association_user_id ON public.history_annotation_association USING btree (user_id);
11155
11156
11157 --
11158 -- Name: ix_history_dataset_anno_assoc_annotation; Type: INDEX; Schema: public; Owner: lite
11159 --
11160
11161 CREATE INDEX ix_history_dataset_anno_assoc_annotation ON public.history_dataset_association_annotation_association USING btree (annotation);
11162
11163
11164 --
11165 -- Name: ix_history_dataset_association_annotation_association_h_e624; Type: INDEX; Schema: public; Owner: lite
11166 --
11167
11168 CREATE INDEX ix_history_dataset_association_annotation_association_h_e624 ON public.history_dataset_association_annotation_association USING btree (history_dataset_association_id);
11169
11170
11171 --
11172 -- Name: ix_history_dataset_association_annotation_association_user_id; Type: INDEX; Schema: public; Owner: lite
11173 --
11174
11175 CREATE INDEX ix_history_dataset_association_annotation_association_user_id ON public.history_dataset_association_annotation_association USING btree (user_id);
11176
11177
11178 --
11179 -- Name: ix_history_dataset_association_dataset_id; Type: INDEX; Schema: public; Owner: lite
11180 --
11181
11182 CREATE INDEX ix_history_dataset_association_dataset_id ON public.history_dataset_association USING btree (dataset_id);
11183
11184
11185 --
11186 -- Name: ix_history_dataset_association_deleted; Type: INDEX; Schema: public; Owner: lite
11187 --
11188
11189 CREATE INDEX ix_history_dataset_association_deleted ON public.history_dataset_association USING btree (deleted);
11190
11191
11192 --
11193 -- Name: ix_history_dataset_association_display_at_authorization_9dc8; Type: INDEX; Schema: public; Owner: lite
11194 --
11195
11196 CREATE INDEX ix_history_dataset_association_display_at_authorization_9dc8 ON public.history_dataset_association_display_at_authorization USING btree (update_time);
11197
11198
11199 --
11200 -- Name: ix_history_dataset_association_display_at_authorization_a293; Type: INDEX; Schema: public; Owner: lite
11201 --
11202
11203 CREATE INDEX ix_history_dataset_association_display_at_authorization_a293 ON public.history_dataset_association_display_at_authorization USING btree (history_dataset_association_id);
11204
11205
11206 --
11207 -- Name: ix_history_dataset_association_display_at_authorization_user_id; Type: INDEX; Schema: public; Owner: lite
11208 --
11209
11210 CREATE INDEX ix_history_dataset_association_display_at_authorization_user_id ON public.history_dataset_association_display_at_authorization USING btree (user_id);
11211
11212
11213 --
11214 -- Name: ix_history_dataset_association_history_id; Type: INDEX; Schema: public; Owner: lite
11215 --
11216
11217 CREATE INDEX ix_history_dataset_association_history_id ON public.history_dataset_association USING btree (history_id);
11218
11219
11220 --
11221 -- Name: ix_history_dataset_association_purged; Type: INDEX; Schema: public; Owner: lite
11222 --
11223
11224 CREATE INDEX ix_history_dataset_association_purged ON public.history_dataset_association USING btree (purged);
11225
11226
11227 --
11228 -- Name: ix_history_dataset_association_rating_association_histo_2052; Type: INDEX; Schema: public; Owner: lite
11229 --
11230
11231 CREATE INDEX ix_history_dataset_association_rating_association_histo_2052 ON public.history_dataset_association_rating_association USING btree (history_dataset_association_id);
11232
11233
11234 --
11235 -- Name: ix_history_dataset_association_rating_association_rating; Type: INDEX; Schema: public; Owner: lite
11236 --
11237
11238 CREATE INDEX ix_history_dataset_association_rating_association_rating ON public.history_dataset_association_rating_association USING btree (rating);
11239
11240
11241 --
11242 -- Name: ix_history_dataset_association_rating_association_user_id; Type: INDEX; Schema: public; Owner: lite
11243 --
11244
11245 CREATE INDEX ix_history_dataset_association_rating_association_user_id ON public.history_dataset_association_rating_association USING btree (user_id);
11246
11247
11248 --
11249 -- Name: ix_history_dataset_association_state; Type: INDEX; Schema: public; Owner: lite
11250 --
11251
11252 CREATE INDEX ix_history_dataset_association_state ON public.history_dataset_association USING btree (state);
11253
11254
11255 --
11256 -- Name: ix_history_dataset_association_subset_location; Type: INDEX; Schema: public; Owner: lite
11257 --
11258
11259 CREATE INDEX ix_history_dataset_association_subset_location ON public.history_dataset_association_subset USING btree (location);
11260
11261
11262 --
11263 -- Name: ix_history_dataset_association_tag_association_history__d2de; Type: INDEX; Schema: public; Owner: lite
11264 --
11265
11266 CREATE INDEX ix_history_dataset_association_tag_association_history__d2de ON public.history_dataset_association_tag_association USING btree (history_dataset_association_id);
11267
11268
11269 --
11270 -- Name: ix_history_dataset_association_tag_association_tag_id; Type: INDEX; Schema: public; Owner: lite
11271 --
11272
11273 CREATE INDEX ix_history_dataset_association_tag_association_tag_id ON public.history_dataset_association_tag_association USING btree (tag_id);
11274
11275
11276 --
11277 -- Name: ix_history_dataset_association_tag_association_user_id; Type: INDEX; Schema: public; Owner: lite
11278 --
11279
11280 CREATE INDEX ix_history_dataset_association_tag_association_user_id ON public.history_dataset_association_tag_association USING btree (user_id);
11281
11282
11283 --
11284 -- Name: ix_history_dataset_association_tag_association_user_tname; Type: INDEX; Schema: public; Owner: lite
11285 --
11286
11287 CREATE INDEX ix_history_dataset_association_tag_association_user_tname ON public.history_dataset_association_tag_association USING btree (user_tname);
11288
11289
11290 --
11291 -- Name: ix_history_dataset_association_tag_association_user_value; Type: INDEX; Schema: public; Owner: lite
11292 --
11293
11294 CREATE INDEX ix_history_dataset_association_tag_association_user_value ON public.history_dataset_association_tag_association USING btree (user_value);
11295
11296
11297 --
11298 -- Name: ix_history_dataset_association_tag_association_value; Type: INDEX; Schema: public; Owner: lite
11299 --
11300
11301 CREATE INDEX ix_history_dataset_association_tag_association_value ON public.history_dataset_association_tag_association USING btree (value);
11302
11303
11304 --
11305 -- Name: ix_history_dataset_collection_annotation_association_hi_f516; Type: INDEX; Schema: public; Owner: lite
11306 --
11307
11308 CREATE INDEX ix_history_dataset_collection_annotation_association_hi_f516 ON public.history_dataset_collection_annotation_association USING btree (history_dataset_collection_id);
11309
11310
11311 --
11312 -- Name: ix_history_dataset_collection_annotation_association_user_id; Type: INDEX; Schema: public; Owner: lite
11313 --
11314
11315 CREATE INDEX ix_history_dataset_collection_annotation_association_user_id ON public.history_dataset_collection_annotation_association USING btree (user_id);
11316
11317
11318 --
11319 -- Name: ix_history_dataset_collection_association_collection_id; Type: INDEX; Schema: public; Owner: lite
11320 --
11321
11322 CREATE INDEX ix_history_dataset_collection_association_collection_id ON public.history_dataset_collection_association USING btree (collection_id);
11323
11324
11325 --
11326 -- Name: ix_history_dataset_collection_association_history_id; Type: INDEX; Schema: public; Owner: lite
11327 --
11328
11329 CREATE INDEX ix_history_dataset_collection_association_history_id ON public.history_dataset_collection_association USING btree (history_id);
11330
11331
11332 --
11333 -- Name: ix_history_dataset_collection_rating_association_histor_c7e9; Type: INDEX; Schema: public; Owner: lite
11334 --
11335
11336 CREATE INDEX ix_history_dataset_collection_rating_association_histor_c7e9 ON public.history_dataset_collection_rating_association USING btree (history_dataset_collection_id);
11337
11338
11339 --
11340 -- Name: ix_history_dataset_collection_rating_association_rating; Type: INDEX; Schema: public; Owner: lite
11341 --
11342
11343 CREATE INDEX ix_history_dataset_collection_rating_association_rating ON public.history_dataset_collection_rating_association USING btree (rating);
11344
11345
11346 --
11347 -- Name: ix_history_dataset_collection_rating_association_user_id; Type: INDEX; Schema: public; Owner: lite
11348 --
11349
11350 CREATE INDEX ix_history_dataset_collection_rating_association_user_id ON public.history_dataset_collection_rating_association USING btree (user_id);
11351
11352
11353 --
11354 -- Name: ix_history_dataset_collection_tag_association_history_d_f807; Type: INDEX; Schema: public; Owner: lite
11355 --
11356
11357 CREATE INDEX ix_history_dataset_collection_tag_association_history_d_f807 ON public.history_dataset_collection_tag_association USING btree (history_dataset_collection_id);
11358
11359
11360 --
11361 -- Name: ix_history_dataset_collection_tag_association_tag_id; Type: INDEX; Schema: public; Owner: lite
11362 --
11363
11364 CREATE INDEX ix_history_dataset_collection_tag_association_tag_id ON public.history_dataset_collection_tag_association USING btree (tag_id);
11365
11366
11367 --
11368 -- Name: ix_history_dataset_collection_tag_association_user_id; Type: INDEX; Schema: public; Owner: lite
11369 --
11370
11371 CREATE INDEX ix_history_dataset_collection_tag_association_user_id ON public.history_dataset_collection_tag_association USING btree (user_id);
11372
11373
11374 --
11375 -- Name: ix_history_dataset_collection_tag_association_user_tname; Type: INDEX; Schema: public; Owner: lite
11376 --
11377
11378 CREATE INDEX ix_history_dataset_collection_tag_association_user_tname ON public.history_dataset_collection_tag_association USING btree (user_tname);
11379
11380
11381 --
11382 -- Name: ix_history_dataset_collection_tag_association_user_value; Type: INDEX; Schema: public; Owner: lite
11383 --
11384
11385 CREATE INDEX ix_history_dataset_collection_tag_association_user_value ON public.history_dataset_collection_tag_association USING btree (user_value);
11386
11387
11388 --
11389 -- Name: ix_history_dataset_collection_tag_association_value; Type: INDEX; Schema: public; Owner: lite
11390 --
11391
11392 CREATE INDEX ix_history_dataset_collection_tag_association_value ON public.history_dataset_collection_tag_association USING btree (value);
11393
11394
11395 --
11396 -- Name: ix_history_deleted; Type: INDEX; Schema: public; Owner: lite
11397 --
11398
11399 CREATE INDEX ix_history_deleted ON public.history USING btree (deleted);
11400
11401
11402 --
11403 -- Name: ix_history_importable; Type: INDEX; Schema: public; Owner: lite
11404 --
11405
11406 CREATE INDEX ix_history_importable ON public.history USING btree (importable);
11407
11408
11409 --
11410 -- Name: ix_history_importing; Type: INDEX; Schema: public; Owner: lite
11411 --
11412
11413 CREATE INDEX ix_history_importing ON public.history USING btree (importing);
11414
11415
11416 --
11417 -- Name: ix_history_published; Type: INDEX; Schema: public; Owner: lite
11418 --
11419
11420 CREATE INDEX ix_history_published ON public.history USING btree (published);
11421
11422
11423 --
11424 -- Name: ix_history_purged; Type: INDEX; Schema: public; Owner: lite
11425 --
11426
11427 CREATE INDEX ix_history_purged ON public.history USING btree (purged);
11428
11429
11430 --
11431 -- Name: ix_history_rating_association_history_id; Type: INDEX; Schema: public; Owner: lite
11432 --
11433
11434 CREATE INDEX ix_history_rating_association_history_id ON public.history_rating_association USING btree (history_id);
11435
11436
11437 --
11438 -- Name: ix_history_rating_association_rating; Type: INDEX; Schema: public; Owner: lite
11439 --
11440
11441 CREATE INDEX ix_history_rating_association_rating ON public.history_rating_association USING btree (rating);
11442
11443
11444 --
11445 -- Name: ix_history_rating_association_user_id; Type: INDEX; Schema: public; Owner: lite
11446 --
11447
11448 CREATE INDEX ix_history_rating_association_user_id ON public.history_rating_association USING btree (user_id);
11449
11450
11451 --
11452 -- Name: ix_history_slug; Type: INDEX; Schema: public; Owner: lite
11453 --
11454
11455 CREATE INDEX ix_history_slug ON public.history USING btree (slug);
11456
11457
11458 --
11459 -- Name: ix_history_tag_association_history_id; Type: INDEX; Schema: public; Owner: lite
11460 --
11461
11462 CREATE INDEX ix_history_tag_association_history_id ON public.history_tag_association USING btree (history_id);
11463
11464
11465 --
11466 -- Name: ix_history_tag_association_tag_id; Type: INDEX; Schema: public; Owner: lite
11467 --
11468
11469 CREATE INDEX ix_history_tag_association_tag_id ON public.history_tag_association USING btree (tag_id);
11470
11471
11472 --
11473 -- Name: ix_history_tag_association_user_id; Type: INDEX; Schema: public; Owner: lite
11474 --
11475
11476 CREATE INDEX ix_history_tag_association_user_id ON public.history_tag_association USING btree (user_id);
11477
11478
11479 --
11480 -- Name: ix_history_tag_association_user_tname; Type: INDEX; Schema: public; Owner: lite
11481 --
11482
11483 CREATE INDEX ix_history_tag_association_user_tname ON public.history_tag_association USING btree (user_tname);
11484
11485
11486 --
11487 -- Name: ix_history_tag_association_user_value; Type: INDEX; Schema: public; Owner: lite
11488 --
11489
11490 CREATE INDEX ix_history_tag_association_user_value ON public.history_tag_association USING btree (user_value);
11491
11492
11493 --
11494 -- Name: ix_history_tag_association_value; Type: INDEX; Schema: public; Owner: lite
11495 --
11496
11497 CREATE INDEX ix_history_tag_association_value ON public.history_tag_association USING btree (value);
11498
11499
11500 --
11501 -- Name: ix_history_update_time; Type: INDEX; Schema: public; Owner: lite
11502 --
11503
11504 CREATE INDEX ix_history_update_time ON public.history USING btree (update_time);
11505
11506
11507 --
11508 -- Name: ix_history_user_id; Type: INDEX; Schema: public; Owner: lite
11509 --
11510
11511 CREATE INDEX ix_history_user_id ON public.history USING btree (user_id);
11512
11513
11514 --
11515 -- Name: ix_history_user_share_association_history_id; Type: INDEX; Schema: public; Owner: lite
11516 --
11517
11518 CREATE INDEX ix_history_user_share_association_history_id ON public.history_user_share_association USING btree (history_id);
11519
11520
11521 --
11522 -- Name: ix_history_user_share_association_user_id; Type: INDEX; Schema: public; Owner: lite
11523 --
11524
11525 CREATE INDEX ix_history_user_share_association_user_id ON public.history_user_share_association USING btree (user_id);
11526
11527
11528 --
11529 -- Name: ix_icda_ldda_id; Type: INDEX; Schema: public; Owner: lite
11530 --
11531
11532 CREATE INDEX ix_icda_ldda_id ON public.implicitly_converted_dataset_association USING btree (ldda_id);
11533
11534
11535 --
11536 -- Name: ix_icda_ldda_parent_id; Type: INDEX; Schema: public; Owner: lite
11537 --
11538
11539 CREATE INDEX ix_icda_ldda_parent_id ON public.implicitly_converted_dataset_association USING btree (ldda_parent_id);
11540
11541
11542 --
11543 -- Name: ix_implicitly_converted_dataset_assoc_ldda_parent_id; Type: INDEX; Schema: public; Owner: lite
11544 --
11545
11546 CREATE INDEX ix_implicitly_converted_dataset_assoc_ldda_parent_id ON public.implicitly_converted_dataset_association USING btree (ldda_parent_id);
11547
11548
11549 --
11550 -- Name: ix_implicitly_converted_dataset_association_deleted; Type: INDEX; Schema: public; Owner: lite
11551 --
11552
11553 CREATE INDEX ix_implicitly_converted_dataset_association_deleted ON public.implicitly_converted_dataset_association USING btree (deleted);
11554
11555
11556 --
11557 -- Name: ix_implicitly_converted_dataset_association_hda_id; Type: INDEX; Schema: public; Owner: lite
11558 --
11559
11560 CREATE INDEX ix_implicitly_converted_dataset_association_hda_id ON public.implicitly_converted_dataset_association USING btree (hda_id);
11561
11562
11563 --
11564 -- Name: ix_implicitly_converted_dataset_association_hda_parent_id; Type: INDEX; Schema: public; Owner: lite
11565 --
11566
11567 CREATE INDEX ix_implicitly_converted_dataset_association_hda_parent_id ON public.implicitly_converted_dataset_association USING btree (hda_parent_id);
11568
11569
11570 --
11571 -- Name: ix_implicitly_converted_dataset_association_metadata_safe; Type: INDEX; Schema: public; Owner: lite
11572 --
11573
11574 CREATE INDEX ix_implicitly_converted_dataset_association_metadata_safe ON public.implicitly_converted_dataset_association USING btree (metadata_safe);
11575
11576
11577 --
11578 -- Name: ix_implicitly_converted_ds_assoc_ldda_id; Type: INDEX; Schema: public; Owner: lite
11579 --
11580
11581 CREATE INDEX ix_implicitly_converted_ds_assoc_ldda_id ON public.implicitly_converted_dataset_association USING btree (ldda_id);
11582
11583
11584 --
11585 -- Name: ix_implicitly_created_dataset_collection_inputs_dataset_5590; Type: INDEX; Schema: public; Owner: lite
11586 --
11587
11588 CREATE INDEX ix_implicitly_created_dataset_collection_inputs_dataset_5590 ON public.implicitly_created_dataset_collection_inputs USING btree (dataset_collection_id);
11589
11590
11591 --
11592 -- Name: ix_implicitly_created_dataset_collection_inputs_input_d_b5c7; Type: INDEX; Schema: public; Owner: lite
11593 --
11594
11595 CREATE INDEX ix_implicitly_created_dataset_collection_inputs_input_d_b5c7 ON public.implicitly_created_dataset_collection_inputs USING btree (input_dataset_collection_id);
11596
11597
11598 --
11599 -- Name: ix_jeom_library_dataset_dataset_association_id; Type: INDEX; Schema: public; Owner: lite
11600 --
11601
11602 CREATE INDEX ix_jeom_library_dataset_dataset_association_id ON public.job_external_output_metadata USING btree (library_dataset_dataset_association_id);
11603
11604
11605 --
11606 -- Name: ix_job_export_history_archive_compressed; Type: INDEX; Schema: public; Owner: lite
11607 --
11608
11609 CREATE INDEX ix_job_export_history_archive_compressed ON public.job_export_history_archive USING btree (compressed);
11610
11611
11612 --
11613 -- Name: ix_job_export_history_archive_dataset_id; Type: INDEX; Schema: public; Owner: lite
11614 --
11615
11616 CREATE INDEX ix_job_export_history_archive_dataset_id ON public.job_export_history_archive USING btree (dataset_id);
11617
11618
11619 --
11620 -- Name: ix_job_export_history_archive_history_id; Type: INDEX; Schema: public; Owner: lite
11621 --
11622
11623 CREATE INDEX ix_job_export_history_archive_history_id ON public.job_export_history_archive USING btree (history_id);
11624
11625
11626 --
11627 -- Name: ix_job_export_history_archive_job_id; Type: INDEX; Schema: public; Owner: lite
11628 --
11629
11630 CREATE INDEX ix_job_export_history_archive_job_id ON public.job_export_history_archive USING btree (job_id);
11631
11632
11633 --
11634 -- Name: ix_job_external_output_metadata_history_dataset_association_id; Type: INDEX; Schema: public; Owner: lite
11635 --
11636
11637 CREATE INDEX ix_job_external_output_metadata_history_dataset_association_id ON public.job_external_output_metadata USING btree (history_dataset_association_id);
11638
11639
11640 --
11641 -- Name: ix_job_external_output_metadata_job_id; Type: INDEX; Schema: public; Owner: lite
11642 --
11643
11644 CREATE INDEX ix_job_external_output_metadata_job_id ON public.job_external_output_metadata USING btree (job_id);
11645
11646
11647 --
11648 -- Name: ix_job_handler; Type: INDEX; Schema: public; Owner: lite
11649 --
11650
11651 CREATE INDEX ix_job_handler ON public.job USING btree (handler);
11652
11653
11654 --
11655 -- Name: ix_job_history_id; Type: INDEX; Schema: public; Owner: lite
11656 --
11657
11658 CREATE INDEX ix_job_history_id ON public.job USING btree (history_id);
11659
11660
11661 --
11662 -- Name: ix_job_import_history_archive_history_id; Type: INDEX; Schema: public; Owner: lite
11663 --
11664
11665 CREATE INDEX ix_job_import_history_archive_history_id ON public.job_import_history_archive USING btree (history_id);
11666
11667
11668 --
11669 -- Name: ix_job_import_history_archive_job_id; Type: INDEX; Schema: public; Owner: lite
11670 --
11671
11672 CREATE INDEX ix_job_import_history_archive_job_id ON public.job_import_history_archive USING btree (job_id);
11673
11674
11675 --
11676 -- Name: ix_job_imported; Type: INDEX; Schema: public; Owner: lite
11677 --
11678
11679 CREATE INDEX ix_job_imported ON public.job USING btree (imported);
11680
11681
11682 --
11683 -- Name: ix_job_library_folder_id; Type: INDEX; Schema: public; Owner: lite
11684 --
11685
11686 CREATE INDEX ix_job_library_folder_id ON public.job USING btree (library_folder_id);
11687
11688
11689 --
11690 -- Name: ix_job_metric_numeric_job_id; Type: INDEX; Schema: public; Owner: lite
11691 --
11692
11693 CREATE INDEX ix_job_metric_numeric_job_id ON public.job_metric_numeric USING btree (job_id);
11694
11695
11696 --
11697 -- Name: ix_job_metric_text_job_id; Type: INDEX; Schema: public; Owner: lite
11698 --
11699
11700 CREATE INDEX ix_job_metric_text_job_id ON public.job_metric_text USING btree (job_id);
11701
11702
11703 --
11704 -- Name: ix_job_object_store_id; Type: INDEX; Schema: public; Owner: lite
11705 --
11706
11707 CREATE INDEX ix_job_object_store_id ON public.job USING btree (object_store_id);
11708
11709
11710 --
11711 -- Name: ix_job_parameter_job_id; Type: INDEX; Schema: public; Owner: lite
11712 --
11713
11714 CREATE INDEX ix_job_parameter_job_id ON public.job_parameter USING btree (job_id);
11715
11716
11717 --
11718 -- Name: ix_job_params; Type: INDEX; Schema: public; Owner: lite
11719 --
11720
11721 CREATE INDEX ix_job_params ON public.job USING btree (params);
11722
11723
11724 --
11725 -- Name: ix_job_session_id; Type: INDEX; Schema: public; Owner: lite
11726 --
11727
11728 CREATE INDEX ix_job_session_id ON public.job USING btree (session_id);
11729
11730
11731 --
11732 -- Name: ix_job_state; Type: INDEX; Schema: public; Owner: lite
11733 --
11734
11735 CREATE INDEX ix_job_state ON public.job USING btree (state);
11736
11737
11738 --
11739 -- Name: ix_job_state_history_job_id; Type: INDEX; Schema: public; Owner: lite
11740 --
11741
11742 CREATE INDEX ix_job_state_history_job_id ON public.job_state_history USING btree (job_id);
11743
11744
11745 --
11746 -- Name: ix_job_state_history_state; Type: INDEX; Schema: public; Owner: lite
11747 --
11748
11749 CREATE INDEX ix_job_state_history_state ON public.job_state_history USING btree (state);
11750
11751
11752 --
11753 -- Name: ix_job_to_implicit_output_dataset_collection_dataset_co_c788; Type: INDEX; Schema: public; Owner: lite
11754 --
11755
11756 CREATE INDEX ix_job_to_implicit_output_dataset_collection_dataset_co_c788 ON public.job_to_implicit_output_dataset_collection USING btree (dataset_collection_id);
11757
11758
11759 --
11760 -- Name: ix_job_to_implicit_output_dataset_collection_job_id; Type: INDEX; Schema: public; Owner: lite
11761 --
11762
11763 CREATE INDEX ix_job_to_implicit_output_dataset_collection_job_id ON public.job_to_implicit_output_dataset_collection USING btree (job_id);
11764
11765
11766 --
11767 -- Name: ix_job_to_input_dataset_collection_dataset_collection_id; Type: INDEX; Schema: public; Owner: lite
11768 --
11769
11770 CREATE INDEX ix_job_to_input_dataset_collection_dataset_collection_id ON public.job_to_input_dataset_collection USING btree (dataset_collection_id);
11771
11772
11773 --
11774 -- Name: ix_job_to_input_dataset_collection_job_id; Type: INDEX; Schema: public; Owner: lite
11775 --
11776
11777 CREATE INDEX ix_job_to_input_dataset_collection_job_id ON public.job_to_input_dataset_collection USING btree (job_id);
11778
11779
11780 --
11781 -- Name: ix_job_to_input_dataset_dataset_id; Type: INDEX; Schema: public; Owner: lite
11782 --
11783
11784 CREATE INDEX ix_job_to_input_dataset_dataset_id ON public.job_to_input_dataset USING btree (dataset_id);
11785
11786
11787 --
11788 -- Name: ix_job_to_input_dataset_job_id; Type: INDEX; Schema: public; Owner: lite
11789 --
11790
11791 CREATE INDEX ix_job_to_input_dataset_job_id ON public.job_to_input_dataset USING btree (job_id);
11792
11793
11794 --
11795 -- Name: ix_job_to_input_library_dataset_job_id; Type: INDEX; Schema: public; Owner: lite
11796 --
11797
11798 CREATE INDEX ix_job_to_input_library_dataset_job_id ON public.job_to_input_library_dataset USING btree (job_id);
11799
11800
11801 --
11802 -- Name: ix_job_to_input_library_dataset_ldda_id; Type: INDEX; Schema: public; Owner: lite
11803 --
11804
11805 CREATE INDEX ix_job_to_input_library_dataset_ldda_id ON public.job_to_input_library_dataset USING btree (ldda_id);
11806
11807
11808 --
11809 -- Name: ix_job_to_output_dataset_collection_dataset_collection_id; Type: INDEX; Schema: public; Owner: lite
11810 --
11811
11812 CREATE INDEX ix_job_to_output_dataset_collection_dataset_collection_id ON public.job_to_output_dataset_collection USING btree (dataset_collection_id);
11813
11814
11815 --
11816 -- Name: ix_job_to_output_dataset_collection_job_id; Type: INDEX; Schema: public; Owner: lite
11817 --
11818
11819 CREATE INDEX ix_job_to_output_dataset_collection_job_id ON public.job_to_output_dataset_collection USING btree (job_id);
11820
11821
11822 --
11823 -- Name: ix_job_to_output_dataset_dataset_id; Type: INDEX; Schema: public; Owner: lite
11824 --
11825
11826 CREATE INDEX ix_job_to_output_dataset_dataset_id ON public.job_to_output_dataset USING btree (dataset_id);
11827
11828
11829 --
11830 -- Name: ix_job_to_output_dataset_job_id; Type: INDEX; Schema: public; Owner: lite
11831 --
11832
11833 CREATE INDEX ix_job_to_output_dataset_job_id ON public.job_to_output_dataset USING btree (job_id);
11834
11835
11836 --
11837 -- Name: ix_job_to_output_library_dataset_job_id; Type: INDEX; Schema: public; Owner: lite
11838 --
11839
11840 CREATE INDEX ix_job_to_output_library_dataset_job_id ON public.job_to_output_library_dataset USING btree (job_id);
11841
11842
11843 --
11844 -- Name: ix_job_to_output_library_dataset_ldda_id; Type: INDEX; Schema: public; Owner: lite
11845 --
11846
11847 CREATE INDEX ix_job_to_output_library_dataset_ldda_id ON public.job_to_output_library_dataset USING btree (ldda_id);
11848
11849
11850 --
11851 -- Name: ix_job_user_id; Type: INDEX; Schema: public; Owner: lite
11852 --
11853
11854 CREATE INDEX ix_job_user_id ON public.job USING btree (user_id);
11855
11856
11857 --
11858 -- Name: ix_lddap_library_dataset_dataset_association_id; Type: INDEX; Schema: public; Owner: lite
11859 --
11860
11861 CREATE INDEX ix_lddap_library_dataset_dataset_association_id ON public.library_dataset_dataset_association_permissions USING btree (library_dataset_dataset_association_id);
11862
11863
11864 --
11865 -- Name: ix_lddia_deleted; Type: INDEX; Schema: public; Owner: lite
11866 --
11867
11868 CREATE INDEX ix_lddia_deleted ON public.library_dataset_dataset_info_association USING btree (deleted);
11869
11870
11871 --
11872 -- Name: ix_lfia_deleted; Type: INDEX; Schema: public; Owner: lite
11873 --
11874
11875 CREATE INDEX ix_lfia_deleted ON public.library_folder_info_association USING btree (deleted);
11876
11877
11878 --
11879 -- Name: ix_lfia_inheritable; Type: INDEX; Schema: public; Owner: lite
11880 --
11881
11882 CREATE INDEX ix_lfia_inheritable ON public.library_folder_info_association USING btree (inheritable);
11883
11884
11885 --
11886 -- Name: ix_lia_deleted; Type: INDEX; Schema: public; Owner: lite
11887 --
11888
11889 CREATE INDEX ix_lia_deleted ON public.library_info_association USING btree (deleted);
11890
11891
11892 --
11893 -- Name: ix_lia_inheritable; Type: INDEX; Schema: public; Owner: lite
11894 --
11895
11896 CREATE INDEX ix_lia_inheritable ON public.library_info_association USING btree (inheritable);
11897
11898
11899 --
11900 -- Name: ix_library_dataset_collection_annotation_association_li_8a3d; Type: INDEX; Schema: public; Owner: lite
11901 --
11902
11903 CREATE INDEX ix_library_dataset_collection_annotation_association_li_8a3d ON public.library_dataset_collection_annotation_association USING btree (library_dataset_collection_id);
11904
11905
11906 --
11907 -- Name: ix_library_dataset_collection_annotation_association_user_id; Type: INDEX; Schema: public; Owner: lite
11908 --
11909
11910 CREATE INDEX ix_library_dataset_collection_annotation_association_user_id ON public.library_dataset_collection_annotation_association USING btree (user_id);
11911
11912
11913 --
11914 -- Name: ix_library_dataset_collection_association_collection_id; Type: INDEX; Schema: public; Owner: lite
11915 --
11916
11917 CREATE INDEX ix_library_dataset_collection_association_collection_id ON public.library_dataset_collection_association USING btree (collection_id);
11918
11919
11920 --
11921 -- Name: ix_library_dataset_collection_association_folder_id; Type: INDEX; Schema: public; Owner: lite
11922 --
11923
11924 CREATE INDEX ix_library_dataset_collection_association_folder_id ON public.library_dataset_collection_association USING btree (folder_id);
11925
11926
11927 --
11928 -- Name: ix_library_dataset_collection_rating_association_librar_877d; Type: INDEX; Schema: public; Owner: lite
11929 --
11930
11931 CREATE INDEX ix_library_dataset_collection_rating_association_librar_877d ON public.library_dataset_collection_rating_association USING btree (library_dataset_collection_id);
11932
11933
11934 --
11935 -- Name: ix_library_dataset_collection_rating_association_rating; Type: INDEX; Schema: public; Owner: lite
11936 --
11937
11938 CREATE INDEX ix_library_dataset_collection_rating_association_rating ON public.library_dataset_collection_rating_association USING btree (rating);
11939
11940
11941 --
11942 -- Name: ix_library_dataset_collection_rating_association_user_id; Type: INDEX; Schema: public; Owner: lite
11943 --
11944
11945 CREATE INDEX ix_library_dataset_collection_rating_association_user_id ON public.library_dataset_collection_rating_association USING btree (user_id);
11946
11947
11948 --
11949 -- Name: ix_library_dataset_collection_tag_association_library_d_41b1; Type: INDEX; Schema: public; Owner: lite
11950 --
11951
11952 CREATE INDEX ix_library_dataset_collection_tag_association_library_d_41b1 ON public.library_dataset_collection_tag_association USING btree (library_dataset_collection_id);
11953
11954
11955 --
11956 -- Name: ix_library_dataset_collection_tag_association_tag_id; Type: INDEX; Schema: public; Owner: lite
11957 --
11958
11959 CREATE INDEX ix_library_dataset_collection_tag_association_tag_id ON public.library_dataset_collection_tag_association USING btree (tag_id);
11960
11961
11962 --
11963 -- Name: ix_library_dataset_collection_tag_association_user_id; Type: INDEX; Schema: public; Owner: lite
11964 --
11965
11966 CREATE INDEX ix_library_dataset_collection_tag_association_user_id ON public.library_dataset_collection_tag_association USING btree (user_id);
11967
11968
11969 --
11970 -- Name: ix_library_dataset_collection_tag_association_user_tname; Type: INDEX; Schema: public; Owner: lite
11971 --
11972
11973 CREATE INDEX ix_library_dataset_collection_tag_association_user_tname ON public.library_dataset_collection_tag_association USING btree (user_tname);
11974
11975
11976 --
11977 -- Name: ix_library_dataset_collection_tag_association_user_value; Type: INDEX; Schema: public; Owner: lite
11978 --
11979
11980 CREATE INDEX ix_library_dataset_collection_tag_association_user_value ON public.library_dataset_collection_tag_association USING btree (user_value);
11981
11982
11983 --
11984 -- Name: ix_library_dataset_collection_tag_association_value; Type: INDEX; Schema: public; Owner: lite
11985 --
11986
11987 CREATE INDEX ix_library_dataset_collection_tag_association_value ON public.library_dataset_collection_tag_association USING btree (value);
11988
11989
11990 --
11991 -- Name: ix_library_dataset_dataset_association_dataset_id; Type: INDEX; Schema: public; Owner: lite
11992 --
11993
11994 CREATE INDEX ix_library_dataset_dataset_association_dataset_id ON public.library_dataset_dataset_association USING btree (dataset_id);
11995
11996
11997 --
11998 -- Name: ix_library_dataset_dataset_association_deleted; Type: INDEX; Schema: public; Owner: lite
11999 --
12000
12001 CREATE INDEX ix_library_dataset_dataset_association_deleted ON public.library_dataset_dataset_association USING btree (deleted);
12002
12003
12004 --
12005 -- Name: ix_library_dataset_dataset_association_library_dataset_id; Type: INDEX; Schema: public; Owner: lite
12006 --
12007
12008 CREATE INDEX ix_library_dataset_dataset_association_library_dataset_id ON public.library_dataset_dataset_association USING btree (library_dataset_id);
12009
12010
12011 --
12012 -- Name: ix_library_dataset_dataset_association_name; Type: INDEX; Schema: public; Owner: lite
12013 --
12014
12015 CREATE INDEX ix_library_dataset_dataset_association_name ON public.library_dataset_dataset_association USING btree (name);
12016
12017
12018 --
12019 -- Name: ix_library_dataset_dataset_association_permissions_role_id; Type: INDEX; Schema: public; Owner: lite
12020 --
12021
12022 CREATE INDEX ix_library_dataset_dataset_association_permissions_role_id ON public.library_dataset_dataset_association_permissions USING btree (role_id);
12023
12024
12025 --
12026 -- Name: ix_library_dataset_dataset_association_state; Type: INDEX; Schema: public; Owner: lite
12027 --
12028
12029 CREATE INDEX ix_library_dataset_dataset_association_state ON public.library_dataset_dataset_association USING btree (state);
12030
12031
12032 --
12033 -- Name: ix_library_dataset_dataset_association_tag_association__087f; Type: INDEX; Schema: public; Owner: lite
12034 --
12035
12036 CREATE INDEX ix_library_dataset_dataset_association_tag_association__087f ON public.library_dataset_dataset_association_tag_association USING btree (user_value);
12037
12038
12039 --
12040 -- Name: ix_library_dataset_dataset_association_tag_association__3501; Type: INDEX; Schema: public; Owner: lite
12041 --
12042
12043 CREATE INDEX ix_library_dataset_dataset_association_tag_association__3501 ON public.library_dataset_dataset_association_tag_association USING btree (user_tname);
12044
12045
12046 --
12047 -- Name: ix_library_dataset_dataset_association_tag_association__f6fd; Type: INDEX; Schema: public; Owner: lite
12048 --
12049
12050 CREATE INDEX ix_library_dataset_dataset_association_tag_association__f6fd ON public.library_dataset_dataset_association_tag_association USING btree (library_dataset_dataset_association_id);
12051
12052
12053 --
12054 -- Name: ix_library_dataset_dataset_association_tag_association_tag_id; Type: INDEX; Schema: public; Owner: lite
12055 --
12056
12057 CREATE INDEX ix_library_dataset_dataset_association_tag_association_tag_id ON public.library_dataset_dataset_association_tag_association USING btree (tag_id);
12058
12059
12060 --
12061 -- Name: ix_library_dataset_dataset_association_tag_association_user_id; Type: INDEX; Schema: public; Owner: lite
12062 --
12063
12064 CREATE INDEX ix_library_dataset_dataset_association_tag_association_user_id ON public.library_dataset_dataset_association_tag_association USING btree (user_id);
12065
12066
12067 --
12068 -- Name: ix_library_dataset_dataset_association_tag_association_value; Type: INDEX; Schema: public; Owner: lite
12069 --
12070
12071 CREATE INDEX ix_library_dataset_dataset_association_tag_association_value ON public.library_dataset_dataset_association_tag_association USING btree (value);
12072
12073
12074 --
12075 -- Name: ix_library_dataset_dataset_association_user_id; Type: INDEX; Schema: public; Owner: lite
12076 --
12077
12078 CREATE INDEX ix_library_dataset_dataset_association_user_id ON public.library_dataset_dataset_association USING btree (user_id);
12079
12080
12081 --
12082 -- Name: ix_library_dataset_dataset_info_association_deleted; Type: INDEX; Schema: public; Owner: lite
12083 --
12084
12085 CREATE INDEX ix_library_dataset_dataset_info_association_deleted ON public.library_dataset_dataset_info_association USING btree (deleted);
12086
12087
12088 --
12089 -- Name: ix_library_dataset_dataset_info_association_form_definition_id; Type: INDEX; Schema: public; Owner: lite
12090 --
12091
12092 CREATE INDEX ix_library_dataset_dataset_info_association_form_definition_id ON public.library_dataset_dataset_info_association USING btree (form_definition_id);
12093
12094
12095 --
12096 -- Name: ix_library_dataset_dataset_info_association_form_values_id; Type: INDEX; Schema: public; Owner: lite
12097 --
12098
12099 CREATE INDEX ix_library_dataset_dataset_info_association_form_values_id ON public.library_dataset_dataset_info_association USING btree (form_values_id);
12100
12101
12102 --
12103 -- Name: ix_library_dataset_dataset_info_association_library_dat_ceca; Type: INDEX; Schema: public; Owner: lite
12104 --
12105
12106 CREATE INDEX ix_library_dataset_dataset_info_association_library_dat_ceca ON public.library_dataset_dataset_info_association USING btree (library_dataset_dataset_association_id);
12107
12108
12109 --
12110 -- Name: ix_library_dataset_deleted; Type: INDEX; Schema: public; Owner: lite
12111 --
12112
12113 CREATE INDEX ix_library_dataset_deleted ON public.library_dataset USING btree (deleted);
12114
12115
12116 --
12117 -- Name: ix_library_dataset_folder_id; Type: INDEX; Schema: public; Owner: lite
12118 --
12119
12120 CREATE INDEX ix_library_dataset_folder_id ON public.library_dataset USING btree (folder_id);
12121
12122
12123 --
12124 -- Name: ix_library_dataset_library_dataset_dataset_association_id; Type: INDEX; Schema: public; Owner: lite
12125 --
12126
12127 CREATE INDEX ix_library_dataset_library_dataset_dataset_association_id ON public.library_dataset USING btree (library_dataset_dataset_association_id);
12128
12129
12130 --
12131 -- Name: ix_library_dataset_name; Type: INDEX; Schema: public; Owner: lite
12132 --
12133
12134 CREATE INDEX ix_library_dataset_name ON public.library_dataset USING btree (name);
12135
12136
12137 --
12138 -- Name: ix_library_dataset_permissions_library_dataset_id; Type: INDEX; Schema: public; Owner: lite
12139 --
12140
12141 CREATE INDEX ix_library_dataset_permissions_library_dataset_id ON public.library_dataset_permissions USING btree (library_dataset_id);
12142
12143
12144 --
12145 -- Name: ix_library_dataset_permissions_role_id; Type: INDEX; Schema: public; Owner: lite
12146 --
12147
12148 CREATE INDEX ix_library_dataset_permissions_role_id ON public.library_dataset_permissions USING btree (role_id);
12149
12150
12151 --
12152 -- Name: ix_library_dataset_purged; Type: INDEX; Schema: public; Owner: lite
12153 --
12154
12155 CREATE INDEX ix_library_dataset_purged ON public.library_dataset USING btree (purged);
12156
12157
12158 --
12159 -- Name: ix_library_deleted; Type: INDEX; Schema: public; Owner: lite
12160 --
12161
12162 CREATE INDEX ix_library_deleted ON public.library USING btree (deleted);
12163
12164
12165 --
12166 -- Name: ix_library_folder_deleted; Type: INDEX; Schema: public; Owner: lite
12167 --
12168
12169 CREATE INDEX ix_library_folder_deleted ON public.library_folder USING btree (deleted);
12170
12171
12172 --
12173 -- Name: ix_library_folder_info_association_deleted; Type: INDEX; Schema: public; Owner: lite
12174 --
12175
12176 CREATE INDEX ix_library_folder_info_association_deleted ON public.library_folder_info_association USING btree (deleted);
12177
12178
12179 --
12180 -- Name: ix_library_folder_info_association_form_definition_id; Type: INDEX; Schema: public; Owner: lite
12181 --
12182
12183 CREATE INDEX ix_library_folder_info_association_form_definition_id ON public.library_folder_info_association USING btree (form_definition_id);
12184
12185
12186 --
12187 -- Name: ix_library_folder_info_association_form_values_id; Type: INDEX; Schema: public; Owner: lite
12188 --
12189
12190 CREATE INDEX ix_library_folder_info_association_form_values_id ON public.library_folder_info_association USING btree (form_values_id);
12191
12192
12193 --
12194 -- Name: ix_library_folder_info_association_inheritable; Type: INDEX; Schema: public; Owner: lite
12195 --
12196
12197 CREATE INDEX ix_library_folder_info_association_inheritable ON public.library_folder_info_association USING btree (inheritable);
12198
12199
12200 --
12201 -- Name: ix_library_folder_info_association_library_folder_id; Type: INDEX; Schema: public; Owner: lite
12202 --
12203
12204 CREATE INDEX ix_library_folder_info_association_library_folder_id ON public.library_folder_info_association USING btree (library_folder_id);
12205
12206
12207 --
12208 -- Name: ix_library_folder_name; Type: INDEX; Schema: public; Owner: lite
12209 --
12210
12211 CREATE INDEX ix_library_folder_name ON public.library_folder USING btree (name);
12212
12213
12214 --
12215 -- Name: ix_library_folder_parent_id; Type: INDEX; Schema: public; Owner: lite
12216 --
12217
12218 CREATE INDEX ix_library_folder_parent_id ON public.library_folder USING btree (parent_id);
12219
12220
12221 --
12222 -- Name: ix_library_folder_permissions_library_folder_id; Type: INDEX; Schema: public; Owner: lite
12223 --
12224
12225 CREATE INDEX ix_library_folder_permissions_library_folder_id ON public.library_folder_permissions USING btree (library_folder_id);
12226
12227
12228 --
12229 -- Name: ix_library_folder_permissions_role_id; Type: INDEX; Schema: public; Owner: lite
12230 --
12231
12232 CREATE INDEX ix_library_folder_permissions_role_id ON public.library_folder_permissions USING btree (role_id);
12233
12234
12235 --
12236 -- Name: ix_library_folder_purged; Type: INDEX; Schema: public; Owner: lite
12237 --
12238
12239 CREATE INDEX ix_library_folder_purged ON public.library_folder USING btree (purged);
12240
12241
12242 --
12243 -- Name: ix_library_info_association_deleted; Type: INDEX; Schema: public; Owner: lite
12244 --
12245
12246 CREATE INDEX ix_library_info_association_deleted ON public.library_info_association USING btree (deleted);
12247
12248
12249 --
12250 -- Name: ix_library_info_association_form_definition_id; Type: INDEX; Schema: public; Owner: lite
12251 --
12252
12253 CREATE INDEX ix_library_info_association_form_definition_id ON public.library_info_association USING btree (form_definition_id);
12254
12255
12256 --
12257 -- Name: ix_library_info_association_form_values_id; Type: INDEX; Schema: public; Owner: lite
12258 --
12259
12260 CREATE INDEX ix_library_info_association_form_values_id ON public.library_info_association USING btree (form_values_id);
12261
12262
12263 --
12264 -- Name: ix_library_info_association_inheritable; Type: INDEX; Schema: public; Owner: lite
12265 --
12266
12267 CREATE INDEX ix_library_info_association_inheritable ON public.library_info_association USING btree (inheritable);
12268
12269
12270 --
12271 -- Name: ix_library_info_association_library_id; Type: INDEX; Schema: public; Owner: lite
12272 --
12273
12274 CREATE INDEX ix_library_info_association_library_id ON public.library_info_association USING btree (library_id);
12275
12276
12277 --
12278 -- Name: ix_library_name; Type: INDEX; Schema: public; Owner: lite
12279 --
12280
12281 CREATE INDEX ix_library_name ON public.library USING btree (name);
12282
12283
12284 --
12285 -- Name: ix_library_permissions_library_id; Type: INDEX; Schema: public; Owner: lite
12286 --
12287
12288 CREATE INDEX ix_library_permissions_library_id ON public.library_permissions USING btree (library_id);
12289
12290
12291 --
12292 -- Name: ix_library_permissions_role_id; Type: INDEX; Schema: public; Owner: lite
12293 --
12294
12295 CREATE INDEX ix_library_permissions_role_id ON public.library_permissions USING btree (role_id);
12296
12297
12298 --
12299 -- Name: ix_library_purged; Type: INDEX; Schema: public; Owner: lite
12300 --
12301
12302 CREATE INDEX ix_library_purged ON public.library USING btree (purged);
12303
12304
12305 --
12306 -- Name: ix_library_root_folder_id; Type: INDEX; Schema: public; Owner: lite
12307 --
12308
12309 CREATE INDEX ix_library_root_folder_id ON public.library USING btree (root_folder_id);
12310
12311
12312 --
12313 -- Name: ix_metadata_file_deleted; Type: INDEX; Schema: public; Owner: lite
12314 --
12315
12316 CREATE INDEX ix_metadata_file_deleted ON public.metadata_file USING btree (deleted);
12317
12318
12319 --
12320 -- Name: ix_metadata_file_hda_id; Type: INDEX; Schema: public; Owner: lite
12321 --
12322
12323 CREATE INDEX ix_metadata_file_hda_id ON public.metadata_file USING btree (hda_id);
12324
12325
12326 --
12327 -- Name: ix_metadata_file_lda_id; Type: INDEX; Schema: public; Owner: lite
12328 --
12329
12330 CREATE INDEX ix_metadata_file_lda_id ON public.metadata_file USING btree (lda_id);
12331
12332
12333 --
12334 -- Name: ix_metadata_file_object_store_id; Type: INDEX; Schema: public; Owner: lite
12335 --
12336
12337 CREATE INDEX ix_metadata_file_object_store_id ON public.metadata_file USING btree (object_store_id);
12338
12339
12340 --
12341 -- Name: ix_metadata_file_purged; Type: INDEX; Schema: public; Owner: lite
12342 --
12343
12344 CREATE INDEX ix_metadata_file_purged ON public.metadata_file USING btree (purged);
12345
12346
12347 --
12348 -- Name: ix_metadata_file_update_time; Type: INDEX; Schema: public; Owner: lite
12349 --
12350
12351 CREATE INDEX ix_metadata_file_update_time ON public.metadata_file USING btree (update_time);
12352
12353
12354 --
12355 -- Name: ix_page_annotation_association_annotation; Type: INDEX; Schema: public; Owner: lite
12356 --
12357
12358 CREATE INDEX ix_page_annotation_association_annotation ON public.page_annotation_association USING btree (annotation);
12359
12360
12361 --
12362 -- Name: ix_page_annotation_association_page_id; Type: INDEX; Schema: public; Owner: lite
12363 --
12364
12365 CREATE INDEX ix_page_annotation_association_page_id ON public.page_annotation_association USING btree (page_id);
12366
12367
12368 --
12369 -- Name: ix_page_annotation_association_user_id; Type: INDEX; Schema: public; Owner: lite
12370 --
12371
12372 CREATE INDEX ix_page_annotation_association_user_id ON public.page_annotation_association USING btree (user_id);
12373
12374
12375 --
12376 -- Name: ix_page_deleted; Type: INDEX; Schema: public; Owner: lite
12377 --
12378
12379 CREATE INDEX ix_page_deleted ON public.page USING btree (deleted);
12380
12381
12382 --
12383 -- Name: ix_page_importable; Type: INDEX; Schema: public; Owner: lite
12384 --
12385
12386 CREATE INDEX ix_page_importable ON public.page USING btree (importable);
12387
12388
12389 --
12390 -- Name: ix_page_latest_revision_id; Type: INDEX; Schema: public; Owner: lite
12391 --
12392
12393 CREATE INDEX ix_page_latest_revision_id ON public.page USING btree (latest_revision_id);
12394
12395
12396 --
12397 -- Name: ix_page_published; Type: INDEX; Schema: public; Owner: lite
12398 --
12399
12400 CREATE INDEX ix_page_published ON public.page USING btree (published);
12401
12402
12403 --
12404 -- Name: ix_page_rating_association_page_id; Type: INDEX; Schema: public; Owner: lite
12405 --
12406
12407 CREATE INDEX ix_page_rating_association_page_id ON public.page_rating_association USING btree (page_id);
12408
12409
12410 --
12411 -- Name: ix_page_rating_association_rating; Type: INDEX; Schema: public; Owner: lite
12412 --
12413
12414 CREATE INDEX ix_page_rating_association_rating ON public.page_rating_association USING btree (rating);
12415
12416
12417 --
12418 -- Name: ix_page_rating_association_user_id; Type: INDEX; Schema: public; Owner: lite
12419 --
12420
12421 CREATE INDEX ix_page_rating_association_user_id ON public.page_rating_association USING btree (user_id);
12422
12423
12424 --
12425 -- Name: ix_page_revision_page_id; Type: INDEX; Schema: public; Owner: lite
12426 --
12427
12428 CREATE INDEX ix_page_revision_page_id ON public.page_revision USING btree (page_id);
12429
12430
12431 --
12432 -- Name: ix_page_slug; Type: INDEX; Schema: public; Owner: lite
12433 --
12434
12435 CREATE INDEX ix_page_slug ON public.page USING btree (slug);
12436
12437
12438 --
12439 -- Name: ix_page_tag_association_page_id; Type: INDEX; Schema: public; Owner: lite
12440 --
12441
12442 CREATE INDEX ix_page_tag_association_page_id ON public.page_tag_association USING btree (page_id);
12443
12444
12445 --
12446 -- Name: ix_page_tag_association_tag_id; Type: INDEX; Schema: public; Owner: lite
12447 --
12448
12449 CREATE INDEX ix_page_tag_association_tag_id ON public.page_tag_association USING btree (tag_id);
12450
12451
12452 --
12453 -- Name: ix_page_tag_association_user_id; Type: INDEX; Schema: public; Owner: lite
12454 --
12455
12456 CREATE INDEX ix_page_tag_association_user_id ON public.page_tag_association USING btree (user_id);
12457
12458
12459 --
12460 -- Name: ix_page_tag_association_user_tname; Type: INDEX; Schema: public; Owner: lite
12461 --
12462
12463 CREATE INDEX ix_page_tag_association_user_tname ON public.page_tag_association USING btree (user_tname);
12464
12465
12466 --
12467 -- Name: ix_page_tag_association_user_value; Type: INDEX; Schema: public; Owner: lite
12468 --
12469
12470 CREATE INDEX ix_page_tag_association_user_value ON public.page_tag_association USING btree (user_value);
12471
12472
12473 --
12474 -- Name: ix_page_tag_association_value; Type: INDEX; Schema: public; Owner: lite
12475 --
12476
12477 CREATE INDEX ix_page_tag_association_value ON public.page_tag_association USING btree (value);
12478
12479
12480 --
12481 -- Name: ix_page_user_id; Type: INDEX; Schema: public; Owner: lite
12482 --
12483
12484 CREATE INDEX ix_page_user_id ON public.page USING btree (user_id);
12485
12486
12487 --
12488 -- Name: ix_page_user_share_association_page_id; Type: INDEX; Schema: public; Owner: lite
12489 --
12490
12491 CREATE INDEX ix_page_user_share_association_page_id ON public.page_user_share_association USING btree (page_id);
12492
12493
12494 --
12495 -- Name: ix_page_user_share_association_user_id; Type: INDEX; Schema: public; Owner: lite
12496 --
12497
12498 CREATE INDEX ix_page_user_share_association_user_id ON public.page_user_share_association USING btree (user_id);
12499
12500
12501 --
12502 -- Name: ix_password_reset_token_token; Type: INDEX; Schema: public; Owner: lite
12503 --
12504
12505 CREATE UNIQUE INDEX ix_password_reset_token_token ON public.password_reset_token USING btree (token);
12506
12507
12508 --
12509 -- Name: ix_password_reset_token_user_id; Type: INDEX; Schema: public; Owner: lite
12510 --
12511
12512 CREATE INDEX ix_password_reset_token_user_id ON public.password_reset_token USING btree (user_id);
12513
12514
12515 --
12516 -- Name: ix_post_job_action_association_job_id; Type: INDEX; Schema: public; Owner: lite
12517 --
12518
12519 CREATE INDEX ix_post_job_action_association_job_id ON public.post_job_action_association USING btree (job_id);
12520
12521
12522 --
12523 -- Name: ix_post_job_action_association_post_job_action_id; Type: INDEX; Schema: public; Owner: lite
12524 --
12525
12526 CREATE INDEX ix_post_job_action_association_post_job_action_id ON public.post_job_action_association USING btree (post_job_action_id);
12527
12528
12529 --
12530 -- Name: ix_post_job_action_workflow_step_id; Type: INDEX; Schema: public; Owner: lite
12531 --
12532
12533 CREATE INDEX ix_post_job_action_workflow_step_id ON public.post_job_action USING btree (workflow_step_id);
12534
12535
12536 --
12537 -- Name: ix_quota_deleted; Type: INDEX; Schema: public; Owner: lite
12538 --
12539
12540 CREATE INDEX ix_quota_deleted ON public.quota USING btree (deleted);
12541
12542
12543 --
12544 -- Name: ix_quota_name; Type: INDEX; Schema: public; Owner: lite
12545 --
12546
12547 CREATE UNIQUE INDEX ix_quota_name ON public.quota USING btree (name);
12548
12549
12550 --
12551 -- Name: ix_repository_dependency_tool_shed_repository_id; Type: INDEX; Schema: public; Owner: lite
12552 --
12553
12554 CREATE INDEX ix_repository_dependency_tool_shed_repository_id ON public.repository_dependency USING btree (tool_shed_repository_id);
12555
12556
12557 --
12558 -- Name: ix_repository_repository_dependency_association_reposit_c823; Type: INDEX; Schema: public; Owner: lite
12559 --
12560
12561 CREATE INDEX ix_repository_repository_dependency_association_reposit_c823 ON public.repository_repository_dependency_association USING btree (repository_dependency_id);
12562
12563
12564 --
12565 -- Name: ix_repository_repository_dependency_association_tool_sh_0af8; Type: INDEX; Schema: public; Owner: lite
12566 --
12567
12568 CREATE INDEX ix_repository_repository_dependency_association_tool_sh_0af8 ON public.repository_repository_dependency_association USING btree (tool_shed_repository_id);
12569
12570
12571 --
12572 -- Name: ix_request_deleted; Type: INDEX; Schema: public; Owner: lite
12573 --
12574
12575 CREATE INDEX ix_request_deleted ON public.request USING btree (deleted);
12576
12577
12578 --
12579 -- Name: ix_request_event_request_id; Type: INDEX; Schema: public; Owner: lite
12580 --
12581
12582 CREATE INDEX ix_request_event_request_id ON public.request_event USING btree (request_id);
12583
12584
12585 --
12586 -- Name: ix_request_event_state; Type: INDEX; Schema: public; Owner: lite
12587 --
12588
12589 CREATE INDEX ix_request_event_state ON public.request_event USING btree (state);
12590
12591
12592 --
12593 -- Name: ix_request_form_values_id; Type: INDEX; Schema: public; Owner: lite
12594 --
12595
12596 CREATE INDEX ix_request_form_values_id ON public.request USING btree (form_values_id);
12597
12598
12599 --
12600 -- Name: ix_request_notification; Type: INDEX; Schema: public; Owner: lite
12601 --
12602
12603 CREATE INDEX ix_request_notification ON public.request USING btree (notification);
12604
12605
12606 --
12607 -- Name: ix_request_request_type_id; Type: INDEX; Schema: public; Owner: lite
12608 --
12609
12610 CREATE INDEX ix_request_request_type_id ON public.request USING btree (request_type_id);
12611
12612
12613 --
12614 -- Name: ix_request_type_deleted; Type: INDEX; Schema: public; Owner: lite
12615 --
12616
12617 CREATE INDEX ix_request_type_deleted ON public.request_type USING btree (deleted);
12618
12619
12620 --
12621 -- Name: ix_request_type_external_service_association_external_s_e501; Type: INDEX; Schema: public; Owner: lite
12622 --
12623
12624 CREATE INDEX ix_request_type_external_service_association_external_s_e501 ON public.request_type_external_service_association USING btree (external_service_id);
12625
12626
12627 --
12628 -- Name: ix_request_type_external_service_association_request_type_id; Type: INDEX; Schema: public; Owner: lite
12629 --
12630
12631 CREATE INDEX ix_request_type_external_service_association_request_type_id ON public.request_type_external_service_association USING btree (request_type_id);
12632
12633
12634 --
12635 -- Name: ix_request_type_permissions_request_type_id; Type: INDEX; Schema: public; Owner: lite
12636 --
12637
12638 CREATE INDEX ix_request_type_permissions_request_type_id ON public.request_type_permissions USING btree (request_type_id);
12639
12640
12641 --
12642 -- Name: ix_request_type_permissions_role_id; Type: INDEX; Schema: public; Owner: lite
12643 --
12644
12645 CREATE INDEX ix_request_type_permissions_role_id ON public.request_type_permissions USING btree (role_id);
12646
12647
12648 --
12649 -- Name: ix_request_type_request_form_id; Type: INDEX; Schema: public; Owner: lite
12650 --
12651
12652 CREATE INDEX ix_request_type_request_form_id ON public.request_type USING btree (request_form_id);
12653
12654
12655 --
12656 -- Name: ix_request_type_run_association_request_type_id; Type: INDEX; Schema: public; Owner: lite
12657 --
12658
12659 CREATE INDEX ix_request_type_run_association_request_type_id ON public.request_type_run_association USING btree (request_type_id);
12660
12661
12662 --
12663 -- Name: ix_request_type_run_association_run_id; Type: INDEX; Schema: public; Owner: lite
12664 --
12665
12666 CREATE INDEX ix_request_type_run_association_run_id ON public.request_type_run_association USING btree (run_id);
12667
12668
12669 --
12670 -- Name: ix_request_type_sample_form_id; Type: INDEX; Schema: public; Owner: lite
12671 --
12672
12673 CREATE INDEX ix_request_type_sample_form_id ON public.request_type USING btree (sample_form_id);
12674
12675
12676 --
12677 -- Name: ix_request_user_id; Type: INDEX; Schema: public; Owner: lite
12678 --
12679
12680 CREATE INDEX ix_request_user_id ON public.request USING btree (user_id);
12681
12682
12683 --
12684 -- Name: ix_role_deleted; Type: INDEX; Schema: public; Owner: lite
12685 --
12686
12687 CREATE INDEX ix_role_deleted ON public.role USING btree (deleted);
12688
12689
12690 --
12691 -- Name: ix_role_name; Type: INDEX; Schema: public; Owner: lite
12692 --
12693
12694 CREATE UNIQUE INDEX ix_role_name ON public.role USING btree (name);
12695
12696
12697 --
12698 -- Name: ix_role_type; Type: INDEX; Schema: public; Owner: lite
12699 --
12700
12701 CREATE INDEX ix_role_type ON public.role USING btree (type);
12702
12703
12704 --
12705 -- Name: ix_run_deleted; Type: INDEX; Schema: public; Owner: lite
12706 --
12707
12708 CREATE INDEX ix_run_deleted ON public.run USING btree (deleted);
12709
12710
12711 --
12712 -- Name: ix_run_form_definition_id; Type: INDEX; Schema: public; Owner: lite
12713 --
12714
12715 CREATE INDEX ix_run_form_definition_id ON public.run USING btree (form_definition_id);
12716
12717
12718 --
12719 -- Name: ix_run_form_values_id; Type: INDEX; Schema: public; Owner: lite
12720 --
12721
12722 CREATE INDEX ix_run_form_values_id ON public.run USING btree (form_values_id);
12723
12724
12725 --
12726 -- Name: ix_run_subindex; Type: INDEX; Schema: public; Owner: lite
12727 --
12728
12729 CREATE INDEX ix_run_subindex ON public.run USING btree (subindex);
12730
12731
12732 --
12733 -- Name: ix_sample_bar_code; Type: INDEX; Schema: public; Owner: lite
12734 --
12735
12736 CREATE INDEX ix_sample_bar_code ON public.sample USING btree (bar_code);
12737
12738
12739 --
12740 -- Name: ix_sample_dataset_external_service_id; Type: INDEX; Schema: public; Owner: lite
12741 --
12742
12743 CREATE INDEX ix_sample_dataset_external_service_id ON public.sample_dataset USING btree (external_service_id);
12744
12745
12746 --
12747 -- Name: ix_sample_dataset_sample_id; Type: INDEX; Schema: public; Owner: lite
12748 --
12749
12750 CREATE INDEX ix_sample_dataset_sample_id ON public.sample_dataset USING btree (sample_id);
12751
12752
12753 --
12754 -- Name: ix_sample_deleted; Type: INDEX; Schema: public; Owner: lite
12755 --
12756
12757 CREATE INDEX ix_sample_deleted ON public.sample USING btree (deleted);
12758
12759
12760 --
12761 -- Name: ix_sample_event_sample_id; Type: INDEX; Schema: public; Owner: lite
12762 --
12763
12764 CREATE INDEX ix_sample_event_sample_id ON public.sample_event USING btree (sample_id);
12765
12766
12767 --
12768 -- Name: ix_sample_event_sample_state_id; Type: INDEX; Schema: public; Owner: lite
12769 --
12770
12771 CREATE INDEX ix_sample_event_sample_state_id ON public.sample_event USING btree (sample_state_id);
12772
12773
12774 --
12775 -- Name: ix_sample_folder_id; Type: INDEX; Schema: public; Owner: lite
12776 --
12777
12778 CREATE INDEX ix_sample_folder_id ON public.sample USING btree (folder_id);
12779
12780
12781 --
12782 -- Name: ix_sample_form_values_id; Type: INDEX; Schema: public; Owner: lite
12783 --
12784
12785 CREATE INDEX ix_sample_form_values_id ON public.sample USING btree (form_values_id);
12786
12787
12788 --
12789 -- Name: ix_sample_library_folder_id; Type: INDEX; Schema: public; Owner: lite
12790 --
12791
12792 CREATE INDEX ix_sample_library_folder_id ON public.sample USING btree (folder_id);
12793
12794
12795 --
12796 -- Name: ix_sample_library_id; Type: INDEX; Schema: public; Owner: lite
12797 --
12798
12799 CREATE INDEX ix_sample_library_id ON public.sample USING btree (library_id);
12800
12801
12802 --
12803 -- Name: ix_sample_request_id; Type: INDEX; Schema: public; Owner: lite
12804 --
12805
12806 CREATE INDEX ix_sample_request_id ON public.sample USING btree (request_id);
12807
12808
12809 --
12810 -- Name: ix_sample_run_association_run_id; Type: INDEX; Schema: public; Owner: lite
12811 --
12812
12813 CREATE INDEX ix_sample_run_association_run_id ON public.sample_run_association USING btree (run_id);
12814
12815
12816 --
12817 -- Name: ix_sample_run_association_sample_id; Type: INDEX; Schema: public; Owner: lite
12818 --
12819
12820 CREATE INDEX ix_sample_run_association_sample_id ON public.sample_run_association USING btree (sample_id);
12821
12822
12823 --
12824 -- Name: ix_sample_state_request_type_id; Type: INDEX; Schema: public; Owner: lite
12825 --
12826
12827 CREATE INDEX ix_sample_state_request_type_id ON public.sample_state USING btree (request_type_id);
12828
12829
12830 --
12831 -- Name: ix_sd_external_service_id; Type: INDEX; Schema: public; Owner: lite
12832 --
12833
12834 CREATE INDEX ix_sd_external_service_id ON public.sample_dataset USING btree (external_service_id);
12835
12836
12837 --
12838 -- Name: ix_sequencer_deleted; Type: INDEX; Schema: public; Owner: lite
12839 --
12840
12841 CREATE INDEX ix_sequencer_deleted ON public.external_service USING btree (deleted);
12842
12843
12844 --
12845 -- Name: ix_sequencer_form_definition_id; Type: INDEX; Schema: public; Owner: lite
12846 --
12847
12848 CREATE INDEX ix_sequencer_form_definition_id ON public.external_service USING btree (form_definition_id);
12849
12850
12851 --
12852 -- Name: ix_sequencer_form_values_id; Type: INDEX; Schema: public; Owner: lite
12853 --
12854
12855 CREATE INDEX ix_sequencer_form_values_id ON public.external_service USING btree (form_values_id);
12856
12857
12858 --
12859 -- Name: ix_stored_workflow_ann_assoc_annotation; Type: INDEX; Schema: public; Owner: lite
12860 --
12861
12862 CREATE INDEX ix_stored_workflow_ann_assoc_annotation ON public.stored_workflow_annotation_association USING btree (annotation);
12863
12864
12865 --
12866 -- Name: ix_stored_workflow_annotation_association_stored_workflow_id; Type: INDEX; Schema: public; Owner: lite
12867 --
12868
12869 CREATE INDEX ix_stored_workflow_annotation_association_stored_workflow_id ON public.stored_workflow_annotation_association USING btree (stored_workflow_id);
12870
12871
12872 --
12873 -- Name: ix_stored_workflow_annotation_association_user_id; Type: INDEX; Schema: public; Owner: lite
12874 --
12875
12876 CREATE INDEX ix_stored_workflow_annotation_association_user_id ON public.stored_workflow_annotation_association USING btree (user_id);
12877
12878
12879 --
12880 -- Name: ix_stored_workflow_latest_workflow_id; Type: INDEX; Schema: public; Owner: lite
12881 --
12882
12883 CREATE INDEX ix_stored_workflow_latest_workflow_id ON public.stored_workflow USING btree (latest_workflow_id);
12884
12885
12886 --
12887 -- Name: ix_stored_workflow_menu_entry_stored_workflow_id; Type: INDEX; Schema: public; Owner: lite
12888 --
12889
12890 CREATE INDEX ix_stored_workflow_menu_entry_stored_workflow_id ON public.stored_workflow_menu_entry USING btree (stored_workflow_id);
12891
12892
12893 --
12894 -- Name: ix_stored_workflow_menu_entry_user_id; Type: INDEX; Schema: public; Owner: lite
12895 --
12896
12897 CREATE INDEX ix_stored_workflow_menu_entry_user_id ON public.stored_workflow_menu_entry USING btree (user_id);
12898
12899
12900 --
12901 -- Name: ix_stored_workflow_published; Type: INDEX; Schema: public; Owner: lite
12902 --
12903
12904 CREATE INDEX ix_stored_workflow_published ON public.stored_workflow USING btree (published);
12905
12906
12907 --
12908 -- Name: ix_stored_workflow_rating_association_rating; Type: INDEX; Schema: public; Owner: lite
12909 --
12910
12911 CREATE INDEX ix_stored_workflow_rating_association_rating ON public.stored_workflow_rating_association USING btree (rating);
12912
12913
12914 --
12915 -- Name: ix_stored_workflow_rating_association_stored_workflow_id; Type: INDEX; Schema: public; Owner: lite
12916 --
12917
12918 CREATE INDEX ix_stored_workflow_rating_association_stored_workflow_id ON public.stored_workflow_rating_association USING btree (stored_workflow_id);
12919
12920
12921 --
12922 -- Name: ix_stored_workflow_rating_association_user_id; Type: INDEX; Schema: public; Owner: lite
12923 --
12924
12925 CREATE INDEX ix_stored_workflow_rating_association_user_id ON public.stored_workflow_rating_association USING btree (user_id);
12926
12927
12928 --
12929 -- Name: ix_stored_workflow_slug; Type: INDEX; Schema: public; Owner: lite
12930 --
12931
12932 CREATE INDEX ix_stored_workflow_slug ON public.stored_workflow USING btree (slug);
12933
12934
12935 --
12936 -- Name: ix_stored_workflow_tag_association_stored_workflow_id; Type: INDEX; Schema: public; Owner: lite
12937 --
12938
12939 CREATE INDEX ix_stored_workflow_tag_association_stored_workflow_id ON public.stored_workflow_tag_association USING btree (stored_workflow_id);
12940
12941
12942 --
12943 -- Name: ix_stored_workflow_tag_association_tag_id; Type: INDEX; Schema: public; Owner: lite
12944 --
12945
12946 CREATE INDEX ix_stored_workflow_tag_association_tag_id ON public.stored_workflow_tag_association USING btree (tag_id);
12947
12948
12949 --
12950 -- Name: ix_stored_workflow_tag_association_user_id; Type: INDEX; Schema: public; Owner: lite
12951 --
12952
12953 CREATE INDEX ix_stored_workflow_tag_association_user_id ON public.stored_workflow_tag_association USING btree (user_id);
12954
12955
12956 --
12957 -- Name: ix_stored_workflow_tag_association_user_tname; Type: INDEX; Schema: public; Owner: lite
12958 --
12959
12960 CREATE INDEX ix_stored_workflow_tag_association_user_tname ON public.stored_workflow_tag_association USING btree (user_tname);
12961
12962
12963 --
12964 -- Name: ix_stored_workflow_tag_association_user_value; Type: INDEX; Schema: public; Owner: lite
12965 --
12966
12967 CREATE INDEX ix_stored_workflow_tag_association_user_value ON public.stored_workflow_tag_association USING btree (user_value);
12968
12969
12970 --
12971 -- Name: ix_stored_workflow_tag_association_value; Type: INDEX; Schema: public; Owner: lite
12972 --
12973
12974 CREATE INDEX ix_stored_workflow_tag_association_value ON public.stored_workflow_tag_association USING btree (value);
12975
12976
12977 --
12978 -- Name: ix_stored_workflow_user_id; Type: INDEX; Schema: public; Owner: lite
12979 --
12980
12981 CREATE INDEX ix_stored_workflow_user_id ON public.stored_workflow USING btree (user_id);
12982
12983
12984 --
12985 -- Name: ix_stored_workflow_user_share_connection_stored_workflow_id; Type: INDEX; Schema: public; Owner: lite
12986 --
12987
12988 CREATE INDEX ix_stored_workflow_user_share_connection_stored_workflow_id ON public.stored_workflow_user_share_connection USING btree (stored_workflow_id);
12989
12990
12991 --
12992 -- Name: ix_stored_workflow_user_share_connection_user_id; Type: INDEX; Schema: public; Owner: lite
12993 --
12994
12995 CREATE INDEX ix_stored_workflow_user_share_connection_user_id ON public.stored_workflow_user_share_connection USING btree (user_id);
12996
12997
12998 --
12999 -- Name: ix_task_job_id; Type: INDEX; Schema: public; Owner: lite
13000 --
13001
13002 CREATE INDEX ix_task_job_id ON public.task USING btree (job_id);
13003
13004
13005 --
13006 -- Name: ix_task_metric_numeric_task_id; Type: INDEX; Schema: public; Owner: lite
13007 --
13008
13009 CREATE INDEX ix_task_metric_numeric_task_id ON public.task_metric_numeric USING btree (task_id);
13010
13011
13012 --
13013 -- Name: ix_task_metric_text_task_id; Type: INDEX; Schema: public; Owner: lite
13014 --
13015
13016 CREATE INDEX ix_task_metric_text_task_id ON public.task_metric_text USING btree (task_id);
13017
13018
13019 --
13020 -- Name: ix_task_state; Type: INDEX; Schema: public; Owner: lite
13021 --
13022
13023 CREATE INDEX ix_task_state ON public.task USING btree (state);
13024
13025
13026 --
13027 -- Name: ix_tool_dependency_tool_shed_repository_id; Type: INDEX; Schema: public; Owner: lite
13028 --
13029
13030 CREATE INDEX ix_tool_dependency_tool_shed_repository_id ON public.tool_dependency USING btree (tool_shed_repository_id);
13031
13032
13033 --
13034 -- Name: ix_tool_shed_repository_changeset_revision; Type: INDEX; Schema: public; Owner: lite
13035 --
13036
13037 CREATE INDEX ix_tool_shed_repository_changeset_revision ON public.tool_shed_repository USING btree (changeset_revision);
13038
13039
13040 --
13041 -- Name: ix_tool_shed_repository_deleted; Type: INDEX; Schema: public; Owner: lite
13042 --
13043
13044 CREATE INDEX ix_tool_shed_repository_deleted ON public.tool_shed_repository USING btree (deleted);
13045
13046
13047 --
13048 -- Name: ix_tool_shed_repository_includes_datatypes; Type: INDEX; Schema: public; Owner: lite
13049 --
13050
13051 CREATE INDEX ix_tool_shed_repository_includes_datatypes ON public.tool_shed_repository USING btree (includes_datatypes);
13052
13053
13054 --
13055 -- Name: ix_tool_shed_repository_name; Type: INDEX; Schema: public; Owner: lite
13056 --
13057
13058 CREATE INDEX ix_tool_shed_repository_name ON public.tool_shed_repository USING btree (name);
13059
13060
13061 --
13062 -- Name: ix_tool_shed_repository_owner; Type: INDEX; Schema: public; Owner: lite
13063 --
13064
13065 CREATE INDEX ix_tool_shed_repository_owner ON public.tool_shed_repository USING btree (owner);
13066
13067
13068 --
13069 -- Name: ix_tool_shed_repository_tool_shed; Type: INDEX; Schema: public; Owner: lite
13070 --
13071
13072 CREATE INDEX ix_tool_shed_repository_tool_shed ON public.tool_shed_repository USING btree (tool_shed);
13073
13074
13075 --
13076 -- Name: ix_tool_tag_association_tag_id; Type: INDEX; Schema: public; Owner: lite
13077 --
13078
13079 CREATE INDEX ix_tool_tag_association_tag_id ON public.tool_tag_association USING btree (tag_id);
13080
13081
13082 --
13083 -- Name: ix_tool_tag_association_tool_id; Type: INDEX; Schema: public; Owner: lite
13084 --
13085
13086 CREATE INDEX ix_tool_tag_association_tool_id ON public.tool_tag_association USING btree (tool_id);
13087
13088
13089 --
13090 -- Name: ix_tool_tag_association_user_id; Type: INDEX; Schema: public; Owner: lite
13091 --
13092
13093 CREATE INDEX ix_tool_tag_association_user_id ON public.tool_tag_association USING btree (user_id);
13094
13095
13096 --
13097 -- Name: ix_tool_tag_association_user_tname; Type: INDEX; Schema: public; Owner: lite
13098 --
13099
13100 CREATE INDEX ix_tool_tag_association_user_tname ON public.tool_tag_association USING btree (user_tname);
13101
13102
13103 --
13104 -- Name: ix_tool_tag_association_user_value; Type: INDEX; Schema: public; Owner: lite
13105 --
13106
13107 CREATE INDEX ix_tool_tag_association_user_value ON public.tool_tag_association USING btree (user_value);
13108
13109
13110 --
13111 -- Name: ix_tool_tag_association_value; Type: INDEX; Schema: public; Owner: lite
13112 --
13113
13114 CREATE INDEX ix_tool_tag_association_value ON public.tool_tag_association USING btree (value);
13115
13116
13117 --
13118 -- Name: ix_tool_version_association_parent_id; Type: INDEX; Schema: public; Owner: lite
13119 --
13120
13121 CREATE INDEX ix_tool_version_association_parent_id ON public.tool_version_association USING btree (parent_id);
13122
13123
13124 --
13125 -- Name: ix_tool_version_association_tool_id; Type: INDEX; Schema: public; Owner: lite
13126 --
13127
13128 CREATE INDEX ix_tool_version_association_tool_id ON public.tool_version_association USING btree (tool_id);
13129
13130
13131 --
13132 -- Name: ix_tool_version_tool_shed_repository_id; Type: INDEX; Schema: public; Owner: lite
13133 --
13134
13135 CREATE INDEX ix_tool_version_tool_shed_repository_id ON public.tool_version USING btree (tool_shed_repository_id);
13136
13137
13138 --
13139 -- Name: ix_transfer_job_state; Type: INDEX; Schema: public; Owner: lite
13140 --
13141
13142 CREATE INDEX ix_transfer_job_state ON public.transfer_job USING btree (state);
13143
13144
13145 --
13146 -- Name: ix_tsr_includes_datatypes; Type: INDEX; Schema: public; Owner: lite
13147 --
13148
13149 CREATE INDEX ix_tsr_includes_datatypes ON public.tool_shed_repository USING btree (includes_datatypes);
13150
13151
13152 --
13153 -- Name: ix_user_action_session_id; Type: INDEX; Schema: public; Owner: lite
13154 --
13155
13156 CREATE INDEX ix_user_action_session_id ON public.user_action USING btree (session_id);
13157
13158
13159 --
13160 -- Name: ix_user_action_user_id; Type: INDEX; Schema: public; Owner: lite
13161 --
13162
13163 CREATE INDEX ix_user_action_user_id ON public.user_action USING btree (user_id);
13164
13165
13166 --
13167 -- Name: ix_user_address_deleted; Type: INDEX; Schema: public; Owner: lite
13168 --
13169
13170 CREATE INDEX ix_user_address_deleted ON public.user_address USING btree (deleted);
13171
13172
13173 --
13174 -- Name: ix_user_address_purged; Type: INDEX; Schema: public; Owner: lite
13175 --
13176
13177 CREATE INDEX ix_user_address_purged ON public.user_address USING btree (purged);
13178
13179
13180 --
13181 -- Name: ix_user_address_user_id; Type: INDEX; Schema: public; Owner: lite
13182 --
13183
13184 CREATE INDEX ix_user_address_user_id ON public.user_address USING btree (user_id);
13185
13186
13187 --
13188 -- Name: ix_user_deleted; Type: INDEX; Schema: public; Owner: lite
13189 --
13190
13191 CREATE INDEX ix_user_deleted ON public.galaxy_user USING btree (deleted);
13192
13193
13194 --
13195 -- Name: ix_user_form_values_id; Type: INDEX; Schema: public; Owner: lite
13196 --
13197
13198 CREATE INDEX ix_user_form_values_id ON public.galaxy_user USING btree (form_values_id);
13199
13200
13201 --
13202 -- Name: ix_user_group_association_group_id; Type: INDEX; Schema: public; Owner: lite
13203 --
13204
13205 CREATE INDEX ix_user_group_association_group_id ON public.user_group_association USING btree (group_id);
13206
13207
13208 --
13209 -- Name: ix_user_group_association_user_id; Type: INDEX; Schema: public; Owner: lite
13210 --
13211
13212 CREATE INDEX ix_user_group_association_user_id ON public.user_group_association USING btree (user_id);
13213
13214
13215 --
13216 -- Name: ix_user_preference_name; Type: INDEX; Schema: public; Owner: lite
13217 --
13218
13219 CREATE INDEX ix_user_preference_name ON public.user_preference USING btree (name);
13220
13221
13222 --
13223 -- Name: ix_user_preference_user_id; Type: INDEX; Schema: public; Owner: lite
13224 --
13225
13226 CREATE INDEX ix_user_preference_user_id ON public.user_preference USING btree (user_id);
13227
13228
13229 --
13230 -- Name: ix_user_purged; Type: INDEX; Schema: public; Owner: lite
13231 --
13232
13233 CREATE INDEX ix_user_purged ON public.galaxy_user USING btree (purged);
13234
13235
13236 --
13237 -- Name: ix_user_quota_association_quota_id; Type: INDEX; Schema: public; Owner: lite
13238 --
13239
13240 CREATE INDEX ix_user_quota_association_quota_id ON public.user_quota_association USING btree (quota_id);
13241
13242
13243 --
13244 -- Name: ix_user_quota_association_user_id; Type: INDEX; Schema: public; Owner: lite
13245 --
13246
13247 CREATE INDEX ix_user_quota_association_user_id ON public.user_quota_association USING btree (user_id);
13248
13249
13250 --
13251 -- Name: ix_user_role_association_role_id; Type: INDEX; Schema: public; Owner: lite
13252 --
13253
13254 CREATE INDEX ix_user_role_association_role_id ON public.user_role_association USING btree (role_id);
13255
13256
13257 --
13258 -- Name: ix_user_role_association_user_id; Type: INDEX; Schema: public; Owner: lite
13259 --
13260
13261 CREATE INDEX ix_user_role_association_user_id ON public.user_role_association USING btree (user_id);
13262
13263
13264 --
13265 -- Name: ix_user_username; Type: INDEX; Schema: public; Owner: lite
13266 --
13267
13268 CREATE INDEX ix_user_username ON public.galaxy_user USING btree (username);
13269
13270
13271 --
13272 -- Name: ix_validation_error_dataset_id; Type: INDEX; Schema: public; Owner: lite
13273 --
13274
13275 CREATE INDEX ix_validation_error_dataset_id ON public.validation_error USING btree (dataset_id);
13276
13277
13278 --
13279 -- Name: ix_visualization_annotation_association_annotation; Type: INDEX; Schema: public; Owner: lite
13280 --
13281
13282 CREATE INDEX ix_visualization_annotation_association_annotation ON public.visualization_annotation_association USING btree (annotation);
13283
13284
13285 --
13286 -- Name: ix_visualization_annotation_association_user_id; Type: INDEX; Schema: public; Owner: lite
13287 --
13288
13289 CREATE INDEX ix_visualization_annotation_association_user_id ON public.visualization_annotation_association USING btree (user_id);
13290
13291
13292 --
13293 -- Name: ix_visualization_annotation_association_visualization_id; Type: INDEX; Schema: public; Owner: lite
13294 --
13295
13296 CREATE INDEX ix_visualization_annotation_association_visualization_id ON public.visualization_annotation_association USING btree (visualization_id);
13297
13298
13299 --
13300 -- Name: ix_visualization_dbkey; Type: INDEX; Schema: public; Owner: lite
13301 --
13302
13303 CREATE INDEX ix_visualization_dbkey ON public.visualization USING btree (dbkey);
13304
13305
13306 --
13307 -- Name: ix_visualization_deleted; Type: INDEX; Schema: public; Owner: lite
13308 --
13309
13310 CREATE INDEX ix_visualization_deleted ON public.visualization USING btree (deleted);
13311
13312
13313 --
13314 -- Name: ix_visualization_importable; Type: INDEX; Schema: public; Owner: lite
13315 --
13316
13317 CREATE INDEX ix_visualization_importable ON public.visualization USING btree (importable);
13318
13319
13320 --
13321 -- Name: ix_visualization_latest_revision_id; Type: INDEX; Schema: public; Owner: lite
13322 --
13323
13324 CREATE INDEX ix_visualization_latest_revision_id ON public.visualization USING btree (latest_revision_id);
13325
13326
13327 --
13328 -- Name: ix_visualization_published; Type: INDEX; Schema: public; Owner: lite
13329 --
13330
13331 CREATE INDEX ix_visualization_published ON public.visualization USING btree (published);
13332
13333
13334 --
13335 -- Name: ix_visualization_rating_association_rating; Type: INDEX; Schema: public; Owner: lite
13336 --
13337
13338 CREATE INDEX ix_visualization_rating_association_rating ON public.visualization_rating_association USING btree (rating);
13339
13340
13341 --
13342 -- Name: ix_visualization_rating_association_user_id; Type: INDEX; Schema: public; Owner: lite
13343 --
13344
13345 CREATE INDEX ix_visualization_rating_association_user_id ON public.visualization_rating_association USING btree (user_id);
13346
13347
13348 --
13349 -- Name: ix_visualization_rating_association_visualization_id; Type: INDEX; Schema: public; Owner: lite
13350 --
13351
13352 CREATE INDEX ix_visualization_rating_association_visualization_id ON public.visualization_rating_association USING btree (visualization_id);
13353
13354
13355 --
13356 -- Name: ix_visualization_revision_dbkey; Type: INDEX; Schema: public; Owner: lite
13357 --
13358
13359 CREATE INDEX ix_visualization_revision_dbkey ON public.visualization_revision USING btree (dbkey);
13360
13361
13362 --
13363 -- Name: ix_visualization_revision_visualization_id; Type: INDEX; Schema: public; Owner: lite
13364 --
13365
13366 CREATE INDEX ix_visualization_revision_visualization_id ON public.visualization_revision USING btree (visualization_id);
13367
13368
13369 --
13370 -- Name: ix_visualization_slug; Type: INDEX; Schema: public; Owner: lite
13371 --
13372
13373 CREATE INDEX ix_visualization_slug ON public.visualization USING btree (slug);
13374
13375
13376 --
13377 -- Name: ix_visualization_tag_association_tag_id; Type: INDEX; Schema: public; Owner: lite
13378 --
13379
13380 CREATE INDEX ix_visualization_tag_association_tag_id ON public.visualization_tag_association USING btree (tag_id);
13381
13382
13383 --
13384 -- Name: ix_visualization_tag_association_user_id; Type: INDEX; Schema: public; Owner: lite
13385 --
13386
13387 CREATE INDEX ix_visualization_tag_association_user_id ON public.visualization_tag_association USING btree (user_id);
13388
13389
13390 --
13391 -- Name: ix_visualization_tag_association_user_tname; Type: INDEX; Schema: public; Owner: lite
13392 --
13393
13394 CREATE INDEX ix_visualization_tag_association_user_tname ON public.visualization_tag_association USING btree (user_tname);
13395
13396
13397 --
13398 -- Name: ix_visualization_tag_association_user_value; Type: INDEX; Schema: public; Owner: lite
13399 --
13400
13401 CREATE INDEX ix_visualization_tag_association_user_value ON public.visualization_tag_association USING btree (user_value);
13402
13403
13404 --
13405 -- Name: ix_visualization_tag_association_value; Type: INDEX; Schema: public; Owner: lite
13406 --
13407
13408 CREATE INDEX ix_visualization_tag_association_value ON public.visualization_tag_association USING btree (value);
13409
13410
13411 --
13412 -- Name: ix_visualization_tag_association_visualization_id; Type: INDEX; Schema: public; Owner: lite
13413 --
13414
13415 CREATE INDEX ix_visualization_tag_association_visualization_id ON public.visualization_tag_association USING btree (visualization_id);
13416
13417
13418 --
13419 -- Name: ix_visualization_user_id; Type: INDEX; Schema: public; Owner: lite
13420 --
13421
13422 CREATE INDEX ix_visualization_user_id ON public.visualization USING btree (user_id);
13423
13424
13425 --
13426 -- Name: ix_visualization_user_share_association_user_id; Type: INDEX; Schema: public; Owner: lite
13427 --
13428
13429 CREATE INDEX ix_visualization_user_share_association_user_id ON public.visualization_user_share_association USING btree (user_id);
13430
13431
13432 --
13433 -- Name: ix_visualization_user_share_association_visualization_id; Type: INDEX; Schema: public; Owner: lite
13434 --
13435
13436 CREATE INDEX ix_visualization_user_share_association_visualization_id ON public.visualization_user_share_association USING btree (visualization_id);
13437
13438
13439 --
13440 -- Name: ix_wfinv_swfinv_swfi; Type: INDEX; Schema: public; Owner: lite
13441 --
13442
13443 CREATE INDEX ix_wfinv_swfinv_swfi ON public.workflow_invocation_to_subworkflow_invocation_association USING btree (subworkflow_invocation_id);
13444
13445
13446 --
13447 -- Name: ix_wfinv_swfinv_wfi; Type: INDEX; Schema: public; Owner: lite
13448 --
13449
13450 CREATE INDEX ix_wfinv_swfinv_wfi ON public.workflow_invocation_to_subworkflow_invocation_association USING btree (workflow_invocation_id);
13451
13452
13453 --
13454 -- Name: ix_wfreq_inputstep_wfi; Type: INDEX; Schema: public; Owner: lite
13455 --
13456
13457 CREATE INDEX ix_wfreq_inputstep_wfi ON public.workflow_request_input_step_parameter USING btree (workflow_invocation_id);
13458
13459
13460 --
13461 -- Name: ix_workflow_invocation_step_job_id; Type: INDEX; Schema: public; Owner: lite
13462 --
13463
13464 CREATE INDEX ix_workflow_invocation_step_job_id ON public.workflow_invocation_step USING btree (job_id);
13465
13466
13467 --
13468 -- Name: ix_workflow_invocation_step_workflow_invocation_id; Type: INDEX; Schema: public; Owner: lite
13469 --
13470
13471 CREATE INDEX ix_workflow_invocation_step_workflow_invocation_id ON public.workflow_invocation_step USING btree (workflow_invocation_id);
13472
13473
13474 --
13475 -- Name: ix_workflow_invocation_step_workflow_step_id; Type: INDEX; Schema: public; Owner: lite
13476 --
13477
13478 CREATE INDEX ix_workflow_invocation_step_workflow_step_id ON public.workflow_invocation_step USING btree (workflow_step_id);
13479
13480
13481 --
13482 -- Name: ix_workflow_invocation_workflow_id; Type: INDEX; Schema: public; Owner: lite
13483 --
13484
13485 CREATE INDEX ix_workflow_invocation_workflow_id ON public.workflow_invocation USING btree (workflow_id);
13486
13487
13488 --
13489 -- Name: ix_workflow_output_workflow_step_id; Type: INDEX; Schema: public; Owner: lite
13490 --
13491
13492 CREATE INDEX ix_workflow_output_workflow_step_id ON public.workflow_output USING btree (workflow_step_id);
13493
13494
13495 --
13496 -- Name: ix_workflow_request_to_input_collection_dataset_dataset_4671; Type: INDEX; Schema: public; Owner: lite
13497 --
13498
13499 CREATE INDEX ix_workflow_request_to_input_collection_dataset_dataset_4671 ON public.workflow_request_to_input_collection_dataset USING btree (dataset_collection_id);
13500
13501
13502 --
13503 -- Name: ix_workflow_request_to_input_collection_dataset_workflo_7564; Type: INDEX; Schema: public; Owner: lite
13504 --
13505
13506 CREATE INDEX ix_workflow_request_to_input_collection_dataset_workflo_7564 ON public.workflow_request_to_input_collection_dataset USING btree (workflow_invocation_id);
13507
13508
13509 --
13510 -- Name: ix_workflow_request_to_input_dataset_dataset_id; Type: INDEX; Schema: public; Owner: lite
13511 --
13512
13513 CREATE INDEX ix_workflow_request_to_input_dataset_dataset_id ON public.workflow_request_to_input_dataset USING btree (dataset_id);
13514
13515
13516 --
13517 -- Name: ix_workflow_request_to_input_dataset_workflow_invocation_id; Type: INDEX; Schema: public; Owner: lite
13518 --
13519
13520 CREATE INDEX ix_workflow_request_to_input_dataset_workflow_invocation_id ON public.workflow_request_to_input_dataset USING btree (workflow_invocation_id);
13521
13522
13523 --
13524 -- Name: ix_workflow_step_ann_assoc_annotation; Type: INDEX; Schema: public; Owner: lite
13525 --
13526
13527 CREATE INDEX ix_workflow_step_ann_assoc_annotation ON public.workflow_step_annotation_association USING btree (annotation);
13528
13529
13530 --
13531 -- Name: ix_workflow_step_annotation_association_user_id; Type: INDEX; Schema: public; Owner: lite
13532 --
13533
13534 CREATE INDEX ix_workflow_step_annotation_association_user_id ON public.workflow_step_annotation_association USING btree (user_id);
13535
13536
13537 --
13538 -- Name: ix_workflow_step_annotation_association_workflow_step_id; Type: INDEX; Schema: public; Owner: lite
13539 --
13540
13541 CREATE INDEX ix_workflow_step_annotation_association_workflow_step_id ON public.workflow_step_annotation_association USING btree (workflow_step_id);
13542
13543
13544 --
13545 -- Name: ix_workflow_step_connection_input_step_id; Type: INDEX; Schema: public; Owner: lite
13546 --
13547
13548 CREATE INDEX ix_workflow_step_connection_input_step_id ON public.workflow_step_connection USING btree (input_step_id);
13549
13550
13551 --
13552 -- Name: ix_workflow_step_connection_output_step_id; Type: INDEX; Schema: public; Owner: lite
13553 --
13554
13555 CREATE INDEX ix_workflow_step_connection_output_step_id ON public.workflow_step_connection USING btree (output_step_id);
13556
13557
13558 --
13559 -- Name: ix_workflow_step_tag_association_tag_id; Type: INDEX; Schema: public; Owner: lite
13560 --
13561
13562 CREATE INDEX ix_workflow_step_tag_association_tag_id ON public.workflow_step_tag_association USING btree (tag_id);
13563
13564
13565 --
13566 -- Name: ix_workflow_step_tag_association_user_id; Type: INDEX; Schema: public; Owner: lite
13567 --
13568
13569 CREATE INDEX ix_workflow_step_tag_association_user_id ON public.workflow_step_tag_association USING btree (user_id);
13570
13571
13572 --
13573 -- Name: ix_workflow_step_tag_association_user_tname; Type: INDEX; Schema: public; Owner: lite
13574 --
13575
13576 CREATE INDEX ix_workflow_step_tag_association_user_tname ON public.workflow_step_tag_association USING btree (user_tname);
13577
13578
13579 --
13580 -- Name: ix_workflow_step_tag_association_user_value; Type: INDEX; Schema: public; Owner: lite
13581 --
13582
13583 CREATE INDEX ix_workflow_step_tag_association_user_value ON public.workflow_step_tag_association USING btree (user_value);
13584
13585
13586 --
13587 -- Name: ix_workflow_step_tag_association_value; Type: INDEX; Schema: public; Owner: lite
13588 --
13589
13590 CREATE INDEX ix_workflow_step_tag_association_value ON public.workflow_step_tag_association USING btree (value);
13591
13592
13593 --
13594 -- Name: ix_workflow_step_tag_association_workflow_step_id; Type: INDEX; Schema: public; Owner: lite
13595 --
13596
13597 CREATE INDEX ix_workflow_step_tag_association_workflow_step_id ON public.workflow_step_tag_association USING btree (workflow_step_id);
13598
13599
13600 --
13601 -- Name: ix_workflow_step_workflow_id; Type: INDEX; Schema: public; Owner: lite
13602 --
13603
13604 CREATE INDEX ix_workflow_step_workflow_id ON public.workflow_step USING btree (workflow_id);
13605
13606
13607 --
13608 -- Name: ix_workflow_stored_workflow_id; Type: INDEX; Schema: public; Owner: lite
13609 --
13610
13611 CREATE INDEX ix_workflow_stored_workflow_id ON public.workflow USING btree (stored_workflow_id);
13612
13613
13614 --
13615 -- Name: ix_workflow_tag_association_tag_id; Type: INDEX; Schema: public; Owner: lite
13616 --
13617
13618 CREATE INDEX ix_workflow_tag_association_tag_id ON public.workflow_tag_association USING btree (tag_id);
13619
13620
13621 --
13622 -- Name: ix_workflow_tag_association_user_id; Type: INDEX; Schema: public; Owner: lite
13623 --
13624
13625 CREATE INDEX ix_workflow_tag_association_user_id ON public.workflow_tag_association USING btree (user_id);
13626
13627
13628 --
13629 -- Name: ix_workflow_tag_association_user_tname; Type: INDEX; Schema: public; Owner: lite
13630 --
13631
13632 CREATE INDEX ix_workflow_tag_association_user_tname ON public.workflow_tag_association USING btree (user_tname);
13633
13634
13635 --
13636 -- Name: ix_workflow_tag_association_user_value; Type: INDEX; Schema: public; Owner: lite
13637 --
13638
13639 CREATE INDEX ix_workflow_tag_association_user_value ON public.workflow_tag_association USING btree (user_value);
13640
13641
13642 --
13643 -- Name: ix_workflow_tag_association_value; Type: INDEX; Schema: public; Owner: lite
13644 --
13645
13646 CREATE INDEX ix_workflow_tag_association_value ON public.workflow_tag_association USING btree (value);
13647
13648
13649 --
13650 -- Name: ix_workflow_tag_association_workflow_id; Type: INDEX; Schema: public; Owner: lite
13651 --
13652
13653 CREATE INDEX ix_workflow_tag_association_workflow_id ON public.workflow_tag_association USING btree (workflow_id);
13654
13655
13656 --
13657 -- Name: api_keys api_keys_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13658 --
13659
13660 ALTER TABLE ONLY public.api_keys
13661 ADD CONSTRAINT api_keys_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
13662
13663
13664 --
13665 -- Name: cleanup_event_dataset_association cleanup_event_dataset_association_cleanup_event_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13666 --
13667
13668 ALTER TABLE ONLY public.cleanup_event_dataset_association
13669 ADD CONSTRAINT cleanup_event_dataset_association_cleanup_event_id_fkey FOREIGN KEY (cleanup_event_id) REFERENCES public.cleanup_event(id);
13670
13671
13672 --
13673 -- Name: cleanup_event_dataset_association cleanup_event_dataset_association_dataset_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13674 --
13675
13676 ALTER TABLE ONLY public.cleanup_event_dataset_association
13677 ADD CONSTRAINT cleanup_event_dataset_association_dataset_id_fkey FOREIGN KEY (dataset_id) REFERENCES public.dataset(id);
13678
13679
13680 --
13681 -- Name: cleanup_event_hda_association cleanup_event_hda_association_cleanup_event_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13682 --
13683
13684 ALTER TABLE ONLY public.cleanup_event_hda_association
13685 ADD CONSTRAINT cleanup_event_hda_association_cleanup_event_id_fkey FOREIGN KEY (cleanup_event_id) REFERENCES public.cleanup_event(id);
13686
13687
13688 --
13689 -- Name: cleanup_event_hda_association cleanup_event_hda_association_hda_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13690 --
13691
13692 ALTER TABLE ONLY public.cleanup_event_hda_association
13693 ADD CONSTRAINT cleanup_event_hda_association_hda_id_fkey FOREIGN KEY (hda_id) REFERENCES public.history_dataset_association(id);
13694
13695
13696 --
13697 -- Name: cleanup_event_history_association cleanup_event_history_association_cleanup_event_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13698 --
13699
13700 ALTER TABLE ONLY public.cleanup_event_history_association
13701 ADD CONSTRAINT cleanup_event_history_association_cleanup_event_id_fkey FOREIGN KEY (cleanup_event_id) REFERENCES public.cleanup_event(id);
13702
13703
13704 --
13705 -- Name: cleanup_event_history_association cleanup_event_history_association_history_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13706 --
13707
13708 ALTER TABLE ONLY public.cleanup_event_history_association
13709 ADD CONSTRAINT cleanup_event_history_association_history_id_fkey FOREIGN KEY (history_id) REFERENCES public.history(id);
13710
13711
13712 --
13713 -- Name: cleanup_event_icda_association cleanup_event_icda_association_cleanup_event_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13714 --
13715
13716 ALTER TABLE ONLY public.cleanup_event_icda_association
13717 ADD CONSTRAINT cleanup_event_icda_association_cleanup_event_id_fkey FOREIGN KEY (cleanup_event_id) REFERENCES public.cleanup_event(id);
13718
13719
13720 --
13721 -- Name: cleanup_event_icda_association cleanup_event_icda_association_icda_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13722 --
13723
13724 ALTER TABLE ONLY public.cleanup_event_icda_association
13725 ADD CONSTRAINT cleanup_event_icda_association_icda_id_fkey FOREIGN KEY (icda_id) REFERENCES public.implicitly_converted_dataset_association(id);
13726
13727
13728 --
13729 -- Name: cleanup_event_ldda_association cleanup_event_ldda_association_cleanup_event_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13730 --
13731
13732 ALTER TABLE ONLY public.cleanup_event_ldda_association
13733 ADD CONSTRAINT cleanup_event_ldda_association_cleanup_event_id_fkey FOREIGN KEY (cleanup_event_id) REFERENCES public.cleanup_event(id);
13734
13735
13736 --
13737 -- Name: cleanup_event_ldda_association cleanup_event_ldda_association_ldda_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13738 --
13739
13740 ALTER TABLE ONLY public.cleanup_event_ldda_association
13741 ADD CONSTRAINT cleanup_event_ldda_association_ldda_id_fkey FOREIGN KEY (ldda_id) REFERENCES public.library_dataset_dataset_association(id);
13742
13743
13744 --
13745 -- Name: cleanup_event_library_association cleanup_event_library_association_cleanup_event_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13746 --
13747
13748 ALTER TABLE ONLY public.cleanup_event_library_association
13749 ADD CONSTRAINT cleanup_event_library_association_cleanup_event_id_fkey FOREIGN KEY (cleanup_event_id) REFERENCES public.cleanup_event(id);
13750
13751
13752 --
13753 -- Name: cleanup_event_library_association cleanup_event_library_association_library_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13754 --
13755
13756 ALTER TABLE ONLY public.cleanup_event_library_association
13757 ADD CONSTRAINT cleanup_event_library_association_library_id_fkey FOREIGN KEY (library_id) REFERENCES public.library(id);
13758
13759
13760 --
13761 -- Name: cleanup_event_library_dataset_association cleanup_event_library_dataset_associati_library_dataset_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13762 --
13763
13764 ALTER TABLE ONLY public.cleanup_event_library_dataset_association
13765 ADD CONSTRAINT cleanup_event_library_dataset_associati_library_dataset_id_fkey FOREIGN KEY (library_dataset_id) REFERENCES public.library_dataset(id);
13766
13767
13768 --
13769 -- Name: cleanup_event_library_dataset_association cleanup_event_library_dataset_association_cleanup_event_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13770 --
13771
13772 ALTER TABLE ONLY public.cleanup_event_library_dataset_association
13773 ADD CONSTRAINT cleanup_event_library_dataset_association_cleanup_event_id_fkey FOREIGN KEY (cleanup_event_id) REFERENCES public.cleanup_event(id);
13774
13775
13776 --
13777 -- Name: cleanup_event_library_folder_association cleanup_event_library_folder_association_cleanup_event_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13778 --
13779
13780 ALTER TABLE ONLY public.cleanup_event_library_folder_association
13781 ADD CONSTRAINT cleanup_event_library_folder_association_cleanup_event_id_fkey FOREIGN KEY (cleanup_event_id) REFERENCES public.cleanup_event(id);
13782
13783
13784 --
13785 -- Name: cleanup_event_library_folder_association cleanup_event_library_folder_association_library_folder_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13786 --
13787
13788 ALTER TABLE ONLY public.cleanup_event_library_folder_association
13789 ADD CONSTRAINT cleanup_event_library_folder_association_library_folder_id_fkey FOREIGN KEY (library_folder_id) REFERENCES public.library_folder(id);
13790
13791
13792 --
13793 -- Name: cleanup_event_metadata_file_association cleanup_event_metadata_file_association_cleanup_event_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13794 --
13795
13796 ALTER TABLE ONLY public.cleanup_event_metadata_file_association
13797 ADD CONSTRAINT cleanup_event_metadata_file_association_cleanup_event_id_fkey FOREIGN KEY (cleanup_event_id) REFERENCES public.cleanup_event(id);
13798
13799
13800 --
13801 -- Name: cleanup_event_metadata_file_association cleanup_event_metadata_file_association_metadata_file_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13802 --
13803
13804 ALTER TABLE ONLY public.cleanup_event_metadata_file_association
13805 ADD CONSTRAINT cleanup_event_metadata_file_association_metadata_file_id_fkey FOREIGN KEY (metadata_file_id) REFERENCES public.metadata_file(id);
13806
13807
13808 --
13809 -- Name: data_manager_history_association data_manager_history_association_history_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13810 --
13811
13812 ALTER TABLE ONLY public.data_manager_history_association
13813 ADD CONSTRAINT data_manager_history_association_history_id_fkey FOREIGN KEY (history_id) REFERENCES public.history(id);
13814
13815
13816 --
13817 -- Name: data_manager_history_association data_manager_history_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13818 --
13819
13820 ALTER TABLE ONLY public.data_manager_history_association
13821 ADD CONSTRAINT data_manager_history_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
13822
13823
13824 --
13825 -- Name: data_manager_job_association data_manager_job_association_job_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13826 --
13827
13828 ALTER TABLE ONLY public.data_manager_job_association
13829 ADD CONSTRAINT data_manager_job_association_job_id_fkey FOREIGN KEY (job_id) REFERENCES public.job(id);
13830
13831
13832 --
13833 -- Name: dataset_collection_element dataset_collection_element_child_collection_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13834 --
13835
13836 ALTER TABLE ONLY public.dataset_collection_element
13837 ADD CONSTRAINT dataset_collection_element_child_collection_id_fkey FOREIGN KEY (child_collection_id) REFERENCES public.dataset_collection(id);
13838
13839
13840 --
13841 -- Name: dataset_collection_element dataset_collection_element_dataset_collection_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13842 --
13843
13844 ALTER TABLE ONLY public.dataset_collection_element
13845 ADD CONSTRAINT dataset_collection_element_dataset_collection_id_fkey FOREIGN KEY (dataset_collection_id) REFERENCES public.dataset_collection(id);
13846
13847
13848 --
13849 -- Name: dataset_collection_element dataset_collection_element_hda_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13850 --
13851
13852 ALTER TABLE ONLY public.dataset_collection_element
13853 ADD CONSTRAINT dataset_collection_element_hda_id_fkey FOREIGN KEY (hda_id) REFERENCES public.history_dataset_association(id);
13854
13855
13856 --
13857 -- Name: dataset_collection_element dataset_collection_element_ldda_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13858 --
13859
13860 ALTER TABLE ONLY public.dataset_collection_element
13861 ADD CONSTRAINT dataset_collection_element_ldda_id_fkey FOREIGN KEY (ldda_id) REFERENCES public.library_dataset_dataset_association(id);
13862
13863
13864 --
13865 -- Name: dataset_permissions dataset_permissions_dataset_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13866 --
13867
13868 ALTER TABLE ONLY public.dataset_permissions
13869 ADD CONSTRAINT dataset_permissions_dataset_id_fkey FOREIGN KEY (dataset_id) REFERENCES public.dataset(id);
13870
13871
13872 --
13873 -- Name: dataset_permissions dataset_permissions_role_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13874 --
13875
13876 ALTER TABLE ONLY public.dataset_permissions
13877 ADD CONSTRAINT dataset_permissions_role_id_fkey FOREIGN KEY (role_id) REFERENCES public.role(id);
13878
13879
13880 --
13881 -- Name: dataset_tag_association dataset_tag_association_dataset_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13882 --
13883
13884 ALTER TABLE ONLY public.dataset_tag_association
13885 ADD CONSTRAINT dataset_tag_association_dataset_id_fkey FOREIGN KEY (dataset_id) REFERENCES public.dataset(id);
13886
13887
13888 --
13889 -- Name: dataset_tag_association dataset_tag_association_tag_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13890 --
13891
13892 ALTER TABLE ONLY public.dataset_tag_association
13893 ADD CONSTRAINT dataset_tag_association_tag_id_fkey FOREIGN KEY (tag_id) REFERENCES public.tag(id);
13894
13895
13896 --
13897 -- Name: default_history_permissions default_history_permissions_history_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13898 --
13899
13900 ALTER TABLE ONLY public.default_history_permissions
13901 ADD CONSTRAINT default_history_permissions_history_id_fkey FOREIGN KEY (history_id) REFERENCES public.history(id);
13902
13903
13904 --
13905 -- Name: default_history_permissions default_history_permissions_role_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13906 --
13907
13908 ALTER TABLE ONLY public.default_history_permissions
13909 ADD CONSTRAINT default_history_permissions_role_id_fkey FOREIGN KEY (role_id) REFERENCES public.role(id);
13910
13911
13912 --
13913 -- Name: default_quota_association default_quota_association_quota_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13914 --
13915
13916 ALTER TABLE ONLY public.default_quota_association
13917 ADD CONSTRAINT default_quota_association_quota_id_fkey FOREIGN KEY (quota_id) REFERENCES public.quota(id);
13918
13919
13920 --
13921 -- Name: default_user_permissions default_user_permissions_role_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13922 --
13923
13924 ALTER TABLE ONLY public.default_user_permissions
13925 ADD CONSTRAINT default_user_permissions_role_id_fkey FOREIGN KEY (role_id) REFERENCES public.role(id);
13926
13927
13928 --
13929 -- Name: default_user_permissions default_user_permissions_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13930 --
13931
13932 ALTER TABLE ONLY public.default_user_permissions
13933 ADD CONSTRAINT default_user_permissions_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
13934
13935
13936 --
13937 -- Name: event event_history_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13938 --
13939
13940 ALTER TABLE ONLY public.event
13941 ADD CONSTRAINT event_history_id_fkey FOREIGN KEY (history_id) REFERENCES public.history(id);
13942
13943
13944 --
13945 -- Name: event event_session_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13946 --
13947
13948 ALTER TABLE ONLY public.event
13949 ADD CONSTRAINT event_session_id_fkey FOREIGN KEY (session_id) REFERENCES public.galaxy_session(id);
13950
13951
13952 --
13953 -- Name: event event_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13954 --
13955
13956 ALTER TABLE ONLY public.event
13957 ADD CONSTRAINT event_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
13958
13959
13960 --
13961 -- Name: extended_metadata_index extended_metadata_index_extended_metadata_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
13962 --
13963
13964 ALTER TABLE ONLY public.extended_metadata_index
13965 ADD CONSTRAINT extended_metadata_index_extended_metadata_id_fkey FOREIGN KEY (extended_metadata_id) REFERENCES public.extended_metadata(id) ON UPDATE CASCADE ON DELETE CASCADE;
13966
13967
13968 --
13969 -- Name: workflow_invocation_to_subworkflow_invocation_association fk_wfi_swi_swi; Type: FK CONSTRAINT; Schema: public; Owner: lite
13970 --
13971
13972 ALTER TABLE ONLY public.workflow_invocation_to_subworkflow_invocation_association
13973 ADD CONSTRAINT fk_wfi_swi_swi FOREIGN KEY (subworkflow_invocation_id) REFERENCES public.workflow_invocation(id);
13974
13975
13976 --
13977 -- Name: workflow_invocation_to_subworkflow_invocation_association fk_wfi_swi_wfi; Type: FK CONSTRAINT; Schema: public; Owner: lite
13978 --
13979
13980 ALTER TABLE ONLY public.workflow_invocation_to_subworkflow_invocation_association
13981 ADD CONSTRAINT fk_wfi_swi_wfi FOREIGN KEY (workflow_invocation_id) REFERENCES public.workflow_invocation(id);
13982
13983
13984 --
13985 -- Name: workflow_invocation_to_subworkflow_invocation_association fk_wfi_swi_ws; Type: FK CONSTRAINT; Schema: public; Owner: lite
13986 --
13987
13988 ALTER TABLE ONLY public.workflow_invocation_to_subworkflow_invocation_association
13989 ADD CONSTRAINT fk_wfi_swi_ws FOREIGN KEY (workflow_step_id) REFERENCES public.workflow_step(id);
13990
13991
13992 --
13993 -- Name: workflow_request_input_step_parameter fk_wfreq_isp_wfi; Type: FK CONSTRAINT; Schema: public; Owner: lite
13994 --
13995
13996 ALTER TABLE ONLY public.workflow_request_input_step_parameter
13997 ADD CONSTRAINT fk_wfreq_isp_wfi FOREIGN KEY (workflow_invocation_id) REFERENCES public.workflow_invocation(id);
13998
13999
14000 --
14001 -- Name: workflow_request_input_step_parameter fk_wfreq_isp_ws; Type: FK CONSTRAINT; Schema: public; Owner: lite
14002 --
14003
14004 ALTER TABLE ONLY public.workflow_request_input_step_parameter
14005 ADD CONSTRAINT fk_wfreq_isp_ws FOREIGN KEY (workflow_step_id) REFERENCES public.workflow_step(id);
14006
14007
14008 --
14009 -- Name: form_definition_current form_definition_current_latest_form_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: lite
14010 --
14011
14012 ALTER TABLE ONLY public.form_definition_current
14013 ADD CONSTRAINT form_definition_current_latest_form_id_fk FOREIGN KEY (latest_form_id) REFERENCES public.form_definition(id);
14014
14015
14016 --
14017 -- Name: form_definition form_definition_form_definition_current_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14018 --
14019
14020 ALTER TABLE ONLY public.form_definition
14021 ADD CONSTRAINT form_definition_form_definition_current_id_fkey FOREIGN KEY (form_definition_current_id) REFERENCES public.form_definition_current(id);
14022
14023
14024 --
14025 -- Name: form_values form_values_form_definition_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14026 --
14027
14028 ALTER TABLE ONLY public.form_values
14029 ADD CONSTRAINT form_values_form_definition_id_fkey FOREIGN KEY (form_definition_id) REFERENCES public.form_definition(id);
14030
14031
14032 --
14033 -- Name: galaxy_session galaxy_session_current_history_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14034 --
14035
14036 ALTER TABLE ONLY public.galaxy_session
14037 ADD CONSTRAINT galaxy_session_current_history_id_fkey FOREIGN KEY (current_history_id) REFERENCES public.history(id);
14038
14039
14040 --
14041 -- Name: galaxy_session_to_history galaxy_session_to_history_history_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14042 --
14043
14044 ALTER TABLE ONLY public.galaxy_session_to_history
14045 ADD CONSTRAINT galaxy_session_to_history_history_id_fkey FOREIGN KEY (history_id) REFERENCES public.history(id);
14046
14047
14048 --
14049 -- Name: galaxy_session_to_history galaxy_session_to_history_session_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14050 --
14051
14052 ALTER TABLE ONLY public.galaxy_session_to_history
14053 ADD CONSTRAINT galaxy_session_to_history_session_id_fkey FOREIGN KEY (session_id) REFERENCES public.galaxy_session(id);
14054
14055
14056 --
14057 -- Name: galaxy_session galaxy_session_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14058 --
14059
14060 ALTER TABLE ONLY public.galaxy_session
14061 ADD CONSTRAINT galaxy_session_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
14062
14063
14064 --
14065 -- Name: galaxy_user_openid galaxy_user_openid_session_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14066 --
14067
14068 ALTER TABLE ONLY public.galaxy_user_openid
14069 ADD CONSTRAINT galaxy_user_openid_session_id_fkey FOREIGN KEY (session_id) REFERENCES public.galaxy_session(id);
14070
14071
14072 --
14073 -- Name: galaxy_user_openid galaxy_user_openid_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14074 --
14075
14076 ALTER TABLE ONLY public.galaxy_user_openid
14077 ADD CONSTRAINT galaxy_user_openid_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
14078
14079
14080 --
14081 -- Name: genome_index_tool_data genome_index_tool_data_dataset_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14082 --
14083
14084 ALTER TABLE ONLY public.genome_index_tool_data
14085 ADD CONSTRAINT genome_index_tool_data_dataset_id_fkey FOREIGN KEY (dataset_id) REFERENCES public.dataset(id);
14086
14087
14088 --
14089 -- Name: genome_index_tool_data genome_index_tool_data_deferred_job_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14090 --
14091
14092 ALTER TABLE ONLY public.genome_index_tool_data
14093 ADD CONSTRAINT genome_index_tool_data_deferred_job_id_fkey FOREIGN KEY (deferred_job_id) REFERENCES public.deferred_job(id);
14094
14095
14096 --
14097 -- Name: genome_index_tool_data genome_index_tool_data_job_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14098 --
14099
14100 ALTER TABLE ONLY public.genome_index_tool_data
14101 ADD CONSTRAINT genome_index_tool_data_job_id_fkey FOREIGN KEY (job_id) REFERENCES public.job(id);
14102
14103
14104 --
14105 -- Name: genome_index_tool_data genome_index_tool_data_transfer_job_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14106 --
14107
14108 ALTER TABLE ONLY public.genome_index_tool_data
14109 ADD CONSTRAINT genome_index_tool_data_transfer_job_id_fkey FOREIGN KEY (transfer_job_id) REFERENCES public.transfer_job(id);
14110
14111
14112 --
14113 -- Name: genome_index_tool_data genome_index_tool_data_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14114 --
14115
14116 ALTER TABLE ONLY public.genome_index_tool_data
14117 ADD CONSTRAINT genome_index_tool_data_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
14118
14119
14120 --
14121 -- Name: group_quota_association group_quota_association_group_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14122 --
14123
14124 ALTER TABLE ONLY public.group_quota_association
14125 ADD CONSTRAINT group_quota_association_group_id_fkey FOREIGN KEY (group_id) REFERENCES public.galaxy_group(id);
14126
14127
14128 --
14129 -- Name: group_quota_association group_quota_association_quota_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14130 --
14131
14132 ALTER TABLE ONLY public.group_quota_association
14133 ADD CONSTRAINT group_quota_association_quota_id_fkey FOREIGN KEY (quota_id) REFERENCES public.quota(id);
14134
14135
14136 --
14137 -- Name: group_role_association group_role_association_group_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14138 --
14139
14140 ALTER TABLE ONLY public.group_role_association
14141 ADD CONSTRAINT group_role_association_group_id_fkey FOREIGN KEY (group_id) REFERENCES public.galaxy_group(id);
14142
14143
14144 --
14145 -- Name: group_role_association group_role_association_role_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14146 --
14147
14148 ALTER TABLE ONLY public.group_role_association
14149 ADD CONSTRAINT group_role_association_role_id_fkey FOREIGN KEY (role_id) REFERENCES public.role(id);
14150
14151
14152 --
14153 -- Name: history_annotation_association history_annotation_association_history_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14154 --
14155
14156 ALTER TABLE ONLY public.history_annotation_association
14157 ADD CONSTRAINT history_annotation_association_history_id_fkey FOREIGN KEY (history_id) REFERENCES public.history(id);
14158
14159
14160 --
14161 -- Name: history_annotation_association history_annotation_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14162 --
14163
14164 ALTER TABLE ONLY public.history_annotation_association
14165 ADD CONSTRAINT history_annotation_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
14166
14167
14168 --
14169 -- Name: history_dataset_association_subset history_dataset_association__history_dataset_association__fkey1; Type: FK CONSTRAINT; Schema: public; Owner: lite
14170 --
14171
14172 ALTER TABLE ONLY public.history_dataset_association_subset
14173 ADD CONSTRAINT history_dataset_association__history_dataset_association__fkey1 FOREIGN KEY (history_dataset_association_subset_id) REFERENCES public.history_dataset_association(id);
14174
14175
14176 --
14177 -- Name: history_dataset_association_annotation_association history_dataset_association_a_history_dataset_association__fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14178 --
14179
14180 ALTER TABLE ONLY public.history_dataset_association_annotation_association
14181 ADD CONSTRAINT history_dataset_association_a_history_dataset_association__fkey FOREIGN KEY (history_dataset_association_id) REFERENCES public.history_dataset_association(id);
14182
14183
14184 --
14185 -- Name: history_dataset_association_annotation_association history_dataset_association_annotation_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14186 --
14187
14188 ALTER TABLE ONLY public.history_dataset_association_annotation_association
14189 ADD CONSTRAINT history_dataset_association_annotation_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
14190
14191
14192 --
14193 -- Name: history_dataset_association history_dataset_association_copied_from_history_dataset_as_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14194 --
14195
14196 ALTER TABLE ONLY public.history_dataset_association
14197 ADD CONSTRAINT history_dataset_association_copied_from_history_dataset_as_fkey FOREIGN KEY (copied_from_history_dataset_association_id) REFERENCES public.history_dataset_association(id);
14198
14199
14200 --
14201 -- Name: history_dataset_association history_dataset_association_copied_from_library_dataset_da_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14202 --
14203
14204 ALTER TABLE ONLY public.history_dataset_association
14205 ADD CONSTRAINT history_dataset_association_copied_from_library_dataset_da_fkey FOREIGN KEY (copied_from_library_dataset_dataset_association_id) REFERENCES public.library_dataset_dataset_association(id);
14206
14207
14208 --
14209 -- Name: history_dataset_association_display_at_authorization history_dataset_association_d_history_dataset_association__fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14210 --
14211
14212 ALTER TABLE ONLY public.history_dataset_association_display_at_authorization
14213 ADD CONSTRAINT history_dataset_association_d_history_dataset_association__fkey FOREIGN KEY (history_dataset_association_id) REFERENCES public.history_dataset_association(id);
14214
14215
14216 --
14217 -- Name: history_dataset_association history_dataset_association_dataset_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14218 --
14219
14220 ALTER TABLE ONLY public.history_dataset_association
14221 ADD CONSTRAINT history_dataset_association_dataset_id_fkey FOREIGN KEY (dataset_id) REFERENCES public.dataset(id);
14222
14223
14224 --
14225 -- Name: library_dataset_dataset_association history_dataset_association_dataset_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14226 --
14227
14228 ALTER TABLE ONLY public.library_dataset_dataset_association
14229 ADD CONSTRAINT history_dataset_association_dataset_id_fkey FOREIGN KEY (copied_from_history_dataset_association_id) REFERENCES public.history_dataset_association(id);
14230
14231
14232 --
14233 -- Name: history_dataset_association_display_at_authorization history_dataset_association_display_at_authorizati_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14234 --
14235
14236 ALTER TABLE ONLY public.history_dataset_association_display_at_authorization
14237 ADD CONSTRAINT history_dataset_association_display_at_authorizati_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
14238
14239
14240 --
14241 -- Name: history_dataset_association history_dataset_association_extended_metadata_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14242 --
14243
14244 ALTER TABLE ONLY public.history_dataset_association
14245 ADD CONSTRAINT history_dataset_association_extended_metadata_id_fkey FOREIGN KEY (extended_metadata_id) REFERENCES public.extended_metadata(id);
14246
14247
14248 --
14249 -- Name: history_dataset_association history_dataset_association_hidden_beneath_collection_inst_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14250 --
14251
14252 ALTER TABLE ONLY public.history_dataset_association
14253 ADD CONSTRAINT history_dataset_association_hidden_beneath_collection_inst_fkey FOREIGN KEY (hidden_beneath_collection_instance_id) REFERENCES public.history_dataset_collection_association(id);
14254
14255
14256 --
14257 -- Name: history_dataset_association history_dataset_association_history_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14258 --
14259
14260 ALTER TABLE ONLY public.history_dataset_association
14261 ADD CONSTRAINT history_dataset_association_history_id_fkey FOREIGN KEY (history_id) REFERENCES public.history(id);
14262
14263
14264 --
14265 -- Name: history_dataset_association history_dataset_association_parent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14266 --
14267
14268 ALTER TABLE ONLY public.history_dataset_association
14269 ADD CONSTRAINT history_dataset_association_parent_id_fkey FOREIGN KEY (parent_id) REFERENCES public.history_dataset_association(id);
14270
14271
14272 --
14273 -- Name: history_dataset_association_rating_association history_dataset_association_r_history_dataset_association__fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14274 --
14275
14276 ALTER TABLE ONLY public.history_dataset_association_rating_association
14277 ADD CONSTRAINT history_dataset_association_r_history_dataset_association__fkey FOREIGN KEY (history_dataset_association_id) REFERENCES public.history_dataset_association(id);
14278
14279
14280 --
14281 -- Name: history_dataset_association_rating_association history_dataset_association_rating_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14282 --
14283
14284 ALTER TABLE ONLY public.history_dataset_association_rating_association
14285 ADD CONSTRAINT history_dataset_association_rating_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
14286
14287
14288 --
14289 -- Name: history_dataset_association_subset history_dataset_association_s_history_dataset_association__fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14290 --
14291
14292 ALTER TABLE ONLY public.history_dataset_association_subset
14293 ADD CONSTRAINT history_dataset_association_s_history_dataset_association__fkey FOREIGN KEY (history_dataset_association_id) REFERENCES public.history_dataset_association(id);
14294
14295
14296 --
14297 -- Name: history_dataset_association_tag_association history_dataset_association_t_history_dataset_association__fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14298 --
14299
14300 ALTER TABLE ONLY public.history_dataset_association_tag_association
14301 ADD CONSTRAINT history_dataset_association_t_history_dataset_association__fkey FOREIGN KEY (history_dataset_association_id) REFERENCES public.history_dataset_association(id);
14302
14303
14304 --
14305 -- Name: history_dataset_association_tag_association history_dataset_association_tag_association_tag_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14306 --
14307
14308 ALTER TABLE ONLY public.history_dataset_association_tag_association
14309 ADD CONSTRAINT history_dataset_association_tag_association_tag_id_fkey FOREIGN KEY (tag_id) REFERENCES public.tag(id);
14310
14311
14312 --
14313 -- Name: history_dataset_association_tag_association history_dataset_association_tag_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14314 --
14315
14316 ALTER TABLE ONLY public.history_dataset_association_tag_association
14317 ADD CONSTRAINT history_dataset_association_tag_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
14318
14319
14320 --
14321 -- Name: history_dataset_collection_annotation_association history_dataset_collection_an_history_dataset_collection_i_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14322 --
14323
14324 ALTER TABLE ONLY public.history_dataset_collection_annotation_association
14325 ADD CONSTRAINT history_dataset_collection_an_history_dataset_collection_i_fkey FOREIGN KEY (history_dataset_collection_id) REFERENCES public.history_dataset_collection_association(id);
14326
14327
14328 --
14329 -- Name: history_dataset_collection_annotation_association history_dataset_collection_annotation_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14330 --
14331
14332 ALTER TABLE ONLY public.history_dataset_collection_annotation_association
14333 ADD CONSTRAINT history_dataset_collection_annotation_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
14334
14335
14336 --
14337 -- Name: history_dataset_collection_association history_dataset_collection_as_copied_from_history_dataset__fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14338 --
14339
14340 ALTER TABLE ONLY public.history_dataset_collection_association
14341 ADD CONSTRAINT history_dataset_collection_as_copied_from_history_dataset__fkey FOREIGN KEY (copied_from_history_dataset_collection_association_id) REFERENCES public.history_dataset_collection_association(id);
14342
14343
14344 --
14345 -- Name: history_dataset_collection_association history_dataset_collection_association_collection_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14346 --
14347
14348 ALTER TABLE ONLY public.history_dataset_collection_association
14349 ADD CONSTRAINT history_dataset_collection_association_collection_id_fkey FOREIGN KEY (collection_id) REFERENCES public.dataset_collection(id);
14350
14351
14352 --
14353 -- Name: history_dataset_collection_association history_dataset_collection_association_history_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14354 --
14355
14356 ALTER TABLE ONLY public.history_dataset_collection_association
14357 ADD CONSTRAINT history_dataset_collection_association_history_id_fkey FOREIGN KEY (history_id) REFERENCES public.history(id);
14358
14359
14360 --
14361 -- Name: history_dataset_collection_rating_association history_dataset_collection_ra_history_dataset_collection_i_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14362 --
14363
14364 ALTER TABLE ONLY public.history_dataset_collection_rating_association
14365 ADD CONSTRAINT history_dataset_collection_ra_history_dataset_collection_i_fkey FOREIGN KEY (history_dataset_collection_id) REFERENCES public.history_dataset_collection_association(id);
14366
14367
14368 --
14369 -- Name: history_dataset_collection_rating_association history_dataset_collection_rating_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14370 --
14371
14372 ALTER TABLE ONLY public.history_dataset_collection_rating_association
14373 ADD CONSTRAINT history_dataset_collection_rating_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
14374
14375
14376 --
14377 -- Name: history_dataset_collection_tag_association history_dataset_collection_ta_history_dataset_collection_i_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14378 --
14379
14380 ALTER TABLE ONLY public.history_dataset_collection_tag_association
14381 ADD CONSTRAINT history_dataset_collection_ta_history_dataset_collection_i_fkey FOREIGN KEY (history_dataset_collection_id) REFERENCES public.history_dataset_collection_association(id);
14382
14383
14384 --
14385 -- Name: history_dataset_collection_tag_association history_dataset_collection_tag_association_tag_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14386 --
14387
14388 ALTER TABLE ONLY public.history_dataset_collection_tag_association
14389 ADD CONSTRAINT history_dataset_collection_tag_association_tag_id_fkey FOREIGN KEY (tag_id) REFERENCES public.tag(id);
14390
14391
14392 --
14393 -- Name: history_dataset_collection_tag_association history_dataset_collection_tag_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14394 --
14395
14396 ALTER TABLE ONLY public.history_dataset_collection_tag_association
14397 ADD CONSTRAINT history_dataset_collection_tag_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
14398
14399
14400 --
14401 -- Name: history_rating_association history_rating_association_history_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14402 --
14403
14404 ALTER TABLE ONLY public.history_rating_association
14405 ADD CONSTRAINT history_rating_association_history_id_fkey FOREIGN KEY (history_id) REFERENCES public.history(id);
14406
14407
14408 --
14409 -- Name: history_rating_association history_rating_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14410 --
14411
14412 ALTER TABLE ONLY public.history_rating_association
14413 ADD CONSTRAINT history_rating_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
14414
14415
14416 --
14417 -- Name: history_tag_association history_tag_association_history_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14418 --
14419
14420 ALTER TABLE ONLY public.history_tag_association
14421 ADD CONSTRAINT history_tag_association_history_id_fkey FOREIGN KEY (history_id) REFERENCES public.history(id);
14422
14423
14424 --
14425 -- Name: history_tag_association history_tag_association_tag_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14426 --
14427
14428 ALTER TABLE ONLY public.history_tag_association
14429 ADD CONSTRAINT history_tag_association_tag_id_fkey FOREIGN KEY (tag_id) REFERENCES public.tag(id);
14430
14431
14432 --
14433 -- Name: history_tag_association history_tag_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14434 --
14435
14436 ALTER TABLE ONLY public.history_tag_association
14437 ADD CONSTRAINT history_tag_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
14438
14439
14440 --
14441 -- Name: history history_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14442 --
14443
14444 ALTER TABLE ONLY public.history
14445 ADD CONSTRAINT history_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
14446
14447
14448 --
14449 -- Name: history_user_share_association history_user_share_association_history_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14450 --
14451
14452 ALTER TABLE ONLY public.history_user_share_association
14453 ADD CONSTRAINT history_user_share_association_history_id_fkey FOREIGN KEY (history_id) REFERENCES public.history(id);
14454
14455
14456 --
14457 -- Name: history_user_share_association history_user_share_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14458 --
14459
14460 ALTER TABLE ONLY public.history_user_share_association
14461 ADD CONSTRAINT history_user_share_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
14462
14463
14464 --
14465 -- Name: implicitly_converted_dataset_association implicitly_converted_dataset_association_hda_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14466 --
14467
14468 ALTER TABLE ONLY public.implicitly_converted_dataset_association
14469 ADD CONSTRAINT implicitly_converted_dataset_association_hda_id_fkey FOREIGN KEY (hda_id) REFERENCES public.history_dataset_association(id);
14470
14471
14472 --
14473 -- Name: implicitly_converted_dataset_association implicitly_converted_dataset_association_hda_parent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14474 --
14475
14476 ALTER TABLE ONLY public.implicitly_converted_dataset_association
14477 ADD CONSTRAINT implicitly_converted_dataset_association_hda_parent_id_fkey FOREIGN KEY (hda_parent_id) REFERENCES public.history_dataset_association(id);
14478
14479
14480 --
14481 -- Name: implicitly_converted_dataset_association implicitly_converted_dataset_association_ldda_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14482 --
14483
14484 ALTER TABLE ONLY public.implicitly_converted_dataset_association
14485 ADD CONSTRAINT implicitly_converted_dataset_association_ldda_id_fkey FOREIGN KEY (ldda_id) REFERENCES public.library_dataset_dataset_association(id);
14486
14487
14488 --
14489 -- Name: implicitly_converted_dataset_association implicitly_converted_dataset_association_ldda_parent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14490 --
14491
14492 ALTER TABLE ONLY public.implicitly_converted_dataset_association
14493 ADD CONSTRAINT implicitly_converted_dataset_association_ldda_parent_id_fkey FOREIGN KEY (ldda_parent_id) REFERENCES public.library_dataset_dataset_association(id);
14494
14495
14496 --
14497 -- Name: implicitly_created_dataset_collection_inputs implicitly_created_dataset_col_input_dataset_collection_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14498 --
14499
14500 ALTER TABLE ONLY public.implicitly_created_dataset_collection_inputs
14501 ADD CONSTRAINT implicitly_created_dataset_col_input_dataset_collection_id_fkey FOREIGN KEY (input_dataset_collection_id) REFERENCES public.history_dataset_collection_association(id);
14502
14503
14504 --
14505 -- Name: implicitly_created_dataset_collection_inputs implicitly_created_dataset_collectio_dataset_collection_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14506 --
14507
14508 ALTER TABLE ONLY public.implicitly_created_dataset_collection_inputs
14509 ADD CONSTRAINT implicitly_created_dataset_collectio_dataset_collection_id_fkey FOREIGN KEY (dataset_collection_id) REFERENCES public.history_dataset_collection_association(id);
14510
14511
14512 --
14513 -- Name: job_export_history_archive job_export_history_archive_dataset_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14514 --
14515
14516 ALTER TABLE ONLY public.job_export_history_archive
14517 ADD CONSTRAINT job_export_history_archive_dataset_id_fkey FOREIGN KEY (dataset_id) REFERENCES public.dataset(id);
14518
14519
14520 --
14521 -- Name: job_export_history_archive job_export_history_archive_history_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14522 --
14523
14524 ALTER TABLE ONLY public.job_export_history_archive
14525 ADD CONSTRAINT job_export_history_archive_history_id_fkey FOREIGN KEY (history_id) REFERENCES public.history(id);
14526
14527
14528 --
14529 -- Name: job_export_history_archive job_export_history_archive_job_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14530 --
14531
14532 ALTER TABLE ONLY public.job_export_history_archive
14533 ADD CONSTRAINT job_export_history_archive_job_id_fkey FOREIGN KEY (job_id) REFERENCES public.job(id);
14534
14535
14536 --
14537 -- Name: job_external_output_metadata job_external_output_metadata_history_dataset_association_i_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14538 --
14539
14540 ALTER TABLE ONLY public.job_external_output_metadata
14541 ADD CONSTRAINT job_external_output_metadata_history_dataset_association_i_fkey FOREIGN KEY (history_dataset_association_id) REFERENCES public.history_dataset_association(id);
14542
14543
14544 --
14545 -- Name: job_external_output_metadata job_external_output_metadata_job_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14546 --
14547
14548 ALTER TABLE ONLY public.job_external_output_metadata
14549 ADD CONSTRAINT job_external_output_metadata_job_id_fkey FOREIGN KEY (job_id) REFERENCES public.job(id);
14550
14551
14552 --
14553 -- Name: job_external_output_metadata job_external_output_metadata_library_dataset_dataset_assoc_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14554 --
14555
14556 ALTER TABLE ONLY public.job_external_output_metadata
14557 ADD CONSTRAINT job_external_output_metadata_library_dataset_dataset_assoc_fkey FOREIGN KEY (library_dataset_dataset_association_id) REFERENCES public.library_dataset_dataset_association(id);
14558
14559
14560 --
14561 -- Name: job job_history_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14562 --
14563
14564 ALTER TABLE ONLY public.job
14565 ADD CONSTRAINT job_history_id_fkey FOREIGN KEY (history_id) REFERENCES public.history(id);
14566
14567
14568 --
14569 -- Name: job_import_history_archive job_import_history_archive_history_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14570 --
14571
14572 ALTER TABLE ONLY public.job_import_history_archive
14573 ADD CONSTRAINT job_import_history_archive_history_id_fkey FOREIGN KEY (history_id) REFERENCES public.history(id);
14574
14575
14576 --
14577 -- Name: job_import_history_archive job_import_history_archive_job_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14578 --
14579
14580 ALTER TABLE ONLY public.job_import_history_archive
14581 ADD CONSTRAINT job_import_history_archive_job_id_fkey FOREIGN KEY (job_id) REFERENCES public.job(id);
14582
14583
14584 --
14585 -- Name: job job_library_folder_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: lite
14586 --
14587
14588 ALTER TABLE ONLY public.job
14589 ADD CONSTRAINT job_library_folder_id_fk FOREIGN KEY (library_folder_id) REFERENCES public.library_folder(id);
14590
14591
14592 --
14593 -- Name: job_metric_numeric job_metric_numeric_job_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14594 --
14595
14596 ALTER TABLE ONLY public.job_metric_numeric
14597 ADD CONSTRAINT job_metric_numeric_job_id_fkey FOREIGN KEY (job_id) REFERENCES public.job(id);
14598
14599
14600 --
14601 -- Name: job_metric_text job_metric_text_job_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14602 --
14603
14604 ALTER TABLE ONLY public.job_metric_text
14605 ADD CONSTRAINT job_metric_text_job_id_fkey FOREIGN KEY (job_id) REFERENCES public.job(id);
14606
14607
14608 --
14609 -- Name: job_parameter job_parameter_job_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14610 --
14611
14612 ALTER TABLE ONLY public.job_parameter
14613 ADD CONSTRAINT job_parameter_job_id_fkey FOREIGN KEY (job_id) REFERENCES public.job(id);
14614
14615
14616 --
14617 -- Name: job job_session_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14618 --
14619
14620 ALTER TABLE ONLY public.job
14621 ADD CONSTRAINT job_session_id_fkey FOREIGN KEY (session_id) REFERENCES public.galaxy_session(id);
14622
14623
14624 --
14625 -- Name: job_state_history job_state_history_job_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14626 --
14627
14628 ALTER TABLE ONLY public.job_state_history
14629 ADD CONSTRAINT job_state_history_job_id_fkey FOREIGN KEY (job_id) REFERENCES public.job(id);
14630
14631
14632 --
14633 -- Name: job_to_implicit_output_dataset_collection job_to_implicit_output_dataset_colle_dataset_collection_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14634 --
14635
14636 ALTER TABLE ONLY public.job_to_implicit_output_dataset_collection
14637 ADD CONSTRAINT job_to_implicit_output_dataset_colle_dataset_collection_id_fkey FOREIGN KEY (dataset_collection_id) REFERENCES public.dataset_collection(id);
14638
14639
14640 --
14641 -- Name: job_to_implicit_output_dataset_collection job_to_implicit_output_dataset_collection_job_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14642 --
14643
14644 ALTER TABLE ONLY public.job_to_implicit_output_dataset_collection
14645 ADD CONSTRAINT job_to_implicit_output_dataset_collection_job_id_fkey FOREIGN KEY (job_id) REFERENCES public.job(id);
14646
14647
14648 --
14649 -- Name: job_to_input_dataset_collection job_to_input_dataset_collection_dataset_collection_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14650 --
14651
14652 ALTER TABLE ONLY public.job_to_input_dataset_collection
14653 ADD CONSTRAINT job_to_input_dataset_collection_dataset_collection_id_fkey FOREIGN KEY (dataset_collection_id) REFERENCES public.history_dataset_collection_association(id);
14654
14655
14656 --
14657 -- Name: job_to_input_dataset_collection job_to_input_dataset_collection_job_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14658 --
14659
14660 ALTER TABLE ONLY public.job_to_input_dataset_collection
14661 ADD CONSTRAINT job_to_input_dataset_collection_job_id_fkey FOREIGN KEY (job_id) REFERENCES public.job(id);
14662
14663
14664 --
14665 -- Name: job_to_input_dataset job_to_input_dataset_dataset_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14666 --
14667
14668 ALTER TABLE ONLY public.job_to_input_dataset
14669 ADD CONSTRAINT job_to_input_dataset_dataset_id_fkey FOREIGN KEY (dataset_id) REFERENCES public.history_dataset_association(id);
14670
14671
14672 --
14673 -- Name: job_to_input_dataset job_to_input_dataset_job_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14674 --
14675
14676 ALTER TABLE ONLY public.job_to_input_dataset
14677 ADD CONSTRAINT job_to_input_dataset_job_id_fkey FOREIGN KEY (job_id) REFERENCES public.job(id);
14678
14679
14680 --
14681 -- Name: job_to_input_library_dataset job_to_input_library_dataset_job_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14682 --
14683
14684 ALTER TABLE ONLY public.job_to_input_library_dataset
14685 ADD CONSTRAINT job_to_input_library_dataset_job_id_fkey FOREIGN KEY (job_id) REFERENCES public.job(id);
14686
14687
14688 --
14689 -- Name: job_to_input_library_dataset job_to_input_library_dataset_ldda_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14690 --
14691
14692 ALTER TABLE ONLY public.job_to_input_library_dataset
14693 ADD CONSTRAINT job_to_input_library_dataset_ldda_id_fkey FOREIGN KEY (ldda_id) REFERENCES public.library_dataset_dataset_association(id);
14694
14695
14696 --
14697 -- Name: job_to_output_dataset_collection job_to_output_dataset_collection_dataset_collection_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14698 --
14699
14700 ALTER TABLE ONLY public.job_to_output_dataset_collection
14701 ADD CONSTRAINT job_to_output_dataset_collection_dataset_collection_id_fkey FOREIGN KEY (dataset_collection_id) REFERENCES public.history_dataset_collection_association(id);
14702
14703
14704 --
14705 -- Name: job_to_output_dataset_collection job_to_output_dataset_collection_job_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14706 --
14707
14708 ALTER TABLE ONLY public.job_to_output_dataset_collection
14709 ADD CONSTRAINT job_to_output_dataset_collection_job_id_fkey FOREIGN KEY (job_id) REFERENCES public.job(id);
14710
14711
14712 --
14713 -- Name: job_to_output_dataset job_to_output_dataset_dataset_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14714 --
14715
14716 ALTER TABLE ONLY public.job_to_output_dataset
14717 ADD CONSTRAINT job_to_output_dataset_dataset_id_fkey FOREIGN KEY (dataset_id) REFERENCES public.history_dataset_association(id);
14718
14719
14720 --
14721 -- Name: job_to_output_dataset job_to_output_dataset_job_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14722 --
14723
14724 ALTER TABLE ONLY public.job_to_output_dataset
14725 ADD CONSTRAINT job_to_output_dataset_job_id_fkey FOREIGN KEY (job_id) REFERENCES public.job(id);
14726
14727
14728 --
14729 -- Name: job_to_output_library_dataset job_to_output_library_dataset_job_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14730 --
14731
14732 ALTER TABLE ONLY public.job_to_output_library_dataset
14733 ADD CONSTRAINT job_to_output_library_dataset_job_id_fkey FOREIGN KEY (job_id) REFERENCES public.job(id);
14734
14735
14736 --
14737 -- Name: job_to_output_library_dataset job_to_output_library_dataset_ldda_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14738 --
14739
14740 ALTER TABLE ONLY public.job_to_output_library_dataset
14741 ADD CONSTRAINT job_to_output_library_dataset_ldda_id_fkey FOREIGN KEY (ldda_id) REFERENCES public.library_dataset_dataset_association(id);
14742
14743
14744 --
14745 -- Name: job job_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14746 --
14747
14748 ALTER TABLE ONLY public.job
14749 ADD CONSTRAINT job_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
14750
14751
14752 --
14753 -- Name: library_dataset_collection_annotation_association library_dataset_collection_an_library_dataset_collection_i_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14754 --
14755
14756 ALTER TABLE ONLY public.library_dataset_collection_annotation_association
14757 ADD CONSTRAINT library_dataset_collection_an_library_dataset_collection_i_fkey FOREIGN KEY (library_dataset_collection_id) REFERENCES public.library_dataset_collection_association(id);
14758
14759
14760 --
14761 -- Name: library_dataset_collection_annotation_association library_dataset_collection_annotation_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14762 --
14763
14764 ALTER TABLE ONLY public.library_dataset_collection_annotation_association
14765 ADD CONSTRAINT library_dataset_collection_annotation_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
14766
14767
14768 --
14769 -- Name: library_dataset_collection_association library_dataset_collection_association_collection_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14770 --
14771
14772 ALTER TABLE ONLY public.library_dataset_collection_association
14773 ADD CONSTRAINT library_dataset_collection_association_collection_id_fkey FOREIGN KEY (collection_id) REFERENCES public.dataset_collection(id);
14774
14775
14776 --
14777 -- Name: library_dataset_collection_association library_dataset_collection_association_folder_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14778 --
14779
14780 ALTER TABLE ONLY public.library_dataset_collection_association
14781 ADD CONSTRAINT library_dataset_collection_association_folder_id_fkey FOREIGN KEY (folder_id) REFERENCES public.library_folder(id);
14782
14783
14784 --
14785 -- Name: library_dataset_collection_rating_association library_dataset_collection_ra_library_dataset_collection_i_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14786 --
14787
14788 ALTER TABLE ONLY public.library_dataset_collection_rating_association
14789 ADD CONSTRAINT library_dataset_collection_ra_library_dataset_collection_i_fkey FOREIGN KEY (library_dataset_collection_id) REFERENCES public.library_dataset_collection_association(id);
14790
14791
14792 --
14793 -- Name: library_dataset_collection_rating_association library_dataset_collection_rating_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14794 --
14795
14796 ALTER TABLE ONLY public.library_dataset_collection_rating_association
14797 ADD CONSTRAINT library_dataset_collection_rating_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
14798
14799
14800 --
14801 -- Name: library_dataset_collection_tag_association library_dataset_collection_ta_library_dataset_collection_i_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14802 --
14803
14804 ALTER TABLE ONLY public.library_dataset_collection_tag_association
14805 ADD CONSTRAINT library_dataset_collection_ta_library_dataset_collection_i_fkey FOREIGN KEY (library_dataset_collection_id) REFERENCES public.library_dataset_collection_association(id);
14806
14807
14808 --
14809 -- Name: library_dataset_collection_tag_association library_dataset_collection_tag_association_tag_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14810 --
14811
14812 ALTER TABLE ONLY public.library_dataset_collection_tag_association
14813 ADD CONSTRAINT library_dataset_collection_tag_association_tag_id_fkey FOREIGN KEY (tag_id) REFERENCES public.tag(id);
14814
14815
14816 --
14817 -- Name: library_dataset_collection_tag_association library_dataset_collection_tag_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14818 --
14819
14820 ALTER TABLE ONLY public.library_dataset_collection_tag_association
14821 ADD CONSTRAINT library_dataset_collection_tag_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
14822
14823
14824 --
14825 -- Name: library_dataset_dataset_association_tag_association library_dataset_dataset_asso_library_dataset_dataset_asso_fkey1; Type: FK CONSTRAINT; Schema: public; Owner: lite
14826 --
14827
14828 ALTER TABLE ONLY public.library_dataset_dataset_association_tag_association
14829 ADD CONSTRAINT library_dataset_dataset_asso_library_dataset_dataset_asso_fkey1 FOREIGN KEY (library_dataset_dataset_association_id) REFERENCES public.library_dataset_dataset_association(id);
14830
14831
14832 --
14833 -- Name: library_dataset_dataset_association_permissions library_dataset_dataset_assoc_library_dataset_dataset_asso_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14834 --
14835
14836 ALTER TABLE ONLY public.library_dataset_dataset_association_permissions
14837 ADD CONSTRAINT library_dataset_dataset_assoc_library_dataset_dataset_asso_fkey FOREIGN KEY (library_dataset_dataset_association_id) REFERENCES public.library_dataset_dataset_association(id);
14838
14839
14840 --
14841 -- Name: library_dataset_dataset_association library_dataset_dataset_association_dataset_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14842 --
14843
14844 ALTER TABLE ONLY public.library_dataset_dataset_association
14845 ADD CONSTRAINT library_dataset_dataset_association_dataset_id_fkey FOREIGN KEY (dataset_id) REFERENCES public.dataset(id);
14846
14847
14848 --
14849 -- Name: library_dataset_dataset_association library_dataset_dataset_association_extended_metadata_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14850 --
14851
14852 ALTER TABLE ONLY public.library_dataset_dataset_association
14853 ADD CONSTRAINT library_dataset_dataset_association_extended_metadata_id_fkey FOREIGN KEY (extended_metadata_id) REFERENCES public.extended_metadata(id);
14854
14855
14856 --
14857 -- Name: library_dataset library_dataset_dataset_association_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: lite
14858 --
14859
14860 ALTER TABLE ONLY public.library_dataset
14861 ADD CONSTRAINT library_dataset_dataset_association_id_fk FOREIGN KEY (library_dataset_dataset_association_id) REFERENCES public.library_dataset_dataset_association(id);
14862
14863
14864 --
14865 -- Name: library_dataset_dataset_association library_dataset_dataset_association_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14866 --
14867
14868 ALTER TABLE ONLY public.library_dataset_dataset_association
14869 ADD CONSTRAINT library_dataset_dataset_association_id_fkey FOREIGN KEY (copied_from_library_dataset_dataset_association_id) REFERENCES public.library_dataset_dataset_association(id);
14870
14871
14872 --
14873 -- Name: library_dataset_dataset_association library_dataset_dataset_association_library_dataset_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14874 --
14875
14876 ALTER TABLE ONLY public.library_dataset_dataset_association
14877 ADD CONSTRAINT library_dataset_dataset_association_library_dataset_id_fkey FOREIGN KEY (library_dataset_id) REFERENCES public.library_dataset(id);
14878
14879
14880 --
14881 -- Name: library_dataset_dataset_association library_dataset_dataset_association_parent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14882 --
14883
14884 ALTER TABLE ONLY public.library_dataset_dataset_association
14885 ADD CONSTRAINT library_dataset_dataset_association_parent_id_fkey FOREIGN KEY (parent_id) REFERENCES public.library_dataset_dataset_association(id);
14886
14887
14888 --
14889 -- Name: library_dataset_dataset_association_permissions library_dataset_dataset_association_permissions_role_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14890 --
14891
14892 ALTER TABLE ONLY public.library_dataset_dataset_association_permissions
14893 ADD CONSTRAINT library_dataset_dataset_association_permissions_role_id_fkey FOREIGN KEY (role_id) REFERENCES public.role(id);
14894
14895
14896 --
14897 -- Name: library_dataset_dataset_association_tag_association library_dataset_dataset_association_tag_associatio_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14898 --
14899
14900 ALTER TABLE ONLY public.library_dataset_dataset_association_tag_association
14901 ADD CONSTRAINT library_dataset_dataset_association_tag_associatio_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
14902
14903
14904 --
14905 -- Name: library_dataset_dataset_association_tag_association library_dataset_dataset_association_tag_association_tag_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14906 --
14907
14908 ALTER TABLE ONLY public.library_dataset_dataset_association_tag_association
14909 ADD CONSTRAINT library_dataset_dataset_association_tag_association_tag_id_fkey FOREIGN KEY (tag_id) REFERENCES public.tag(id);
14910
14911
14912 --
14913 -- Name: library_dataset_dataset_association library_dataset_dataset_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14914 --
14915
14916 ALTER TABLE ONLY public.library_dataset_dataset_association
14917 ADD CONSTRAINT library_dataset_dataset_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
14918
14919
14920 --
14921 -- Name: library_dataset_dataset_info_association library_dataset_dataset_info__library_dataset_dataset_asso_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14922 --
14923
14924 ALTER TABLE ONLY public.library_dataset_dataset_info_association
14925 ADD CONSTRAINT library_dataset_dataset_info__library_dataset_dataset_asso_fkey FOREIGN KEY (library_dataset_dataset_association_id) REFERENCES public.library_dataset_dataset_association(id);
14926
14927
14928 --
14929 -- Name: library_dataset_dataset_info_association library_dataset_dataset_info_associatio_form_definition_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14930 --
14931
14932 ALTER TABLE ONLY public.library_dataset_dataset_info_association
14933 ADD CONSTRAINT library_dataset_dataset_info_associatio_form_definition_id_fkey FOREIGN KEY (form_definition_id) REFERENCES public.form_definition(id);
14934
14935
14936 --
14937 -- Name: library_dataset_dataset_info_association library_dataset_dataset_info_association_form_values_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14938 --
14939
14940 ALTER TABLE ONLY public.library_dataset_dataset_info_association
14941 ADD CONSTRAINT library_dataset_dataset_info_association_form_values_id_fkey FOREIGN KEY (form_values_id) REFERENCES public.form_values(id);
14942
14943
14944 --
14945 -- Name: library_dataset library_dataset_folder_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14946 --
14947
14948 ALTER TABLE ONLY public.library_dataset
14949 ADD CONSTRAINT library_dataset_folder_id_fkey FOREIGN KEY (folder_id) REFERENCES public.library_folder(id);
14950
14951
14952 --
14953 -- Name: library_dataset_permissions library_dataset_permissions_library_dataset_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14954 --
14955
14956 ALTER TABLE ONLY public.library_dataset_permissions
14957 ADD CONSTRAINT library_dataset_permissions_library_dataset_id_fkey FOREIGN KEY (library_dataset_id) REFERENCES public.library_dataset(id);
14958
14959
14960 --
14961 -- Name: library_dataset_permissions library_dataset_permissions_role_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14962 --
14963
14964 ALTER TABLE ONLY public.library_dataset_permissions
14965 ADD CONSTRAINT library_dataset_permissions_role_id_fkey FOREIGN KEY (role_id) REFERENCES public.role(id);
14966
14967
14968 --
14969 -- Name: library_folder_info_association library_folder_info_association_form_definition_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14970 --
14971
14972 ALTER TABLE ONLY public.library_folder_info_association
14973 ADD CONSTRAINT library_folder_info_association_form_definition_id_fkey FOREIGN KEY (form_definition_id) REFERENCES public.form_definition(id);
14974
14975
14976 --
14977 -- Name: library_folder_info_association library_folder_info_association_form_values_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14978 --
14979
14980 ALTER TABLE ONLY public.library_folder_info_association
14981 ADD CONSTRAINT library_folder_info_association_form_values_id_fkey FOREIGN KEY (form_values_id) REFERENCES public.form_values(id);
14982
14983
14984 --
14985 -- Name: library_folder_info_association library_folder_info_association_library_folder_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14986 --
14987
14988 ALTER TABLE ONLY public.library_folder_info_association
14989 ADD CONSTRAINT library_folder_info_association_library_folder_id_fkey FOREIGN KEY (library_folder_id) REFERENCES public.library_folder(id);
14990
14991
14992 --
14993 -- Name: library_folder library_folder_parent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
14994 --
14995
14996 ALTER TABLE ONLY public.library_folder
14997 ADD CONSTRAINT library_folder_parent_id_fkey FOREIGN KEY (parent_id) REFERENCES public.library_folder(id);
14998
14999
15000 --
15001 -- Name: library_folder_permissions library_folder_permissions_library_folder_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15002 --
15003
15004 ALTER TABLE ONLY public.library_folder_permissions
15005 ADD CONSTRAINT library_folder_permissions_library_folder_id_fkey FOREIGN KEY (library_folder_id) REFERENCES public.library_folder(id);
15006
15007
15008 --
15009 -- Name: library_folder_permissions library_folder_permissions_role_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15010 --
15011
15012 ALTER TABLE ONLY public.library_folder_permissions
15013 ADD CONSTRAINT library_folder_permissions_role_id_fkey FOREIGN KEY (role_id) REFERENCES public.role(id);
15014
15015
15016 --
15017 -- Name: library_info_association library_info_association_form_definition_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15018 --
15019
15020 ALTER TABLE ONLY public.library_info_association
15021 ADD CONSTRAINT library_info_association_form_definition_id_fkey FOREIGN KEY (form_definition_id) REFERENCES public.form_definition(id);
15022
15023
15024 --
15025 -- Name: library_info_association library_info_association_form_values_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15026 --
15027
15028 ALTER TABLE ONLY public.library_info_association
15029 ADD CONSTRAINT library_info_association_form_values_id_fkey FOREIGN KEY (form_values_id) REFERENCES public.form_values(id);
15030
15031
15032 --
15033 -- Name: library_info_association library_info_association_library_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15034 --
15035
15036 ALTER TABLE ONLY public.library_info_association
15037 ADD CONSTRAINT library_info_association_library_id_fkey FOREIGN KEY (library_id) REFERENCES public.library(id);
15038
15039
15040 --
15041 -- Name: library_permissions library_permissions_library_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15042 --
15043
15044 ALTER TABLE ONLY public.library_permissions
15045 ADD CONSTRAINT library_permissions_library_id_fkey FOREIGN KEY (library_id) REFERENCES public.library(id);
15046
15047
15048 --
15049 -- Name: library_permissions library_permissions_role_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15050 --
15051
15052 ALTER TABLE ONLY public.library_permissions
15053 ADD CONSTRAINT library_permissions_role_id_fkey FOREIGN KEY (role_id) REFERENCES public.role(id);
15054
15055
15056 --
15057 -- Name: library library_root_folder_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15058 --
15059
15060 ALTER TABLE ONLY public.library
15061 ADD CONSTRAINT library_root_folder_id_fkey FOREIGN KEY (root_folder_id) REFERENCES public.library_folder(id);
15062
15063
15064 --
15065 -- Name: metadata_file metadata_file_hda_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15066 --
15067
15068 ALTER TABLE ONLY public.metadata_file
15069 ADD CONSTRAINT metadata_file_hda_id_fkey FOREIGN KEY (hda_id) REFERENCES public.history_dataset_association(id);
15070
15071
15072 --
15073 -- Name: metadata_file metadata_file_lda_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15074 --
15075
15076 ALTER TABLE ONLY public.metadata_file
15077 ADD CONSTRAINT metadata_file_lda_id_fkey FOREIGN KEY (lda_id) REFERENCES public.library_dataset_dataset_association(id);
15078
15079
15080 --
15081 -- Name: page_annotation_association page_annotation_association_page_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15082 --
15083
15084 ALTER TABLE ONLY public.page_annotation_association
15085 ADD CONSTRAINT page_annotation_association_page_id_fkey FOREIGN KEY (page_id) REFERENCES public.page(id);
15086
15087
15088 --
15089 -- Name: page_annotation_association page_annotation_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15090 --
15091
15092 ALTER TABLE ONLY public.page_annotation_association
15093 ADD CONSTRAINT page_annotation_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15094
15095
15096 --
15097 -- Name: page_rating_association page_rating_association_page_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15098 --
15099
15100 ALTER TABLE ONLY public.page_rating_association
15101 ADD CONSTRAINT page_rating_association_page_id_fkey FOREIGN KEY (page_id) REFERENCES public.page(id);
15102
15103
15104 --
15105 -- Name: page_rating_association page_rating_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15106 --
15107
15108 ALTER TABLE ONLY public.page_rating_association
15109 ADD CONSTRAINT page_rating_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15110
15111
15112 --
15113 -- Name: page_revision page_revision_page_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15114 --
15115
15116 ALTER TABLE ONLY public.page_revision
15117 ADD CONSTRAINT page_revision_page_id_fkey FOREIGN KEY (page_id) REFERENCES public.page(id);
15118
15119
15120 --
15121 -- Name: page_tag_association page_tag_association_page_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15122 --
15123
15124 ALTER TABLE ONLY public.page_tag_association
15125 ADD CONSTRAINT page_tag_association_page_id_fkey FOREIGN KEY (page_id) REFERENCES public.page(id);
15126
15127
15128 --
15129 -- Name: page_tag_association page_tag_association_tag_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15130 --
15131
15132 ALTER TABLE ONLY public.page_tag_association
15133 ADD CONSTRAINT page_tag_association_tag_id_fkey FOREIGN KEY (tag_id) REFERENCES public.tag(id);
15134
15135
15136 --
15137 -- Name: page_tag_association page_tag_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15138 --
15139
15140 ALTER TABLE ONLY public.page_tag_association
15141 ADD CONSTRAINT page_tag_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15142
15143
15144 --
15145 -- Name: page page_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15146 --
15147
15148 ALTER TABLE ONLY public.page
15149 ADD CONSTRAINT page_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15150
15151
15152 --
15153 -- Name: page_user_share_association page_user_share_association_page_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15154 --
15155
15156 ALTER TABLE ONLY public.page_user_share_association
15157 ADD CONSTRAINT page_user_share_association_page_id_fkey FOREIGN KEY (page_id) REFERENCES public.page(id);
15158
15159
15160 --
15161 -- Name: page_user_share_association page_user_share_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15162 --
15163
15164 ALTER TABLE ONLY public.page_user_share_association
15165 ADD CONSTRAINT page_user_share_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15166
15167
15168 --
15169 -- Name: password_reset_token password_reset_token_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15170 --
15171
15172 ALTER TABLE ONLY public.password_reset_token
15173 ADD CONSTRAINT password_reset_token_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15174
15175
15176 --
15177 -- Name: post_job_action_association post_job_action_association_job_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15178 --
15179
15180 ALTER TABLE ONLY public.post_job_action_association
15181 ADD CONSTRAINT post_job_action_association_job_id_fkey FOREIGN KEY (job_id) REFERENCES public.job(id);
15182
15183
15184 --
15185 -- Name: post_job_action_association post_job_action_association_post_job_action_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15186 --
15187
15188 ALTER TABLE ONLY public.post_job_action_association
15189 ADD CONSTRAINT post_job_action_association_post_job_action_id_fkey FOREIGN KEY (post_job_action_id) REFERENCES public.post_job_action(id);
15190
15191
15192 --
15193 -- Name: post_job_action post_job_action_workflow_step_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15194 --
15195
15196 ALTER TABLE ONLY public.post_job_action
15197 ADD CONSTRAINT post_job_action_workflow_step_id_fkey FOREIGN KEY (workflow_step_id) REFERENCES public.workflow_step(id);
15198
15199
15200 --
15201 -- Name: repository_dependency repository_dependency_tool_shed_repository_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15202 --
15203
15204 ALTER TABLE ONLY public.repository_dependency
15205 ADD CONSTRAINT repository_dependency_tool_shed_repository_id_fkey FOREIGN KEY (tool_shed_repository_id) REFERENCES public.tool_shed_repository(id);
15206
15207
15208 --
15209 -- Name: repository_repository_dependency_association repository_repository_dependency__repository_dependency_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15210 --
15211
15212 ALTER TABLE ONLY public.repository_repository_dependency_association
15213 ADD CONSTRAINT repository_repository_dependency__repository_dependency_id_fkey FOREIGN KEY (repository_dependency_id) REFERENCES public.repository_dependency(id);
15214
15215
15216 --
15217 -- Name: repository_repository_dependency_association repository_repository_dependency_a_tool_shed_repository_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15218 --
15219
15220 ALTER TABLE ONLY public.repository_repository_dependency_association
15221 ADD CONSTRAINT repository_repository_dependency_a_tool_shed_repository_id_fkey FOREIGN KEY (tool_shed_repository_id) REFERENCES public.tool_shed_repository(id);
15222
15223
15224 --
15225 -- Name: request_event request_event_request_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15226 --
15227
15228 ALTER TABLE ONLY public.request_event
15229 ADD CONSTRAINT request_event_request_id_fkey FOREIGN KEY (request_id) REFERENCES public.request(id);
15230
15231
15232 --
15233 -- Name: request request_form_values_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15234 --
15235
15236 ALTER TABLE ONLY public.request
15237 ADD CONSTRAINT request_form_values_id_fkey FOREIGN KEY (form_values_id) REFERENCES public.form_values(id);
15238
15239
15240 --
15241 -- Name: request request_request_type_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15242 --
15243
15244 ALTER TABLE ONLY public.request
15245 ADD CONSTRAINT request_request_type_id_fkey FOREIGN KEY (request_type_id) REFERENCES public.request_type(id);
15246
15247
15248 --
15249 -- Name: request_type_external_service_association request_type_external_service_associat_external_service_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15250 --
15251
15252 ALTER TABLE ONLY public.request_type_external_service_association
15253 ADD CONSTRAINT request_type_external_service_associat_external_service_id_fkey FOREIGN KEY (external_service_id) REFERENCES public.external_service(id);
15254
15255
15256 --
15257 -- Name: request_type_external_service_association request_type_external_service_association_request_type_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15258 --
15259
15260 ALTER TABLE ONLY public.request_type_external_service_association
15261 ADD CONSTRAINT request_type_external_service_association_request_type_id_fkey FOREIGN KEY (request_type_id) REFERENCES public.request_type(id);
15262
15263
15264 --
15265 -- Name: request_type_permissions request_type_permissions_request_type_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15266 --
15267
15268 ALTER TABLE ONLY public.request_type_permissions
15269 ADD CONSTRAINT request_type_permissions_request_type_id_fkey FOREIGN KEY (request_type_id) REFERENCES public.request_type(id);
15270
15271
15272 --
15273 -- Name: request_type_permissions request_type_permissions_role_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15274 --
15275
15276 ALTER TABLE ONLY public.request_type_permissions
15277 ADD CONSTRAINT request_type_permissions_role_id_fkey FOREIGN KEY (role_id) REFERENCES public.role(id);
15278
15279
15280 --
15281 -- Name: request_type request_type_request_form_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15282 --
15283
15284 ALTER TABLE ONLY public.request_type
15285 ADD CONSTRAINT request_type_request_form_id_fkey FOREIGN KEY (request_form_id) REFERENCES public.form_definition(id);
15286
15287
15288 --
15289 -- Name: request_type_run_association request_type_run_association_request_type_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15290 --
15291
15292 ALTER TABLE ONLY public.request_type_run_association
15293 ADD CONSTRAINT request_type_run_association_request_type_id_fkey FOREIGN KEY (request_type_id) REFERENCES public.request_type(id);
15294
15295
15296 --
15297 -- Name: request_type_run_association request_type_run_association_run_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15298 --
15299
15300 ALTER TABLE ONLY public.request_type_run_association
15301 ADD CONSTRAINT request_type_run_association_run_id_fkey FOREIGN KEY (run_id) REFERENCES public.run(id);
15302
15303
15304 --
15305 -- Name: request_type request_type_sample_form_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15306 --
15307
15308 ALTER TABLE ONLY public.request_type
15309 ADD CONSTRAINT request_type_sample_form_id_fkey FOREIGN KEY (sample_form_id) REFERENCES public.form_definition(id);
15310
15311
15312 --
15313 -- Name: request request_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15314 --
15315
15316 ALTER TABLE ONLY public.request
15317 ADD CONSTRAINT request_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15318
15319
15320 --
15321 -- Name: run run_form_definition_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15322 --
15323
15324 ALTER TABLE ONLY public.run
15325 ADD CONSTRAINT run_form_definition_id_fkey FOREIGN KEY (form_definition_id) REFERENCES public.form_definition(id);
15326
15327
15328 --
15329 -- Name: run run_form_values_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15330 --
15331
15332 ALTER TABLE ONLY public.run
15333 ADD CONSTRAINT run_form_values_id_fkey FOREIGN KEY (form_values_id) REFERENCES public.form_values(id);
15334
15335
15336 --
15337 -- Name: sample_dataset sample_dataset_external_services_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: lite
15338 --
15339
15340 ALTER TABLE ONLY public.sample_dataset
15341 ADD CONSTRAINT sample_dataset_external_services_id_fk FOREIGN KEY (external_service_id) REFERENCES public.external_service(id);
15342
15343
15344 --
15345 -- Name: sample_dataset sample_dataset_sample_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15346 --
15347
15348 ALTER TABLE ONLY public.sample_dataset
15349 ADD CONSTRAINT sample_dataset_sample_id_fkey FOREIGN KEY (sample_id) REFERENCES public.sample(id);
15350
15351
15352 --
15353 -- Name: sample_event sample_event_sample_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15354 --
15355
15356 ALTER TABLE ONLY public.sample_event
15357 ADD CONSTRAINT sample_event_sample_id_fkey FOREIGN KEY (sample_id) REFERENCES public.sample(id);
15358
15359
15360 --
15361 -- Name: sample_event sample_event_sample_state_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15362 --
15363
15364 ALTER TABLE ONLY public.sample_event
15365 ADD CONSTRAINT sample_event_sample_state_id_fkey FOREIGN KEY (sample_state_id) REFERENCES public.sample_state(id);
15366
15367
15368 --
15369 -- Name: sample sample_folder_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15370 --
15371
15372 ALTER TABLE ONLY public.sample
15373 ADD CONSTRAINT sample_folder_id_fkey FOREIGN KEY (folder_id) REFERENCES public.library_folder(id);
15374
15375
15376 --
15377 -- Name: sample sample_form_values_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15378 --
15379
15380 ALTER TABLE ONLY public.sample
15381 ADD CONSTRAINT sample_form_values_id_fkey FOREIGN KEY (form_values_id) REFERENCES public.form_values(id);
15382
15383
15384 --
15385 -- Name: sample sample_history_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15386 --
15387
15388 ALTER TABLE ONLY public.sample
15389 ADD CONSTRAINT sample_history_id_fkey FOREIGN KEY (history_id) REFERENCES public.history(id);
15390
15391
15392 --
15393 -- Name: sample sample_library_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15394 --
15395
15396 ALTER TABLE ONLY public.sample
15397 ADD CONSTRAINT sample_library_id_fkey FOREIGN KEY (library_id) REFERENCES public.library(id);
15398
15399
15400 --
15401 -- Name: sample sample_request_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15402 --
15403
15404 ALTER TABLE ONLY public.sample
15405 ADD CONSTRAINT sample_request_id_fkey FOREIGN KEY (request_id) REFERENCES public.request(id);
15406
15407
15408 --
15409 -- Name: sample_run_association sample_run_association_run_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15410 --
15411
15412 ALTER TABLE ONLY public.sample_run_association
15413 ADD CONSTRAINT sample_run_association_run_id_fkey FOREIGN KEY (run_id) REFERENCES public.run(id);
15414
15415
15416 --
15417 -- Name: sample_run_association sample_run_association_sample_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15418 --
15419
15420 ALTER TABLE ONLY public.sample_run_association
15421 ADD CONSTRAINT sample_run_association_sample_id_fkey FOREIGN KEY (sample_id) REFERENCES public.sample(id);
15422
15423
15424 --
15425 -- Name: sample_state sample_state_request_type_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15426 --
15427
15428 ALTER TABLE ONLY public.sample_state
15429 ADD CONSTRAINT sample_state_request_type_id_fkey FOREIGN KEY (request_type_id) REFERENCES public.request_type(id);
15430
15431
15432 --
15433 -- Name: external_service sequencer_form_definition_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15434 --
15435
15436 ALTER TABLE ONLY public.external_service
15437 ADD CONSTRAINT sequencer_form_definition_id_fkey FOREIGN KEY (form_definition_id) REFERENCES public.form_definition(id);
15438
15439
15440 --
15441 -- Name: external_service sequencer_form_values_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15442 --
15443
15444 ALTER TABLE ONLY public.external_service
15445 ADD CONSTRAINT sequencer_form_values_id_fkey FOREIGN KEY (form_values_id) REFERENCES public.form_values(id);
15446
15447
15448 --
15449 -- Name: stored_workflow_annotation_association stored_workflow_annotation_association_stored_workflow_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15450 --
15451
15452 ALTER TABLE ONLY public.stored_workflow_annotation_association
15453 ADD CONSTRAINT stored_workflow_annotation_association_stored_workflow_id_fkey FOREIGN KEY (stored_workflow_id) REFERENCES public.stored_workflow(id);
15454
15455
15456 --
15457 -- Name: stored_workflow_annotation_association stored_workflow_annotation_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15458 --
15459
15460 ALTER TABLE ONLY public.stored_workflow_annotation_association
15461 ADD CONSTRAINT stored_workflow_annotation_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15462
15463
15464 --
15465 -- Name: stored_workflow stored_workflow_latest_workflow_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: lite
15466 --
15467
15468 ALTER TABLE ONLY public.stored_workflow
15469 ADD CONSTRAINT stored_workflow_latest_workflow_id_fk FOREIGN KEY (latest_workflow_id) REFERENCES public.workflow(id);
15470
15471
15472 --
15473 -- Name: stored_workflow_menu_entry stored_workflow_menu_entry_stored_workflow_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15474 --
15475
15476 ALTER TABLE ONLY public.stored_workflow_menu_entry
15477 ADD CONSTRAINT stored_workflow_menu_entry_stored_workflow_id_fkey FOREIGN KEY (stored_workflow_id) REFERENCES public.stored_workflow(id);
15478
15479
15480 --
15481 -- Name: stored_workflow_menu_entry stored_workflow_menu_entry_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15482 --
15483
15484 ALTER TABLE ONLY public.stored_workflow_menu_entry
15485 ADD CONSTRAINT stored_workflow_menu_entry_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15486
15487
15488 --
15489 -- Name: stored_workflow_rating_association stored_workflow_rating_association_stored_workflow_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15490 --
15491
15492 ALTER TABLE ONLY public.stored_workflow_rating_association
15493 ADD CONSTRAINT stored_workflow_rating_association_stored_workflow_id_fkey FOREIGN KEY (stored_workflow_id) REFERENCES public.stored_workflow(id);
15494
15495
15496 --
15497 -- Name: stored_workflow_rating_association stored_workflow_rating_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15498 --
15499
15500 ALTER TABLE ONLY public.stored_workflow_rating_association
15501 ADD CONSTRAINT stored_workflow_rating_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15502
15503
15504 --
15505 -- Name: stored_workflow_tag_association stored_workflow_tag_association_stored_workflow_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15506 --
15507
15508 ALTER TABLE ONLY public.stored_workflow_tag_association
15509 ADD CONSTRAINT stored_workflow_tag_association_stored_workflow_id_fkey FOREIGN KEY (stored_workflow_id) REFERENCES public.stored_workflow(id);
15510
15511
15512 --
15513 -- Name: stored_workflow_tag_association stored_workflow_tag_association_tag_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15514 --
15515
15516 ALTER TABLE ONLY public.stored_workflow_tag_association
15517 ADD CONSTRAINT stored_workflow_tag_association_tag_id_fkey FOREIGN KEY (tag_id) REFERENCES public.tag(id);
15518
15519
15520 --
15521 -- Name: stored_workflow_tag_association stored_workflow_tag_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15522 --
15523
15524 ALTER TABLE ONLY public.stored_workflow_tag_association
15525 ADD CONSTRAINT stored_workflow_tag_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15526
15527
15528 --
15529 -- Name: stored_workflow stored_workflow_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15530 --
15531
15532 ALTER TABLE ONLY public.stored_workflow
15533 ADD CONSTRAINT stored_workflow_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15534
15535
15536 --
15537 -- Name: stored_workflow_user_share_connection stored_workflow_user_share_connection_stored_workflow_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15538 --
15539
15540 ALTER TABLE ONLY public.stored_workflow_user_share_connection
15541 ADD CONSTRAINT stored_workflow_user_share_connection_stored_workflow_id_fkey FOREIGN KEY (stored_workflow_id) REFERENCES public.stored_workflow(id);
15542
15543
15544 --
15545 -- Name: stored_workflow_user_share_connection stored_workflow_user_share_connection_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15546 --
15547
15548 ALTER TABLE ONLY public.stored_workflow_user_share_connection
15549 ADD CONSTRAINT stored_workflow_user_share_connection_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15550
15551
15552 --
15553 -- Name: tag tag_parent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15554 --
15555
15556 ALTER TABLE ONLY public.tag
15557 ADD CONSTRAINT tag_parent_id_fkey FOREIGN KEY (parent_id) REFERENCES public.tag(id);
15558
15559
15560 --
15561 -- Name: task task_job_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15562 --
15563
15564 ALTER TABLE ONLY public.task
15565 ADD CONSTRAINT task_job_id_fkey FOREIGN KEY (job_id) REFERENCES public.job(id);
15566
15567
15568 --
15569 -- Name: task_metric_numeric task_metric_numeric_task_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15570 --
15571
15572 ALTER TABLE ONLY public.task_metric_numeric
15573 ADD CONSTRAINT task_metric_numeric_task_id_fkey FOREIGN KEY (task_id) REFERENCES public.task(id);
15574
15575
15576 --
15577 -- Name: task_metric_text task_metric_text_task_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15578 --
15579
15580 ALTER TABLE ONLY public.task_metric_text
15581 ADD CONSTRAINT task_metric_text_task_id_fkey FOREIGN KEY (task_id) REFERENCES public.task(id);
15582
15583
15584 --
15585 -- Name: tool_dependency tool_dependency_tool_shed_repository_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15586 --
15587
15588 ALTER TABLE ONLY public.tool_dependency
15589 ADD CONSTRAINT tool_dependency_tool_shed_repository_id_fkey FOREIGN KEY (tool_shed_repository_id) REFERENCES public.tool_shed_repository(id);
15590
15591
15592 --
15593 -- Name: tool_tag_association tool_tag_association_tag_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15594 --
15595
15596 ALTER TABLE ONLY public.tool_tag_association
15597 ADD CONSTRAINT tool_tag_association_tag_id_fkey FOREIGN KEY (tag_id) REFERENCES public.tag(id);
15598
15599
15600 --
15601 -- Name: tool_tag_association tool_tag_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15602 --
15603
15604 ALTER TABLE ONLY public.tool_tag_association
15605 ADD CONSTRAINT tool_tag_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15606
15607
15608 --
15609 -- Name: tool_version_association tool_version_association_parent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15610 --
15611
15612 ALTER TABLE ONLY public.tool_version_association
15613 ADD CONSTRAINT tool_version_association_parent_id_fkey FOREIGN KEY (parent_id) REFERENCES public.tool_version(id);
15614
15615
15616 --
15617 -- Name: tool_version_association tool_version_association_tool_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15618 --
15619
15620 ALTER TABLE ONLY public.tool_version_association
15621 ADD CONSTRAINT tool_version_association_tool_id_fkey FOREIGN KEY (tool_id) REFERENCES public.tool_version(id);
15622
15623
15624 --
15625 -- Name: tool_version tool_version_tool_shed_repository_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15626 --
15627
15628 ALTER TABLE ONLY public.tool_version
15629 ADD CONSTRAINT tool_version_tool_shed_repository_id_fkey FOREIGN KEY (tool_shed_repository_id) REFERENCES public.tool_shed_repository(id);
15630
15631
15632 --
15633 -- Name: user_action user_action_session_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15634 --
15635
15636 ALTER TABLE ONLY public.user_action
15637 ADD CONSTRAINT user_action_session_id_fkey FOREIGN KEY (session_id) REFERENCES public.galaxy_session(id);
15638
15639
15640 --
15641 -- Name: user_action user_action_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15642 --
15643
15644 ALTER TABLE ONLY public.user_action
15645 ADD CONSTRAINT user_action_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15646
15647
15648 --
15649 -- Name: user_address user_address_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15650 --
15651
15652 ALTER TABLE ONLY public.user_address
15653 ADD CONSTRAINT user_address_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15654
15655
15656 --
15657 -- Name: galaxy_user user_form_values_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: lite
15658 --
15659
15660 ALTER TABLE ONLY public.galaxy_user
15661 ADD CONSTRAINT user_form_values_id_fk FOREIGN KEY (form_values_id) REFERENCES public.form_values(id);
15662
15663
15664 --
15665 -- Name: user_group_association user_group_association_group_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15666 --
15667
15668 ALTER TABLE ONLY public.user_group_association
15669 ADD CONSTRAINT user_group_association_group_id_fkey FOREIGN KEY (group_id) REFERENCES public.galaxy_group(id);
15670
15671
15672 --
15673 -- Name: user_group_association user_group_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15674 --
15675
15676 ALTER TABLE ONLY public.user_group_association
15677 ADD CONSTRAINT user_group_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15678
15679
15680 --
15681 -- Name: user_preference user_preference_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15682 --
15683
15684 ALTER TABLE ONLY public.user_preference
15685 ADD CONSTRAINT user_preference_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15686
15687
15688 --
15689 -- Name: user_quota_association user_quota_association_quota_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15690 --
15691
15692 ALTER TABLE ONLY public.user_quota_association
15693 ADD CONSTRAINT user_quota_association_quota_id_fkey FOREIGN KEY (quota_id) REFERENCES public.quota(id);
15694
15695
15696 --
15697 -- Name: user_quota_association user_quota_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15698 --
15699
15700 ALTER TABLE ONLY public.user_quota_association
15701 ADD CONSTRAINT user_quota_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15702
15703
15704 --
15705 -- Name: user_role_association user_role_association_role_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15706 --
15707
15708 ALTER TABLE ONLY public.user_role_association
15709 ADD CONSTRAINT user_role_association_role_id_fkey FOREIGN KEY (role_id) REFERENCES public.role(id);
15710
15711
15712 --
15713 -- Name: user_role_association user_role_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15714 --
15715
15716 ALTER TABLE ONLY public.user_role_association
15717 ADD CONSTRAINT user_role_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15718
15719
15720 --
15721 -- Name: validation_error validation_error_dataset_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15722 --
15723
15724 ALTER TABLE ONLY public.validation_error
15725 ADD CONSTRAINT validation_error_dataset_id_fkey FOREIGN KEY (dataset_id) REFERENCES public.history_dataset_association(id);
15726
15727
15728 --
15729 -- Name: visualization_annotation_association visualization_annotation_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15730 --
15731
15732 ALTER TABLE ONLY public.visualization_annotation_association
15733 ADD CONSTRAINT visualization_annotation_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15734
15735
15736 --
15737 -- Name: visualization_annotation_association visualization_annotation_association_visualization_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15738 --
15739
15740 ALTER TABLE ONLY public.visualization_annotation_association
15741 ADD CONSTRAINT visualization_annotation_association_visualization_id_fkey FOREIGN KEY (visualization_id) REFERENCES public.visualization(id);
15742
15743
15744 --
15745 -- Name: visualization_rating_association visualization_rating_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15746 --
15747
15748 ALTER TABLE ONLY public.visualization_rating_association
15749 ADD CONSTRAINT visualization_rating_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15750
15751
15752 --
15753 -- Name: visualization_rating_association visualization_rating_association_visualization_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15754 --
15755
15756 ALTER TABLE ONLY public.visualization_rating_association
15757 ADD CONSTRAINT visualization_rating_association_visualization_id_fkey FOREIGN KEY (visualization_id) REFERENCES public.visualization(id);
15758
15759
15760 --
15761 -- Name: visualization_revision visualization_revision_visualization_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15762 --
15763
15764 ALTER TABLE ONLY public.visualization_revision
15765 ADD CONSTRAINT visualization_revision_visualization_id_fkey FOREIGN KEY (visualization_id) REFERENCES public.visualization(id);
15766
15767
15768 --
15769 -- Name: visualization_tag_association visualization_tag_association_tag_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15770 --
15771
15772 ALTER TABLE ONLY public.visualization_tag_association
15773 ADD CONSTRAINT visualization_tag_association_tag_id_fkey FOREIGN KEY (tag_id) REFERENCES public.tag(id);
15774
15775
15776 --
15777 -- Name: visualization_tag_association visualization_tag_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15778 --
15779
15780 ALTER TABLE ONLY public.visualization_tag_association
15781 ADD CONSTRAINT visualization_tag_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15782
15783
15784 --
15785 -- Name: visualization_tag_association visualization_tag_association_visualization_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15786 --
15787
15788 ALTER TABLE ONLY public.visualization_tag_association
15789 ADD CONSTRAINT visualization_tag_association_visualization_id_fkey FOREIGN KEY (visualization_id) REFERENCES public.visualization(id);
15790
15791
15792 --
15793 -- Name: visualization visualization_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15794 --
15795
15796 ALTER TABLE ONLY public.visualization
15797 ADD CONSTRAINT visualization_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15798
15799
15800 --
15801 -- Name: visualization_user_share_association visualization_user_share_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15802 --
15803
15804 ALTER TABLE ONLY public.visualization_user_share_association
15805 ADD CONSTRAINT visualization_user_share_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15806
15807
15808 --
15809 -- Name: visualization_user_share_association visualization_user_share_association_visualization_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15810 --
15811
15812 ALTER TABLE ONLY public.visualization_user_share_association
15813 ADD CONSTRAINT visualization_user_share_association_visualization_id_fkey FOREIGN KEY (visualization_id) REFERENCES public.visualization(id);
15814
15815
15816 --
15817 -- Name: workflow_invocation workflow_invocation_history_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15818 --
15819
15820 ALTER TABLE ONLY public.workflow_invocation
15821 ADD CONSTRAINT workflow_invocation_history_id_fkey FOREIGN KEY (history_id) REFERENCES public.history(id);
15822
15823
15824 --
15825 -- Name: workflow_invocation_step workflow_invocation_step_job_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15826 --
15827
15828 ALTER TABLE ONLY public.workflow_invocation_step
15829 ADD CONSTRAINT workflow_invocation_step_job_id_fkey FOREIGN KEY (job_id) REFERENCES public.job(id);
15830
15831
15832 --
15833 -- Name: workflow_invocation_step workflow_invocation_step_workflow_invocation_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15834 --
15835
15836 ALTER TABLE ONLY public.workflow_invocation_step
15837 ADD CONSTRAINT workflow_invocation_step_workflow_invocation_id_fkey FOREIGN KEY (workflow_invocation_id) REFERENCES public.workflow_invocation(id);
15838
15839
15840 --
15841 -- Name: workflow_invocation_step workflow_invocation_step_workflow_step_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15842 --
15843
15844 ALTER TABLE ONLY public.workflow_invocation_step
15845 ADD CONSTRAINT workflow_invocation_step_workflow_step_id_fkey FOREIGN KEY (workflow_step_id) REFERENCES public.workflow_step(id);
15846
15847
15848 --
15849 -- Name: workflow_invocation workflow_invocation_workflow_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15850 --
15851
15852 ALTER TABLE ONLY public.workflow_invocation
15853 ADD CONSTRAINT workflow_invocation_workflow_id_fkey FOREIGN KEY (workflow_id) REFERENCES public.workflow(id);
15854
15855
15856 --
15857 -- Name: workflow_output workflow_output_workflow_step_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15858 --
15859
15860 ALTER TABLE ONLY public.workflow_output
15861 ADD CONSTRAINT workflow_output_workflow_step_id_fkey FOREIGN KEY (workflow_step_id) REFERENCES public.workflow_step(id);
15862
15863
15864 --
15865 -- Name: workflow workflow_parent_workflow_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15866 --
15867
15868 ALTER TABLE ONLY public.workflow
15869 ADD CONSTRAINT workflow_parent_workflow_id_fkey FOREIGN KEY (parent_workflow_id) REFERENCES public.workflow(id);
15870
15871
15872 --
15873 -- Name: workflow_request_input_parameters workflow_request_input_parameters_workflow_invocation_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15874 --
15875
15876 ALTER TABLE ONLY public.workflow_request_input_parameters
15877 ADD CONSTRAINT workflow_request_input_parameters_workflow_invocation_id_fkey FOREIGN KEY (workflow_invocation_id) REFERENCES public.workflow_invocation(id) ON UPDATE CASCADE ON DELETE CASCADE;
15878
15879
15880 --
15881 -- Name: workflow_request_step_states workflow_request_step_states_workflow_invocation_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15882 --
15883
15884 ALTER TABLE ONLY public.workflow_request_step_states
15885 ADD CONSTRAINT workflow_request_step_states_workflow_invocation_id_fkey FOREIGN KEY (workflow_invocation_id) REFERENCES public.workflow_invocation(id) ON UPDATE CASCADE ON DELETE CASCADE;
15886
15887
15888 --
15889 -- Name: workflow_request_step_states workflow_request_step_states_workflow_step_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15890 --
15891
15892 ALTER TABLE ONLY public.workflow_request_step_states
15893 ADD CONSTRAINT workflow_request_step_states_workflow_step_id_fkey FOREIGN KEY (workflow_step_id) REFERENCES public.workflow_step(id);
15894
15895
15896 --
15897 -- Name: workflow_request_to_input_collection_dataset workflow_request_to_input_collectio_workflow_invocation_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15898 --
15899
15900 ALTER TABLE ONLY public.workflow_request_to_input_collection_dataset
15901 ADD CONSTRAINT workflow_request_to_input_collectio_workflow_invocation_id_fkey FOREIGN KEY (workflow_invocation_id) REFERENCES public.workflow_invocation(id);
15902
15903
15904 --
15905 -- Name: workflow_request_to_input_collection_dataset workflow_request_to_input_collection_data_workflow_step_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15906 --
15907
15908 ALTER TABLE ONLY public.workflow_request_to_input_collection_dataset
15909 ADD CONSTRAINT workflow_request_to_input_collection_data_workflow_step_id_fkey FOREIGN KEY (workflow_step_id) REFERENCES public.workflow_step(id);
15910
15911
15912 --
15913 -- Name: workflow_request_to_input_collection_dataset workflow_request_to_input_collection_dataset_collection_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15914 --
15915
15916 ALTER TABLE ONLY public.workflow_request_to_input_collection_dataset
15917 ADD CONSTRAINT workflow_request_to_input_collection_dataset_collection_id_fkey FOREIGN KEY (dataset_collection_id) REFERENCES public.history_dataset_collection_association(id);
15918
15919
15920 --
15921 -- Name: workflow_request_to_input_dataset workflow_request_to_input_dataset_dataset_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15922 --
15923
15924 ALTER TABLE ONLY public.workflow_request_to_input_dataset
15925 ADD CONSTRAINT workflow_request_to_input_dataset_dataset_id_fkey FOREIGN KEY (dataset_id) REFERENCES public.history_dataset_association(id);
15926
15927
15928 --
15929 -- Name: workflow_request_to_input_dataset workflow_request_to_input_dataset_workflow_invocation_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15930 --
15931
15932 ALTER TABLE ONLY public.workflow_request_to_input_dataset
15933 ADD CONSTRAINT workflow_request_to_input_dataset_workflow_invocation_id_fkey FOREIGN KEY (workflow_invocation_id) REFERENCES public.workflow_invocation(id);
15934
15935
15936 --
15937 -- Name: workflow_request_to_input_dataset workflow_request_to_input_dataset_workflow_step_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15938 --
15939
15940 ALTER TABLE ONLY public.workflow_request_to_input_dataset
15941 ADD CONSTRAINT workflow_request_to_input_dataset_workflow_step_id_fkey FOREIGN KEY (workflow_step_id) REFERENCES public.workflow_step(id);
15942
15943
15944 --
15945 -- Name: workflow_step_annotation_association workflow_step_annotation_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15946 --
15947
15948 ALTER TABLE ONLY public.workflow_step_annotation_association
15949 ADD CONSTRAINT workflow_step_annotation_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
15950
15951
15952 --
15953 -- Name: workflow_step_annotation_association workflow_step_annotation_association_workflow_step_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15954 --
15955
15956 ALTER TABLE ONLY public.workflow_step_annotation_association
15957 ADD CONSTRAINT workflow_step_annotation_association_workflow_step_id_fkey FOREIGN KEY (workflow_step_id) REFERENCES public.workflow_step(id);
15958
15959
15960 --
15961 -- Name: workflow_step_connection workflow_step_connection_input_step_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15962 --
15963
15964 ALTER TABLE ONLY public.workflow_step_connection
15965 ADD CONSTRAINT workflow_step_connection_input_step_id_fkey FOREIGN KEY (input_step_id) REFERENCES public.workflow_step(id);
15966
15967
15968 --
15969 -- Name: workflow_step_connection workflow_step_connection_input_subworkflow_step_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15970 --
15971
15972 ALTER TABLE ONLY public.workflow_step_connection
15973 ADD CONSTRAINT workflow_step_connection_input_subworkflow_step_id_fkey FOREIGN KEY (input_subworkflow_step_id) REFERENCES public.workflow_step(id);
15974
15975
15976 --
15977 -- Name: workflow_step_connection workflow_step_connection_output_step_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15978 --
15979
15980 ALTER TABLE ONLY public.workflow_step_connection
15981 ADD CONSTRAINT workflow_step_connection_output_step_id_fkey FOREIGN KEY (output_step_id) REFERENCES public.workflow_step(id);
15982
15983
15984 --
15985 -- Name: workflow_step workflow_step_subworkflow_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15986 --
15987
15988 ALTER TABLE ONLY public.workflow_step
15989 ADD CONSTRAINT workflow_step_subworkflow_id_fkey FOREIGN KEY (subworkflow_id) REFERENCES public.workflow(id);
15990
15991
15992 --
15993 -- Name: workflow_step_tag_association workflow_step_tag_association_tag_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
15994 --
15995
15996 ALTER TABLE ONLY public.workflow_step_tag_association
15997 ADD CONSTRAINT workflow_step_tag_association_tag_id_fkey FOREIGN KEY (tag_id) REFERENCES public.tag(id);
15998
15999
16000 --
16001 -- Name: workflow_step_tag_association workflow_step_tag_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
16002 --
16003
16004 ALTER TABLE ONLY public.workflow_step_tag_association
16005 ADD CONSTRAINT workflow_step_tag_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
16006
16007
16008 --
16009 -- Name: workflow_step_tag_association workflow_step_tag_association_workflow_step_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
16010 --
16011
16012 ALTER TABLE ONLY public.workflow_step_tag_association
16013 ADD CONSTRAINT workflow_step_tag_association_workflow_step_id_fkey FOREIGN KEY (workflow_step_id) REFERENCES public.workflow_step(id);
16014
16015
16016 --
16017 -- Name: workflow_step workflow_step_workflow_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
16018 --
16019
16020 ALTER TABLE ONLY public.workflow_step
16021 ADD CONSTRAINT workflow_step_workflow_id_fkey FOREIGN KEY (workflow_id) REFERENCES public.workflow(id);
16022
16023
16024 --
16025 -- Name: workflow workflow_stored_workflow_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
16026 --
16027
16028 ALTER TABLE ONLY public.workflow
16029 ADD CONSTRAINT workflow_stored_workflow_id_fkey FOREIGN KEY (stored_workflow_id) REFERENCES public.stored_workflow(id);
16030
16031
16032 --
16033 -- Name: workflow_tag_association workflow_tag_association_tag_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
16034 --
16035
16036 ALTER TABLE ONLY public.workflow_tag_association
16037 ADD CONSTRAINT workflow_tag_association_tag_id_fkey FOREIGN KEY (tag_id) REFERENCES public.tag(id);
16038
16039
16040 --
16041 -- Name: workflow_tag_association workflow_tag_association_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
16042 --
16043
16044 ALTER TABLE ONLY public.workflow_tag_association
16045 ADD CONSTRAINT workflow_tag_association_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.galaxy_user(id);
16046
16047
16048 --
16049 -- Name: workflow_tag_association workflow_tag_association_workflow_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: lite
16050 --
16051
16052 ALTER TABLE ONLY public.workflow_tag_association
16053 ADD CONSTRAINT workflow_tag_association_workflow_id_fkey FOREIGN KEY (workflow_id) REFERENCES public.workflow(id);
16054
16055
16056 --
16057 -- PostgreSQL database dump complete
16058 --
16059