[PR #3021] [MERGED] fix: schema generate mismatch #21510

Closed
opened 2026-04-15 20:24:47 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3021
Author: @Kinfe123
Created: 6/14/2025
Status: Merged
Merged: 8/6/2025
Merged by: @Bekacru

Base: mainHead: fix/schema-generate-mismatch


📝 Commits (10+)

📊 Changes

5 files changed (+214 additions, -23 deletions)

View changed files

📝 docs/components/builder/index.tsx (+0 -1)
📝 packages/better-auth/src/adapters/prisma-adapter/test/state.txt (+1 -1)
📝 packages/cli/src/generators/prisma.ts (+48 -20)
packages/cli/test/__snapshots__/schema-mysql-custom.prisma (+127 -0)
📝 packages/cli/test/generate.test.ts (+38 -1)

📄 Description

close #1414. this is the updated schema based on the customization


🔄 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/3021 **Author:** [@Kinfe123](https://github.com/Kinfe123) **Created:** 6/14/2025 **Status:** ✅ Merged **Merged:** 8/6/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/schema-generate-mismatch` --- ### 📝 Commits (10+) - [`a56e8f8`](https://github.com/better-auth/better-auth/commit/a56e8f85a9d78dddb8eaf6d0de50ba6dab4e23d7) fix: generate mismatch - [`a59b07c`](https://github.com/better-auth/better-auth/commit/a59b07c1010f5ce0563234eb2bcb0d90da794a92) clean up - [`44b5fae`](https://github.com/better-auth/better-auth/commit/44b5fae293690b00af43c454b051af1f798a38b7) linkt - [`d2f8aa8`](https://github.com/better-auth/better-auth/commit/d2f8aa8236bf8b1809532242ad6636ef9bf920e2) lint - [`3e7931b`](https://github.com/better-auth/better-auth/commit/3e7931b01076fe482fd2c733a7b6c11176be258c) clean up - [`3dc2428`](https://github.com/better-auth/better-auth/commit/3dc24288b32692d64bac5f89f22639c78fee2075) clean up - [`bc24bcc`](https://github.com/better-auth/better-auth/commit/bc24bccf8dbc28087ce618b3b4b56ec70756dc6a) lint - [`8d5f6af`](https://github.com/better-auth/better-auth/commit/8d5f6af45543be68a9b2a1410c56a4b829cf7cee) lint - [`42c0aed`](https://github.com/better-auth/better-auth/commit/42c0aed7907464c45854fd8a775ca4cbcfd45600) test - [`62f8ff9`](https://github.com/better-auth/better-auth/commit/62f8ff97b255e68e9c94c47dbe91250ffe34f3a8) clean up ### 📊 Changes **5 files changed** (+214 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `docs/components/builder/index.tsx` (+0 -1) 📝 `packages/better-auth/src/adapters/prisma-adapter/test/state.txt` (+1 -1) 📝 `packages/cli/src/generators/prisma.ts` (+48 -20) ➕ `packages/cli/test/__snapshots__/schema-mysql-custom.prisma` (+127 -0) 📝 `packages/cli/test/generate.test.ts` (+38 -1) </details> ### 📄 Description close #1414. this is the [updated](https://github.com/better-auth/better-auth/pull/3021/files#diff-69af3361519488746617ccae7af8396a340680bf62df5bb42ac7ba6acda65842) schema based on the customization --- <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-15 20:24:47 -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#21510