V15.0.0.20200205__ctd_cache_removed.sql 56.3 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
SET DATABASE SQL SYNTAX PGS TRUE;

CREATE SEQUENCE public.annotator_data_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;


CREATE TABLE public.annotator_data_table (
    id integer DEFAULT nextval('public.annotator_data_sequence') NOT NULL,
    order_index integer NOT NULL,
    annotator_class_name character varying(255),
    user_class_annotators_id integer NOT NULL
);



CREATE SEQUENCE public.user_annotators_param_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;


CREATE TABLE public.annotator_parameter_table (
    id integer DEFAULT nextval('public.user_annotators_param_sequence') NOT NULL,
    type character varying(255),
    value character varying(255),
    type_distinguisher character varying(255) NOT NULL,
    annotator_data_id integer NOT NULL,
    field character varying(255),
    identifier_type character varying(255),
    order_position integer
);


CREATE SEQUENCE public.author_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;



CREATE TABLE public.author_table (
    id integer DEFAULT nextval('public.author_sequence') NOT NULL,
    first_name character varying(255),
    last_name character varying(255),
    email character varying(255),
    organisation character varying(255)
);

CREATE SEQUENCE public.cache_query_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;

CREATE TABLE public.cache_query_table (
    id integer DEFAULT nextval('public.cache_query_sequence') NOT NULL,
    accessed timestamp without time zone,
    query text,
    value text,
    type integer NOT NULL,
    expires timestamp without time zone
);


CREATE SEQUENCE public.cache_type_sequence
    START WITH 29
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;


CREATE TABLE public.cache_type_table (
    id integer DEFAULT nextval('public.cache_type_sequence') NOT NULL,
    validity integer,
    class_name character varying (1024)
);



CREATE TABLE public.class_required_annotation_miriam_type_table (
    class_required_annotation_id integer NOT NULL,
    idx integer NOT NULL,
    miriam_type_name character varying(255)
);



CREATE TABLE public.class_valid_annotation_miriam_type_table (
    class_valid_annotation_id integer NOT NULL,
    idx integer NOT NULL,
    miriam_type_name character varying(255)
);


CREATE SEQUENCE public.comment_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;


CREATE TABLE public.comment_table (
    id integer DEFAULT nextval('public.comment_sequence') NOT NULL,
    content text,
    coordinates character varying(255),
    deleted boolean NOT NULL,
    email character varying(255),
    name character varying(255),
    remove_reason character varying(255),
    table_id integer,
    table_name character varying(255),
    pinned boolean NOT NULL,
    model_id integer NOT NULL,
    user_id integer
);









CREATE SEQUENCE public.configuration_option_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;

CREATE TABLE public.configuration_option_table (
    id integer DEFAULT nextval('public.configuration_option_sequence') NOT NULL,
    value character varying(255),
    type character varying(255)
);











CREATE SEQUENCE public.data_overlay_image_layer_sequence
    START WITH 6
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;




CREATE TABLE public.data_overlay_image_layer_table (
    id integer DEFAULT nextval('public.data_overlay_image_layer_sequence') NOT NULL,
    data_overlay_id integer NOT NULL,
    model_id integer NOT NULL,
    directory character varying(255)
);




CREATE TABLE public.element_former_symbols (
    id integer NOT NULL,
    idx integer NOT NULL,
    symbol character varying(255)
);




CREATE TABLE public.element_miriam (
    element_id integer NOT NULL,
    miriam_id integer NOT NULL
);



CREATE SEQUENCE public.element_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;

CREATE TABLE public.element_table (
    element_type_db character varying(31) NOT NULL,
    id integer DEFAULT nextval('public.element_sequence') NOT NULL,
    element_id character varying(255),
    fill_color blob NOT NULL,
    font_size double precision NOT NULL,
    height double precision,
    visibility_level character varying(255) NOT NULL,
    width double precision,
    x double precision,
    y double precision,
    inner_width double precision,
    name_point character varying(255),
    outer_width double precision,
    thickness double precision,
    name character varying(255),
    activity boolean,
    line_width double precision,
    state character varying(255),
    compartment_id integer,
    model_id integer,
    idcomplexdb integer,
    transparency_level character varying(255),
    submodel_id integer,
    state_label character varying(255),
    state_prefix character varying(255),
    abbreviation character varying(255),
    formula character varying(255),
    full_name character varying(255),
    notes text,
    symbol character varying(255),
    charge integer,
    homodimer integer,
    hypothetical boolean,
    initial_amount integer,
    initial_concentration integer,
    only_substance_units boolean,
    position_to_compartment character varying(255),
    in_chi text,
    in_chikey character varying(255),
    smiles text,
    boundary_condition boolean,
    constant boolean,
    substance_unit_raw_type character varying(255),
    font_color blob DEFAULT HEXTORAW('aced00057372000e6a6176612e6177742e436f6c6f7201a51783108f337502000546000666616c70686149000576616c75654c0002637374001b4c6a6176612f6177742f636f6c6f722f436f6c6f7253706163653b5b00096672676276616c75657400025b465b00066676616c756571007e0002787000000000ff000000707070') NOT NULL,
    z integer NOT NULL,
    glyph_id integer,
    substance_unit_comlex_type_id integer,
    structural_state_id integer,
    border_color blob DEFAULT HEXTORAW('aced00057372000e6a6176612e6177742e436f6c6f7201a51783108f337502000546000666616c70686149000576616c75654c0002637374001b4c6a6176612f6177742f636f6c6f722f436f6c6f7253706163653b5b00096672676276616c75657400025b465b00066676616c756571007e0002787000000000ff010101707070') NOT NULL
);











