Project

General

Profile

« Previous | Next » 

Revision 5769

schemas/vegbien.sql: aggregateoccurrence: Made taxonoccurrence_id optional when sourceaccessioncode is specified, so that aggregateoccurrence doesn't get pruned away in datasource tables that link just a stemobservation to a plantobservation (and therefore don't provide a taxonoccurrence to satisfy the previous taxonoccurrence_id NOT NULL constraint)

View differences:

inputs/VegBank/stemcount/test.xml.ref
23 23
        </path>
24 24
    </_simplifyPath>
25 25
</VegBIEN>
26
Inserted 1 new rows into database
26
Inserted 4 new rows into database

Also available in: Unified diff