ALTER TABLE animals ADD COLUMN rescue_location_confidence TEXT;
ALTER TABLE animals ADD COLUMN rescue_location_evidence TEXT;

UPDATE animals
SET rescue_location_confidence='documented',
    rescue_location_evidence=COALESCE(NULLIF(TRIM(rescue_location_evidence),''),'Lieu saisi ou repris depuis une source historique explicite')
WHERE (TRIM(COALESCE(rescue_location_name,''))<>'' OR TRIM(COALESCE(rescue_address,''))<>'')
  AND TRIM(COALESCE(rescue_location_confidence,''))='';
