[PR #5162] [MERGED] docs: how to use non-public pg schemas with BA #5817

Closed
opened 2026-03-13 12:37:31 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5162
Author: @ping-maxwell
Created: 10/8/2025
Status: Merged
Merged: 10/8/2025
Merged by: @ping-maxwell

Base: canaryHead: docs/pg-nonpublic-schema-better-auth


📝 Commits (2)

  • 5714628 docs: how to use non-public pg schemas with BA
  • 3a89ca4 chore: improve wording

📊 Changes

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

View changed files

📝 docs/content/docs/adapters/postgresql.mdx (+20 -0)

📄 Description

linear: https://linear.app/better-auth/issue/ENG-222/docs-document-how-to-use-non-public-postgresql-schemas-with-better
issue: https://github.com/better-auth/better-auth/issues/4452


Summary by cubic

Add docs on using a non-default PostgreSQL schema with Better Auth. Explains setting search_path via ALTER USER or connection URI (URL-encoded) and the need for schema creation and permissions; addresses Linear ENG-222 and GitHub #4452.


🔄 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/5162 **Author:** [@ping-maxwell](https://github.com/ping-maxwell) **Created:** 10/8/2025 **Status:** ✅ Merged **Merged:** 10/8/2025 **Merged by:** [@ping-maxwell](https://github.com/ping-maxwell) **Base:** `canary` ← **Head:** `docs/pg-nonpublic-schema-better-auth` --- ### 📝 Commits (2) - [`5714628`](https://github.com/better-auth/better-auth/commit/5714628dec70f7804d6a47d2136c0b83b1a44d9c) docs: how to use non-public pg schemas with BA - [`3a89ca4`](https://github.com/better-auth/better-auth/commit/3a89ca491f25a68bce80f7b5437731a3472ff6d9) chore: improve wording ### 📊 Changes **1 file changed** (+20 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/adapters/postgresql.mdx` (+20 -0) </details> ### 📄 Description linear: https://linear.app/better-auth/issue/ENG-222/docs-document-how-to-use-non-public-postgresql-schemas-with-better issue: https://github.com/better-auth/better-auth/issues/4452 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Add docs on using a non-default PostgreSQL schema with Better Auth. Explains setting search_path via ALTER USER or connection URI (URL-encoded) and the need for schema creation and permissions; addresses Linear ENG-222 and GitHub #4452. <!-- 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 12:37:31 -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#5817