ProvenPin Install

Stacks

Drizzle ORM recipes

6 tested Drizzle ORM integration recipes with @auth/drizzle-adapter, @auth/core, @electric-sql/pglite, better-sqlite3. Exact pinned versions and a last-passed receipt, last run 2026-10-15.

passed3/3typescript

Auth.js Drizzle adapter on PGlite Postgres (database sessions)

Set up @auth/drizzle-adapter with the standard Postgres tables on Drizzle, and test user, account linking and database session lifecycle against in-memory PGlite.

@auth/drizzle-adapter@1.11.3@auth/core@0.41.3drizzle-orm@0.45.4
last passed 2026-10-15 14:10 UTC
passed1/1typescript

Drizzle ORM + better-sqlite3 CRUD

Typed schema, migrations-free table creation and CRUD with Drizzle on an in-memory SQLite database.

drizzle-orm@0.45.4better-sqlite3@12.11.1tsx@4.23.15
last passed 2026-10-15 14:12 UTC
passed2/2typescript

Drizzle ORM + drizzle-zod validated inserts on SQLite

Generate Zod insert and select schemas from Drizzle tables with drizzle-zod, refine them, and validate input before inserting into SQLite.

drizzle-orm@0.45.4drizzle-zod@0.8.3zod@4.6.7
last passed 2026-10-15 14:12 UTC
passed2/2typescript

Drizzle ORM + PGlite in-memory Postgres

Real Postgres semantics in tests with no server: Drizzle ORM on PGlite (WASM Postgres) with relations, returning() and transactions.

drizzle-orm@0.45.4@electric-sql/pglite@0.5.10tsx@4.23.15
last passed 2026-10-15 14:11 UTC
passed3/3typescript

Drizzle ORM migrations on PGlite (in-memory Postgres)

Apply versioned SQL migrations with Drizzle's PGlite migrator, use Postgres features (jsonb, enums, arrays, onConflictDoUpdate) and test against a fresh in-memory database.

drizzle-orm@0.45.4@electric-sql/pglite@0.5.10tsx@4.23.15
last passed 2026-10-15 14:11 UTC
passed3/3typescript

Hono + Drizzle ORM + SQLite REST API (Vitest)

CRUD REST API in Hono backed by Drizzle ORM on better-sqlite3, with Zod validation, tested with Vitest and app.request().

hono@4.13.13drizzle-orm@0.45.4better-sqlite3@13.0.3
last passed 2026-10-15 14:13 UTC

Used together with Drizzle ORM

@auth/drizzle-adapter@auth/core@electric-sql/pglitebetter-sqlite3SQLitedrizzle-zodZodpostgresHono@hono/zod-validatorvitest