Project

General

Profile

« Previous | Next » 

Revision 658

Undoing previous commit since it would prevent a plant from being tied to a data source, because the aggregateoccurrence pointer goes in the wrong direction

View differences:

vegbien.for_ERD.sql
224 224
  count integer,
225 225
  accessioncode character varying(255),
226 226
  sourceaccessioncode character varying(100),
227
  individualplant_id integer,
228 227
  CONSTRAINT aggregateoccurrence_pkey PRIMARY KEY (aggregateoccurrence_id ),
229
  CONSTRAINT aggregateoccurrence_individualplant_id FOREIGN KEY (individualplant_id)
230
      REFERENCES individualplant (individualplant_id) MATCH SIMPLE
231
      ON UPDATE CASCADE ON DELETE CASCADE,
232 228
  CONSTRAINT aggregateoccurrence_taxonbinmethod_id FOREIGN KEY (taxonbinmethod_id)
233 229
      REFERENCES taxonbinmethod (taxonbinmethod_id) MATCH SIMPLE
234 230
      ON UPDATE CASCADE ON DELETE CASCADE,

Also available in: Unified diff