CREATE TABLE public.element_synonyms (
    id integer NOT NULL,
    idx integer NOT NULL,
    synonym character varying(512)
);




CREATE SEQUENCE public.file_entry_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;




CREATE TABLE public.file_entry_table (
    id integer DEFAULT nextval('public.file_entry_sequence') NOT NULL,
    url text,
    local_path text,
    download_date timestamp without time zone,
    download_progress double precision,
    download_thread_id integer,
    removed boolean DEFAULT false,
    file_content blob,
    file_type_db character varying(255),
    original_file_name character varying(255),
    length bigint,
    owner_id integer
);




CREATE SEQUENCE public.glyph_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;




CREATE TABLE public.glyph_table (
    id integer DEFAULT nextval('public.glyph_sequence') NOT NULL,
    file_entry_id integer NOT NULL,
    project_id integer NOT NULL
);




CREATE TABLE public.kinetic_law_elements (
    kinetic_law_id integer NOT NULL,
    element_id integer NOT NULL
);




CREATE TABLE public.kinetic_law_functions (
    kinetic_law_id integer NOT NULL,
    function_id integer NOT NULL
);




CREATE TABLE public.kinetic_law_parameters (
    kinetic_law_id integer NOT NULL,
    parameter_id integer NOT NULL
);



CREATE SEQUENCE public.layer_oval_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;

CREATE TABLE public.layer_oval_table (
    id integer DEFAULT nextval('public.layer_oval_sequence') NOT NULL,
    color blob,
    height double precision,
    width double precision,
    x double precision,
    y double precision,
    z integer NOT NULL
);










CREATE SEQUENCE public.layer_rect_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;

CREATE TABLE public.layer_rect_table (
    id integer DEFAULT nextval('public.layer_rect_sequence') NOT NULL,
    color blob,
    height double precision,
    width double precision,
    x double precision,
    y double precision,
    z integer NOT NULL
);










CREATE SEQUENCE public.layer_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;

CREATE TABLE public.layer_table (
    id integer DEFAULT nextval('public.layer_sequence') NOT NULL,
    layer_id character varying(255),
    locked boolean NOT NULL,
    name character varying(255),
    visible boolean NOT NULL,
    model_id integer
);











CREATE TABLE public.layer_table_lines (
    layer_table_id integer NOT NULL,
    lines_id integer NOT NULL,
    idx integer NOT NULL
);




CREATE TABLE public.layer_table_ovals (
    layer_table_id integer NOT NULL,
    ovals_id integer NOT NULL,
    idx integer NOT NULL
);




CREATE TABLE public.layer_table_rectangles (
    layer_table_id integer NOT NULL,
    rectangles_id integer NOT NULL,
    idx integer NOT NULL
);




CREATE TABLE public.layer_table_texts (
    layer_table_id integer NOT NULL,
    texts_id integer NOT NULL,
    idx integer NOT NULL
);



CREATE SEQUENCE public.layer_text_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;

CREATE TABLE public.layer_text_table (
    id integer DEFAULT nextval('public.layer_text_sequence') NOT NULL,
    color blob,
    font_size double precision,
    height double precision,
    notes text,
    width double precision,
    x double precision,
    y double precision,
    background_color blob DEFAULT HEXTORAW('aced00057372000e6a6176612e6177742e436f6c6f7201a51783108f337502000546000666616c70686149000576616c75654c0002637374001b4c6a6176612f6177742f636f6c6f722f436f6c6f7253706163653b5b00096672676276616c75657400025b465b00066676616c756571007e0002787000000000ffc0c0c0707070'),
    z integer NOT NULL,
    glyph_id integer,
    border_color blob DEFAULT  HEXTORAW('aced00057372000e6a6176612e6177742e436f6c6f7201a51783108f337502000546000666616c70686149000576616c75654c0002637374001b4c6a6176612f6177742f636f6c6f722f436f6c6f7253706163653b5b00096672676276616c75657400025b465b00066676616c756571007e0002787000000000ffc0c0c0707070') NOT NULL
);










