feat(backend): migrate documents route to Drizzle
Replace all 30 supabase-js calls in documents.ts with Drizzle ORM queries. Drop _db shim args from lib calls; preserve snake_case wire shapes via inline mappers; wrap all handlers in try/catch. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
| Repository | juanjo/mike |
|---|---|
| Author | Juan Vidal <juan.vidal@comgy.io> |
| Authored | |
| Parents | 5e802ac6 |
| Stats | 1 file changed , +927 , -639 |
| Part of | Mechanical Drizzle migration of remaining backend routes and lib helpers (Plan 2) |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-3e8d1813.md
from inside the repo you want the change in.