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

Update drizzle.mdx #12285

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Update drizzle.mdx #12285

wants to merge 3 commits into from

Conversation

ionztorm
Copy link

the drizzle api has deprecated the return of objects in the extra config of table setup, and replaced with array type returns.

Additionally, snake case table field names is now automatic if the property "casing: 'snake_case' " is passed into both the db connection setup and the drizzle config.

☕️ Reasoning

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

🎫 Affected issues

📌 Resources

the drizzle api has deprecated the return of objects in the extra config of table setup, and replaced with array type returns.

Additionally, snake case table field names is now automatic if the property "casing: 'snake_case' " is passed into both the db connection setup and the drizzle config.
Copy link

vercel bot commented Nov 23, 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 22, 2024 8:20am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview Dec 22, 2024 8:20am

Copy link

vercel bot commented Nov 23, 2024

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

A member of the Team first needs to authorize it.

@ionztorm
Copy link
Author

Note: this is for changes in Drizzle 0.36.0, and it's not yet in the Drizzle docs either. You can read about it here:

https://github.com/drizzle-team/drizzle-orm/releases/tag/0.36.0

@ndom91
Copy link
Member

ndom91 commented Dec 22, 2024

Let's wait for Drizzle to release that versoin and then also include the bump in the drizzle version here 🙏

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