Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(adapters): add postgresjs adapter #13212

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
kaposke wants to merge 1 commit into nextauthjs:main
base: main
Choose a base branch
Loading
from kaposke:postgresjs-adapter

Conversation

@kaposke
Copy link

@kaposke kaposke commented Sep 6, 2025
edited
Loading

☕️ Reasoning

Adding adapter for Postgres.js. I've followed the basis from the pg adapter, except I'm using postgres' naming conventions (pg adapter frustratingly doesn't). I believe to have modified all the necessary files, but please point out anything I might have missed. I'm assuming the custom deploy script takes care of creating the package?

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

Hopefully?

🎫 Affected issues

I think I'm creating my own demand here, but hopefully this serves someone.

📌 Resources

Copy link

vercel bot commented Sep 6, 2025
edited
Loading

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
auth-docs Ready Ready Preview Comment Sep 6, 2025 3:28pm
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
next-auth-docs Ignored Ignored Preview Sep 6, 2025 3:28pm

Copy link

vercel bot commented Sep 6, 2025

@kaposke is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions bot added the adapters Changes related to the core code concerning database adapters label Sep 6, 2025
neon: "Neon",
pg: "PostgreSQL",
pg: "PostgreSQL (pg)",
postgresjs: "Postgres.js",
Copy link
Author

@kaposke kaposke Sep 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could also become:

  • pg and Postgres.js
  • Postgres (pg) and Postgres (Postgres.js)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@ndom91 ndom91 Awaiting requested review from ndom91 ndom91 is a code owner

@ThangHuuVu ThangHuuVu Awaiting requested review from ThangHuuVu ThangHuuVu is a code owner

@balazsorban44 balazsorban44 Awaiting requested review from balazsorban44 balazsorban44 is a code owner

Assignees

No one assigned

Labels

adapters Changes related to the core code concerning database adapters

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /