[PR #6518] [MERGED] feat: drizzle pg supports JSON #6723

Closed
opened 2026-03-13 13:09:29 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6518
Author: @dvanmali
Created: 12/4/2025
Status: Merged
Merged: 12/6/2025
Merged by: @himself65

Base: canaryHead: pgDrizzle


📝 Commits (1)

  • 956a93f feat: drizzle pg supports JSON, required for JSON and array type support

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 packages/better-auth/src/adapters/drizzle-adapter/drizzle-adapter.ts (+1 -0)

📄 Description

Required for recently added JSON, string[], and number[] type support


Summary by cubic

Enabled JSON support in the Drizzle adapter for Postgres by setting supportsJSON when the provider is pg. This enables JSON, string[], and number[] column types.

Written for commit 956a93f0bf. Summary will update automatically on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/6518 **Author:** [@dvanmali](https://github.com/dvanmali) **Created:** 12/4/2025 **Status:** ✅ Merged **Merged:** 12/6/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `pgDrizzle` --- ### 📝 Commits (1) - [`956a93f`](https://github.com/better-auth/better-auth/commit/956a93f0bf2aa4543f973e3bd7f61f2d50ba7530) feat: drizzle pg supports JSON, required for JSON and array type support ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/adapters/drizzle-adapter/drizzle-adapter.ts` (+1 -0) </details> ### 📄 Description Required for recently added JSON, string[], and number[] type support <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Enabled JSON support in the Drizzle adapter for Postgres by setting supportsJSON when the provider is pg. This enables JSON, string[], and number[] column types. <sup>Written for commit 956a93f0bf2aa4543f973e3bd7f61f2d50ba7530. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 13:09:29 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#6723