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,9 @@
ALTER TABLE animals ADD COLUMN archived_at TEXT;
ALTER TABLE animals ADD COLUMN deletion_reason TEXT;
-- L'ancien bouton « Archiver » utilisait deleted_at : on conserve donc ces fiches
-- comme archives et on libère la nouvelle corbeille.
UPDATE animals SET archived_at = deleted_at, deleted_at = NULL WHERE deleted_at IS NOT NULL;
CREATE INDEX IF NOT EXISTS idx_animals_archived_at ON animals(archived_at);
CREATE INDEX IF NOT EXISTS idx_animals_deleted_at ON animals(deleted_at);