Revision 677
Added by Aaron Marcuse-Kubitza almost 13 years ago
vegbien.for_ERD.my.sql | ||
---|---|---|
225 | 225 |
accessioncode character varying(255), |
226 | 226 |
sourceaccessioncode character varying(100), |
227 | 227 |
plantobservation_id int(11), |
228 |
stratum_id int(11), |
|
228 | 229 |
CONSTRAINT aggregateoccurrence_pkey PRIMARY KEY (aggregateoccurrence_id ), |
229 | 230 |
CONSTRAINT aggregateoccurrence_plantobservation_id FOREIGN KEY (plantobservation_id) |
230 | 231 |
REFERENCES plantobservation (plantobservation_id) MATCH SIMPLE |
231 | 232 |
ON UPDATE CASCADE ON DELETE CASCADE, |
233 |
CONSTRAINT aggregateoccurrence_stratum_id FOREIGN KEY (stratum_id) |
|
234 |
REFERENCES stratum (stratum_id) MATCH SIMPLE |
|
235 |
ON UPDATE CASCADE ON DELETE CASCADE, |
|
232 | 236 |
CONSTRAINT aggregateoccurrence_taxonbinmethod_id FOREIGN KEY (taxonbinmethod_id) |
233 | 237 |
REFERENCES taxonbinmethod (taxonbinmethod_id) MATCH SIMPLE |
234 | 238 |
ON UPDATE CASCADE ON DELETE CASCADE, |
Also available in: Unified diff
vegbien.sql: Added back aggregateoccurrence.stratum_id