next-auth icon indicating copy to clipboard operation
next-auth copied to clipboard

Update drizzle.mdx

Open leonlonsdale opened this issue 1 year ago • 4 comments

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

  • [x] Documentation
  • [ ] Tests
  • [ ] Ready to be merged

🎫 Affected issues

📌 Resources

leonlonsdale avatar Nov 23 '24 16:11 leonlonsdale

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

vercel[bot] avatar Nov 23 '24 16:11 vercel[bot]

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

A member of the Team first needs to authorize it.

vercel[bot] avatar Nov 23 '24 16:11 vercel[bot]

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

leonlonsdale avatar Nov 23 '24 17:11 leonlonsdale

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

ndom91 avatar Dec 22 '24 02:12 ndom91