Software Development
AI Persistence/Build Drizzle Adapter
Use when an app already runs Drizzle ORM and needs TanStack AI chat persistence — writes a chat-persistence.ts into the app against its existing db handle, schema file, and drizzle-kit journal. Covers the four tables (SQLite/Postgres/MySQL), the onConflict idempotency rules, JSON columns, and per-request bindings like D1.
- Publisher / source
- TanStack/ai (found on GitHub top repositories)
- Upstream record
- TanStack/ai
- Version
- Version 1
- Published
- Publication review
- Approved for publication
- Content fingerprint
0bbf8a257ae724062ffb89c7bbce6dfcdd47bad7c67d4355fb67ec1b15905b28