Skip to content
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

chore(docs): update drizzle postgres schema example #12448

Merged

Conversation

jcqvisser
Copy link
Contributor

☕️ Reasoning

The docs suggest using a deprecated definition of pgTable. This PR updates the suggested schema to avoid using deprecated code.

(the callback should return PgTableExtraConfigValue[], not PgTableExtraConfig)

image

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

🎫 Affected issues

none

📌 Resources

Docs were suggesting using a deprecated definition of `pgTable`
Copy link

vercel bot commented Dec 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
auth-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 31, 2024 2:48pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview Dec 31, 2024 2:48pm

Copy link

vercel bot commented Dec 31, 2024

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

A member of the Team first needs to authorize it.

Copy link
Member

@ndom91 ndom91 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@ndom91 ndom91 merged commit 48d775a into nextauthjs:main Dec 31, 2024
6 of 7 checks passed
falcowinkler pushed a commit to halvaradop/next-auth that referenced this pull request Jan 5, 2025
Docs were suggesting using a deprecated definition of `pgTable`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants