Files
threadcount-community/prisma/migrations/20260908095400_staff_activate_code_at/migration.sql
T
ThreadCount 1bc2de655a ThreadCount Community edition
Uniform stock management for healthcare linen rooms. Licensed under the GNU AGPL v3.
2026-09-13 08:45:19 +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);