ThreadCount Community edition

Uniform stock management for healthcare linen rooms: the coordinator app, the phone counter and the staff app, for your own server. Built from 49da3a4 on 2026-09-13. Licensed under the Functional Source License (FSL-1.1-ALv2).
This commit is contained in:
ThreadCount
2026-09-13 11:38:24 +10:00
commit 96d5c10537
274 changed files with 43338 additions and 0 deletions
@@ -0,0 +1,11 @@
-- The ceiling for the groups that never had one.
--
-- Operational Officers have always had a cap. Kitchen, retail, nutrition, security and the
-- ambassadors have had none at all, so a request from one of them was weighed against nothing but
-- the manager's patience. Six sets — twelve garments — is the figure the owner has set, and unlike
-- the operational allowance nothing releases it on its own: the manager approves each set up to
-- this number. Nursing never reaches it, because the NUM's signature is their control.
--
-- The default is not optional here. This runs against a live linen room with a row per facility,
-- and a NOT NULL with nothing behind it fails on the first one.
ALTER TABLE "Facility" ADD COLUMN "capSets" INTEGER NOT NULL DEFAULT 6;