Severity: High | Area: backend/auth | Evidence: src/services/auth/authService.ts:925,965,991,1013,1060,1083 — TS2339 (6 uses)
Impact: Refresh-token issuance/rotation code references a model that doesn't exist in schema.prisma — cannot run. Fix: Add RefreshToken model + migration and the functions from W2-B-006. Acceptance: Refresh flow passes integration test.
Severity: High | Area: backend/auth | Evidence:
src/services/auth/authService.ts:925,965,991,1013,1060,1083— TS2339 (6 uses)Impact: Refresh-token issuance/rotation code references a model that doesn't exist in
schema.prisma— cannot run. Fix: AddRefreshTokenmodel + migration and the functions from W2-B-006. Acceptance: Refresh flow passes integration test.