Files
threadcount-community/prisma/migrations/20260908095400_staff_activate_code_at/migration.sql
T
ThreadCount 8c86c988c1 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 2d04e45 on 2026-09-15. Licensed under the Functional Source License (FSL-1.1-ALv2).
2026-09-16 04:04:31 +10:00

5 lines
362 B
SQL

-- When an activation slip was printed, so an unused one can go stale. Null for codes issued before
-- this migration: they have no known age, and the activate route treats an undated code as expired
-- rather than as forever fresh, so the linen room reissues the handful that are still outstanding.
ALTER TABLE "Staff" ADD COLUMN "activateCodeAt" TIMESTAMP(3);