Revision 675
Added by Aaron Marcuse-Kubitza almost 13 years ago
schemas/vegbien.for_ERD.my.sql | ||
---|---|---|
401 | 401 |
stratum_id int(11) NOT NULL AUTO_INCREMENT, |
402 | 402 |
locationevent_id int(11) NOT NULL, |
403 | 403 |
stratumtype_id int(11) NOT NULL, |
404 |
stratummethod_id int(11), |
|
405 |
stratumname character varying(30), |
|
406 | 404 |
stratumheight double precision, |
407 | 405 |
stratumbase double precision, |
408 | 406 |
stratumcover double precision, |
409 |
stratumdescription character varying(200), |
|
410 | 407 |
CONSTRAINT stratum_pkey PRIMARY KEY (stratum_id ), |
411 | 408 |
CONSTRAINT stratum_locationevent_id FOREIGN KEY (locationevent_id) |
412 | 409 |
REFERENCES locationevent (locationevent_id) MATCH SIMPLE |
schemas/vegbien.for_wiki.sql | ||
---|---|---|
162 | 162 |
stratum_id serial NOT NULL, |
163 | 163 |
locationevent_id integer NOT NULL, |
164 | 164 |
stratumtype_id integer NOT NULL, |
165 |
stratummethod_id integer, |
|
166 |
stratumname character varying(30), |
|
167 | 165 |
stratumheight double precision, |
168 | 166 |
stratumbase double precision, |
169 | 167 |
stratumcover double precision, |
170 |
stratumdescription character varying(200), |
|
171 | 168 |
); |
172 | 169 |
|
173 | 170 |
CREATE TABLE sizeclass -- A range of size measurements used to aggregate organisms. |
schemas/vegbien.for_ERD.sql | ||
---|---|---|
401 | 401 |
stratum_id serial NOT NULL, |
402 | 402 |
locationevent_id integer NOT NULL, |
403 | 403 |
stratumtype_id integer NOT NULL, |
404 |
stratummethod_id integer, |
|
405 |
stratumname character varying(30), |
|
406 | 404 |
stratumheight double precision, |
407 | 405 |
stratumbase double precision, |
408 | 406 |
stratumcover double precision, |
409 |
stratumdescription character varying(200), |
|
410 | 407 |
CONSTRAINT stratum_pkey PRIMARY KEY (stratum_id ), |
411 | 408 |
CONSTRAINT stratum_locationevent_id FOREIGN KEY (locationevent_id) |
412 | 409 |
REFERENCES locationevent (locationevent_id) MATCH SIMPLE |
schemas/vegbien.sql | ||
---|---|---|
2486 | 2486 |
stratum_id integer NOT NULL, |
2487 | 2487 |
locationevent_id integer NOT NULL, |
2488 | 2488 |
stratumtype_id integer NOT NULL, |
2489 |
stratumname character varying(30), |
|
2490 | 2489 |
stratumheight double precision, |
2491 | 2490 |
stratumbase double precision, |
2492 |
stratumcover double precision, |
|
2493 |
stratumdescription character varying(200) |
|
2491 |
stratumcover double precision |
|
2494 | 2492 |
); |
2495 | 2493 |
|
2496 | 2494 |
|
Also available in: Unified diff
vegbien.sql: Removed denormalized duplicate fields from stratum