ThreadCount Community edition

Uniform stock management for healthcare linen rooms. Licensed under the GNU AGPL v3.
This commit is contained in:
ThreadCount
2026-09-13 08:54:35 +10:00
commit 344b1701dd
505 changed files with 56231 additions and 0 deletions
@@ -0,0 +1,6 @@
-- A counter the screens can poll to find out that somebody else changed something.
--
-- Cheap on purpose: one integer on a row every device already looks up by primary key. The
-- alternative was re-reading the facility's whole snapshot on a timer to spot a difference, which
-- on a ward phone is the entire catalogue every few seconds to learn that nothing happened.
ALTER TABLE "Facility" ADD COLUMN "rev" INTEGER NOT NULL DEFAULT 0;