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
5
migrations/002_vaccines_code.sql
Normal file
5
migrations/002_vaccines_code.sql
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
ALTER TABLE ref_vaccines ADD COLUMN family TEXT;
|
||||
|
||||
-- Mapping simple (à ajuster si tu as d'autres libellés)
|
||||
UPDATE ref_vaccines SET family='TC' WHERE upper(name) LIKE '%TC%' OR upper(name) LIKE '%TCL%' OR upper(name) LIKE '%CORYZA%' OR upper(name) LIKE '%TYPHUS%';
|
||||
UPDATE ref_vaccines SET family='L' WHERE upper(name) LIKE '%LEUCO%' OR upper(name) LIKE '%FELV%' OR upper(name) = 'L';
|
||||
Loading…
Add table
Add a link
Reference in a new issue