Tanstack 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.

lukasa1993 Updated

File contents

lukasa1993/tanstack-skills-extracted/tree/main/skills/tanstack-ai-persistence-build-drizzle-adapter commit 4f563e91b6

Frequently asked questions

npx skillmds@latest add lukasa1993/tanstack-ai-persistence-build-drizzle-adapter