@electric-sql/pglite recipes
3 tested @electric-sql/pglite integration recipes with @auth/drizzle-adapter, @auth/core, Drizzle ORM, postgres. 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 13:27 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 13:28 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 13:28 UTC