Project

General

Profile

« Previous | Next » 

Revision 6179

schemas/vegbien.sql: Renamed reference -> source to make this table more broadly applicable, and because this now stores the datasource metadata

View differences:

test.xml.ref
57 57
                                <specimenreplicate>
58 58
                                    <catalognumber_dwc>$CatalogNumber</catalognumber_dwc>
59 59
                                    <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
60
                                    <institution_id><referencename><name>$InstitutionCode</name></referencename></institution_id>
60
                                    <institution_id><sourcename><name>$InstitutionCode</name></sourcename></institution_id>
61 61
                                </specimenreplicate>
62 62
                            </plantobservation>
63 63
                        </aggregateoccurrence>
......
70 70
                                        <taxonlabel>
71 71
                                            <matched_label_id>
72 72
                                                <taxonlabel>
73
                                                    <reference_id><reference><shortname>TNRS</shortname></reference></reference_id>
73
                                                    <source_id><source><shortname>TNRS</shortname></source></source_id>
74 74
                                                    <taxonomicname>
75 75
                                                        <_join_words>
76 76
                                                            <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
......
220 220
                            <county>$County</county>
221 221
                            <matched_place_id>
222 222
                                <place>
223
                                    <reference_id><reference><shortname>geoscrub</shortname></reference></reference_id>
223
                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
224 224
                                    <coordinates_id>
225 225
                                        <coordinates>
226
                                            <reference_id><reference><shortname>geoscrub</shortname></reference></reference_id>
226
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
227 227
                                            <latitude_deg>
228 228
                                                <_nullIf>
229 229
                                                    <null>0</null>

Also available in: Unified diff