CREATE SEQUENCE public.layout_sequence
    START WITH 10
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;

CREATE TABLE public.layout_table (
    id integer DEFAULT nextval('public.layout_sequence') NOT NULL,
    title character varying(255),
    creator_id integer,
    public_layout boolean,
    progress double precision,
    description text,
    hierarchical_view boolean DEFAULT false,
    file_entry_id integer,
    hierarchy_view_level integer,
    google_license_consent boolean DEFAULT false,
    default_overlay boolean DEFAULT false,
    order_index integer DEFAULT 0,
    status character varying(31),
    project_id integer,
    color_schema_type character varying(255) NOT NULL
);










CREATE SEQUENCE public.miriam_data_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;

CREATE TABLE public.miriam_data_table (
    id integer DEFAULT nextval('public.miriam_data_sequence') NOT NULL,
    resource character varying(255),
    data_type character varying(255),
    relation_type integer,
    annotator character varying(256)
);











CREATE TABLE public.model_data_modification_dates (
    idx integer NOT NULL,
    model_data_id integer NOT NULL,
    modification_date timestamp without time zone
);



CREATE SEQUENCE public.model_data_sequence
    START WITH 4
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;

CREATE TABLE public.model_data_table (
    id integer DEFAULT nextval('public.model_data_sequence') NOT NULL,
    height double precision NOT NULL,
    notes text,
    tile_size integer NOT NULL,
    width double precision NOT NULL,
    zoom_levels integer NOT NULL,
    project_id integer,
    id_model character varying(255),
    name character varying(255),
    default_zoom_level integer,
    default_centerx double precision,
    default_centery double precision,
    creation_date timestamp without time zone
);











CREATE TABLE public.model_data_table_authors (
    model_data_id integer NOT NULL,
    author_id integer NOT NULL,
    idx integer NOT NULL
);




CREATE TABLE public.model_miriam_data_table (
    model_id integer NOT NULL,
    miriam_data_id integer NOT NULL
);




CREATE TABLE public.model_parameters_table (
    model_id integer NOT NULL,
    parameter_id integer NOT NULL
);




CREATE SEQUENCE public.modification_residue_sequence
    START WITH 51016
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;




CREATE TABLE public.modification_residue_table (
    id integer DEFAULT nextval('public.modification_residue_sequence') NOT NULL,
    id_modification_residue character varying(255),
    name character varying(255),
    id_species_db integer NOT NULL,
    position character varying(255),
    state character varying(255),
    modification_type character varying(255),
    width numeric(6,2),
    active boolean,
    height numeric(6,2),
    direction character varying(255)
);




CREATE SEQUENCE public.overview_image_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;




CREATE TABLE public.overview_image_table (
    id integer DEFAULT nextval('public.overview_image_sequence') NOT NULL,
    filename character varying(255),
    width integer,
    height integer,
    project_id integer
);




CREATE SEQUENCE public.overview_link_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;




CREATE TABLE public.overview_link_table (
    id integer DEFAULT nextval('public.overview_link_sequence') NOT NULL,
    overview_image_id integer,
    polygon character varying(2048),
    zoom_level integer,
    y_coord integer,
    x_coord integer,
    link_type character varying(31) NOT NULL,
    linked_overview_image_id integer,
    linked_model_id integer,
    query character varying(1024)
);




CREATE SEQUENCE public.plugin_data_entry_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;




CREATE SEQUENCE public.plugin_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;




CREATE TABLE public.plugin_data_entry_table (
    id integer DEFAULT nextval('public.plugin_sequence') NOT NULL,
    plugin_id integer NOT NULL,
    user_id integer,
    key character varying(1024) NOT NULL,
    value character varying(2048) NOT NULL
);




CREATE TABLE public.plugin_table (
    id integer DEFAULT nextval('public.plugin_sequence') NOT NULL,
    hash character varying(255) NOT NULL,
    name character varying(255) NOT NULL,
    version character varying(255) NOT NULL,
    is_public boolean DEFAULT false,
    is_default boolean DEFAULT false NOT NULL
);




CREATE SEQUENCE public.plugin_url_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;




