Project

General

Profile

« Previous | Next » 

Revision 11502

schemas/vegbien.sql: taxondetermination_set_iscurrent(): removed setting of is_datasource_current (which is now the same as iscurrent), so that this can be used to store the verbatim iscurrent status

View differences:

schemas/vegbien.sql
1371 1371
            , determinationdate DESC NULLS LAST
1372 1372
        LIMIT 1
1373 1373
    );
1374
    
1375
    UPDATE taxondetermination SET is_datasource_current = false
1376
    WHERE taxonoccurrence_id = taxonoccurrence_id_ AND is_datasource_current;
1377
    
1378
    UPDATE taxondetermination SET is_datasource_current = true WHERE iscurrent;
1379 1374
END;
1380 1375
$$;
1381 1376

  

Also available in: Unified diff