Revision 1434
Added by Aaron Marcuse-Kubitza almost 13 years ago
schemas/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 |
|
schemas/vegbien.sql | ||
---|---|---|
257 | 257 |
biomass double precision, |
258 | 258 |
inferencearea double precision, |
259 | 259 |
count integer, |
260 |
accessioncode text, |
|
261 | 260 |
sourceaccessioncode text, |
262 | 261 |
plantobservation_id integer, |
263 | 262 |
stratum_id integer, |
... | ... | |
265 | 264 |
occurrencestatus_dwc occurrencestatus_dwc DEFAULT 'present'::occurrencestatus_dwc NOT NULL, |
266 | 265 |
method_id integer, |
267 | 266 |
linecover double precision, |
267 |
accessioncode text, |
|
268 | 268 |
CONSTRAINT aggregateoccurrence_plantobservation_count_1 CHECK (((plantobservation_id IS NULL) OR (NOT (count IS DISTINCT FROM 1)))) |
269 | 269 |
); |
270 | 270 |
|
... | ... | |
817 | 817 |
confidentialityreason text, |
818 | 818 |
publiclatitude double precision, |
819 | 819 |
publiclongitude double precision, |
820 |
accessioncode text, |
|
821 | 820 |
sublocationxposition double precision, |
822 | 821 |
sublocationyposition double precision, |
823 | 822 |
authore text, |
... | ... | |
855 | 854 |
notesmgt boolean, |
856 | 855 |
revisions boolean, |
857 | 856 |
dateentered timestamp with time zone DEFAULT now(), |
858 |
locationrationalenarrative text |
|
857 |
locationrationalenarrative text, |
|
858 |
accessioncode text |
|
859 | 859 |
); |
860 | 860 |
|
861 | 861 |
|
... | ... | |
956 | 956 |
location_id integer, |
957 | 957 |
project_id integer, |
958 | 958 |
authorlocationcode text, |
959 |
accessioncode text, |
|
960 | 959 |
sourceaccessioncode text, |
961 | 960 |
previous_id integer, |
962 | 961 |
dateaccuracy text, |
... | ... | |
1025 | 1024 |
toptaxon3name text, |
1026 | 1025 |
toptaxon4name text, |
1027 | 1026 |
toptaxon5name text, |
1028 |
numberoftaxa integer |
|
1027 |
numberoftaxa integer, |
|
1028 |
accessioncode text |
|
1029 | 1029 |
); |
1030 | 1030 |
|
1031 | 1031 |
|
... | ... | |
1132 | 1132 |
reference_id integer, |
1133 | 1133 |
name text NOT NULL, |
1134 | 1134 |
description text, |
1135 |
accessioncode text, |
|
1136 | 1135 |
diameterheight double precision, |
1137 | 1136 |
mindiameter double precision, |
1138 | 1137 |
maxdiameter double precision, |
... | ... | |
1152 | 1151 |
samplearea double precision, |
1153 | 1152 |
subplotspacing double precision, |
1154 | 1153 |
subplotmethod_id integer, |
1155 |
pointsperline integer |
|
1154 |
pointsperline integer, |
|
1155 |
accessioncode text |
|
1156 | 1156 |
); |
1157 | 1157 |
|
1158 | 1158 |
|
... | ... | |
1828 | 1828 |
overallheight double precision, |
1829 | 1829 |
overallheightaccuracy double precision, |
1830 | 1830 |
authorplantcode text, |
1831 |
accessioncode text, |
|
1832 | 1831 |
stemcount integer, |
1833 | 1832 |
sourceaccessioncode text, |
1834 |
plant_id integer |
|
1833 |
plant_id integer, |
|
1834 |
accessioncode text |
|
1835 | 1835 |
); |
1836 | 1836 |
|
1837 | 1837 |
|
... | ... | |
1947 | 1947 |
stopdate timestamp with time zone, |
1948 | 1948 |
d_obscount integer, |
1949 | 1949 |
d_lastlocationaddeddate timestamp with time zone, |
1950 |
accessioncode text,
|
|
1951 |
datasource_id integer
|
|
1950 |
datasource_id integer,
|
|
1951 |
accessioncode text
|
|
1952 | 1952 |
); |
1953 | 1953 |
|
1954 | 1954 |
|
... | ... | |
2458 | 2458 |
collectiondate timestamp with time zone, |
2459 | 2459 |
museum_id integer, |
2460 | 2460 |
sourceaccessioncode text, |
2461 |
accessioncode text, |
|
2462 | 2461 |
taxonoccurrence_id integer NOT NULL, |
2463 | 2462 |
collectionnumber text, |
2464 | 2463 |
specimen_id integer, |
2465 |
description text |
|
2464 |
description text, |
|
2465 |
accessioncode text |
|
2466 | 2466 |
); |
2467 | 2467 |
|
2468 | 2468 |
|
Also available in: Unified diff
vegbien.sql: Moved all accessioncode fields to the bottom of their tables. vegbien.ERD.mwb: Adjusted lines to remove overlaps.