Project

General

Profile

« Previous | Next » 

Revision 5242

schemas/vegbien.sql: Renamed datasource_id to creator_id so it can apply generally to any entity (such as a person), not just an aggregated datasource. This also enables taxonconcept.datasource_id to merge with creator_id, which now serves the same purpose.

View differences:

map
177 177
    def update_in_label():
178 178
        if in_label_ref[0] != None and out_is_db:
179 179
            # TODO: Move this to the mappings as some kind of metadata
180
            col_defaults['datasource_id'] = db_xml.put(out_db, xpath.path2xml(
181
                'party:[datasource_id=0]/organizationname="'+in_label_ref[0]+'"'
180
            col_defaults['creator_id'] = db_xml.put(out_db, xpath.path2xml(
181
                'party:[creator_id=0]/organizationname="'+in_label_ref[0]+'"'
182 182
                ), row_ins_ct_ref)
183 183
    
184 184
    def prep_root():

Also available in: Unified diff