mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
Renumber the elevation migration from 0260 to 0267 — main claimed 0260 for an unrelated table while this branch sat unmerged, and 0266 is now the highest committed number. Two loose ends the merge itself did not touch: the schema comment on StepUpElevation.method still called it "audit/telemetry only, never an authorisation input" — the exact claim the fresh-factor fix (a prior commit on this branch) made false, since the method is now precisely what decides whether an elevation reaches the destructive MFA routes. Reworded to match. And pruneExpiredStepUpElevations in step-up.ts was dead code: the actual sweep runs in cleanup-handlers.ts against the worker Prisma client for reasons that function could never satisfy against the request-scoped one. Removed rather than left to drift.