[PR #6133] docs: update prisma adapter guide for v7 patterns #14716

Open
opened 2026-04-13 09:36:03 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6133
Author: @GautamBytes
Created: 11/20/2025
Status: 🔄 Open

Base: mainHead: docs/update-prisma-v7-guide


📝 Commits (1)

  • 2b7dba5 docs: update prisma adapter guide for v7 patterns

📊 Changes

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

View changed files

📝 docs/content/docs/adapters/prisma.mdx (+6 -6)

📄 Description

Description

This PR updates the Prisma adapter documentation to align with Prisma v7 breaking changes.

Changes:

  • Updated the import path to @/generated/prisma/client.
  • Updated the code snippet to demonstrate the required Driver Adapter pattern (using PrismaBetterSqlite3 as the example to match the existing SQLite context).
  • Removed the warning about custom output directories as it is no longer the primary concern in v7 migrations compared to adapter initialization.

Closes #6112


Summary by cubic

Update the Prisma adapter guide to match Prisma v7 patterns. Switch imports to "@/generated/prisma/client", show driver adapter setup using PrismaBetterSqlite3 for SQLite, and remove the outdated custom output directory warning.

Written for commit 2b7dba590a. 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/6133 **Author:** [@GautamBytes](https://github.com/GautamBytes) **Created:** 11/20/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `docs/update-prisma-v7-guide` --- ### 📝 Commits (1) - [`2b7dba5`](https://github.com/better-auth/better-auth/commit/2b7dba590a5b964ebcf4ed47573c4afd96182f67) docs: update prisma adapter guide for v7 patterns ### 📊 Changes **1 file changed** (+6 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/adapters/prisma.mdx` (+6 -6) </details> ### 📄 Description ### Description This PR updates the Prisma adapter documentation to align with [Prisma v7 breaking changes](https://www.prisma.io/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-7). **Changes:** - Updated the import path to `@/generated/prisma/client`. - Updated the code snippet to demonstrate the required **Driver Adapter** pattern (using `PrismaBetterSqlite3` as the example to match the existing SQLite context). - Removed the warning about custom output directories as it is no longer the primary concern in v7 migrations compared to adapter initialization. ### Related Issue Closes #6112 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Update the Prisma adapter guide to match Prisma v7 patterns. Switch imports to "@/generated/prisma/client", show driver adapter setup using PrismaBetterSqlite3 for SQLite, and remove the outdated custom output directory warning. <sup>Written for commit 2b7dba590a5b964ebcf4ed47573c4afd96182f67. 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-04-13 09:36:03 -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#14716