Project

General

Profile

« Previous | Next » 

Revision 1434

vegbien.sql: Moved all accessioncode fields to the bottom of their tables. vegbien.ERD.mwb: Adjusted lines to remove overlaps.

View differences:

vegbien.my.sql
151 151
    biomass double precision,
152 152
    inferencearea double precision,
153 153
    count int(11),
154
    accessioncode text,
155 154
    sourceaccessioncode text,
156 155
    plantobservation_id int(11),
157 156
    stratum_id int(11),
158 157
    coverindex_id int(11),
159 158
    occurrencestatus_dwc text DEFAULT 'present' NOT NULL,
160 159
    method_id int(11),
161
    linecover double precision
160
    linecover double precision,
161
    accessioncode text
162 162
);
163 163

  
164 164

  
......
630 630
    confidentialityreason text,
631 631
    publiclatitude double precision,
632 632
    publiclongitude double precision,
633
    accessioncode text,
634 633
    sublocationxposition double precision,
635 634
    sublocationyposition double precision,
636 635
    authore text,
......
668 667
    notesmgt int(1),
669 668
    revisions int(1),
670 669
    dateentered timestamp NULL ,
671
    locationrationalenarrative text
670
    locationrationalenarrative text,
671
    accessioncode text
672 672
);
673 673

  
674 674

  
......
759 759
    location_id int(11),
760 760
    project_id int(11),
761 761
    authorlocationcode text,
762
    accessioncode text,
763 762
    sourceaccessioncode text,
764 763
    previous_id int(11),
765 764
    dateaccuracy text,
......
828 827
    toptaxon3name text,
829 828
    toptaxon4name text,
830 829
    toptaxon5name text,
831
    numberoftaxa int(11)
830
    numberoftaxa int(11),
831
    accessioncode text
832 832
);
833 833

  
834 834

  
......
920 920
    reference_id int(11),
921 921
    name text NOT NULL,
922 922
    description text,
923
    accessioncode text,
924 923
    diameterheight double precision,
925 924
    mindiameter double precision,
926 925
    maxdiameter double precision,
......
940 939
    samplearea double precision,
941 940
    subplotspacing double precision,
942 941
    subplotmethod_id int(11),
943
    pointsperline int(11)
942
    pointsperline int(11),
943
    accessioncode text
944 944
);
945 945

  
946 946

  
......
1520 1520
    overallheight double precision,
1521 1521
    overallheightaccuracy double precision,
1522 1522
    authorplantcode text,
1523
    accessioncode text,
1524 1523
    stemcount int(11),
1525 1524
    sourceaccessioncode text,
1526
    plant_id int(11)
1525
    plant_id int(11),
1526
    accessioncode text
1527 1527
);
1528 1528

  
1529 1529

  
......
1624 1624
    stopdate timestamp NULL,
1625 1625
    d_obscount int(11),
1626 1626
    d_lastlocationaddeddate timestamp NULL,
1627
    accessioncode text,
1628
    datasource_id int(11)
1627
    datasource_id int(11),
1628
    accessioncode text
1629 1629
);
1630 1630

  
1631 1631

  
......
2080 2080
    collectiondate timestamp NULL,
2081 2081
    museum_id int(11),
2082 2082
    sourceaccessioncode text,
2083
    accessioncode text,
2084 2083
    taxonoccurrence_id int(11) NOT NULL,
2085 2084
    collectionnumber text,
2086 2085
    specimen_id int(11),
2087
    description text
2086
    description text,
2087
    accessioncode text
2088 2088
);
2089 2089

  
2090 2090

  

Also available in: Unified diff