CREATE TABLE public.plugin_urls (
    plugin_id integer NOT NULL,
    url character varying(1024) NOT NULL,
    idx integer DEFAULT nextval('public.plugin_url_sequence') NOT NULL
);




CREATE TABLE public.point_table (
    id integer NOT NULL,
    point_val character varying(255) NOT NULL,
    idx integer NOT NULL
);



CREATE SEQUENCE public.polyline_data_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;

CREATE TABLE public.polyline_data_table (
    id integer DEFAULT nextval('public.polyline_data_sequence') NOT NULL,
    color blob,
    width double precision NOT NULL,
    type character varying(31),
    begin_atd character varying(255),
    end_atd character varying(255)
);










CREATE SEQUENCE public.privilege_sequence
    START WITH 177
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;

CREATE TABLE public.privilege_table (
    id integer DEFAULT nextval('public.privilege_sequence') NOT NULL,
    object_id character varying(255),
    type character varying(255)
);











CREATE SEQUENCE public.project_log_entry_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;




CREATE TABLE public.project_log_entry_table (
    id integer DEFAULT nextval('public.project_log_entry_sequence') NOT NULL,
    severity character varying(255) NOT NULL,
    type character varying(255) NOT NULL,
    object_identifier character varying(255),
    object_class character varying(1024),
    map_name character varying(255),
    project_id integer NOT NULL,
    content text,
    source character varying(255)
);



CREATE SEQUENCE public.project_sequence
    START WITH 5
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;

CREATE TABLE public.project_table (
    id integer DEFAULT nextval('public.project_sequence') NOT NULL,
    project_id character varying(255),
    progress double precision NOT NULL,
    directory character varying(1024),
    name character varying(255),
    disease_id integer,
    organism_id integer,
    sbgn_format boolean DEFAULT false,
    version character varying(255) DEFAULT '',
    file_entry_id integer,
    notify_email character varying(255) DEFAULT '',
    status character varying(255) DEFAULT 'UNKNOWN',
    google_map_license_accept_date timestamp without time zone,
    map_canvas_type character varying (255) DEFAULT 'OPEN_LAYERS',
    creation_date timestamp without time zone,
    owner_id integer
);











CREATE TABLE public.reaction_miriam (
    reaction_id integer NOT NULL,
    miriam_id integer NOT NULL
);



CREATE SEQUENCE public.reaction_node_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;

CREATE TABLE public.reaction_node_table (
    node_type_db character varying(31) NOT NULL,
    id integer DEFAULT nextval('public.reaction_node_sequence') NOT NULL,
    node_operator_for_input_id integer,
    node_operator_for_output_id integer,
    line_id integer,
    reaction_id integer,
    element_id integer,
    stoichiometry numeric(9,2)
);










CREATE SEQUENCE public.reaction_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;

CREATE TABLE public.reaction_table (
    reaction_type_db character varying(31) NOT NULL,
    id integer DEFAULT nextval('public.reaction_sequence') NOT NULL,
    id_reaction character varying(255),
    name character varying(255),
    notes text,
    reversible boolean NOT NULL,
    model_id integer,
    symbol character varying(255),
    abbreviation character varying(255),
    formula character varying(255),
    subsystem character varying(255),
    gene_protein_reaction character varying(255),
    mechanical_confidence_score integer,
    upper_bound double precision,
    lower_bound double precision,
    visibility_level character varying(255),
    kinetics_id integer,
    z integer NOT NULL,
    line_id integer NOT NULL
);











CREATE TABLE public.reaction_synonyms (
    id integer NOT NULL,
    idx integer NOT NULL,
    synonym character varying(255)
);




CREATE SEQUENCE public.reference_genome_gene_mapping_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;




CREATE TABLE public.reference_genome_gene_mapping_table (
    id integer DEFAULT nextval('public.reference_genome_gene_mapping_sequence') NOT NULL,
    reference_genome_id integer NOT NULL,
    name character varying(255) NOT NULL,
    source_url text NOT NULL,
    download_progress double precision
);




CREATE SEQUENCE public.reference_genome_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    ;




CREATE TABLE public.reference_genome_table (
    id integer DEFAULT nextval('public.reference_genome_sequence') NOT NULL,
    organism_id integer NOT NULL,
    type character varying(255) NOT NULL,
    version character varying(255) NOT NULL,
    source_url text,
    download_progress double precision
);




CREATE TABLE public.sbml_function_arguments (
    idx integer NOT NULL,
    sbml_function_id integer NOT NULL,
    argument_name character varying(255)
);




CREATE SEQUENCE public.sbml_function_sequence
    START WITH 1
    INCREMENT BY 1
For faster browsing, not all history is shown. View entire blame