@lucia-auth/adapter-postgresql
v3.1.2
Published
PostgreSQL adapter for Lucia
Maintainers
Readme
@lucia-auth/adapter-postgresql
PostgreSQL adapter for Lucia.
Supported drivers
Installation
npm install @lucia-auth/adapter-postgresql
pnpm add @lucia-auth/adapter-postgresql
yarn add @lucia-auth/adapter-postgresqlTesting
node-postgres
Set PostgreSQL database connection url in .env:
POSTGRES_DATABASE_URL="postgresql://localhost/lucia"pnpm test.node-postgresPostgres.js
Set PostgreSQL database connection url in .env:
POSTGRES_DATABASE_URL="postgresql://localhost/lucia"pnpm test.postgresjsNeon HTTP
Set the connection URL in .env. Do not enable pooling.
NEON_CONNECTION_URL=""pnpm test.neon-http