Publier Globinours 1.0.0-rc.3
This commit is contained in:
parent
ea8c24d622
commit
9a2b4068da
325 changed files with 38230 additions and 20 deletions
8
migrations/086_rescue_location_provenance.sql
Normal file
8
migrations/086_rescue_location_provenance.sql
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
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,''))='';
|
||||
Loading…
Add table
Add a link
Reference in a new issue