Publier Globinours 1.0.0-rc.3

This commit is contained in:
Alexandre NOEL 2026-09-03 12:39:15 +02:00
commit 9a2b4068da
325 changed files with 38230 additions and 20 deletions

View file

@ -0,0 +1,8 @@
ALTER TABLE ref_species ADD COLUMN is_system INTEGER NOT NULL DEFAULT 0 CHECK(is_system IN (0,1));
UPDATE ref_species SET is_system=1
WHERE code IN ('chat','chien','lapin','furet','cobaye','oiseau','reptile','animal-ferme','faune-sauvage','autre');
DELETE FROM ref_species
WHERE code IN ('cat','dog')
AND NOT EXISTS (SELECT 1 FROM animals a WHERE lower(trim(a.species))=ref_species.code);