docs: DB query & schema audit 2026-06-06 — 104 findings, 3 fixes landed (v2.9.13)

Full multi-agent audit of all Drizzle repos, service layer, and schema
files. 104 findings across critical/high/medium/low. Three fixes already
committed to backend in 2484150. Top open items: auth 1+3N rowToUser,
chat table-scan, GIN indexes, missing-transaction on money paths.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Siavash Sameni
2026-06-06 19:41:01 +04:00
parent 79dab07243
commit 32e1acc5ef
2 changed files with 1147 additions and 0 deletions

File diff suppressed because it is too large Load Diff