[PR #614] [CLOSED] Add support for ZenStack Prisma when generating migration. #28997

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/614
Author: @salvinoto
Created: 11/21/2024
Status: Closed

Base: mainHead: main


📝 Commits (2)

  • 038692e Added support for ZenStack generator
  • 31d2067 Fix syntax issue with ZenStack check in prisma.ts

📊 Changes

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

View changed files

📝 packages/cli/src/generators/prisma.ts (+1 -1)

📄 Description

Just a quick fix to check if schema.zmodel existing before jumping straight to schema.prisma, as when using ZenStack, the prisma schema is automatically generated from the zmodel, and is not supposed to be modified manually.


🔄 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/614 **Author:** [@salvinoto](https://github.com/salvinoto) **Created:** 11/21/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`038692e`](https://github.com/better-auth/better-auth/commit/038692e47397cd723d7c66211ba2e9d99e6e52b1) Added support for ZenStack generator - [`31d2067`](https://github.com/better-auth/better-auth/commit/31d2067e33d52f3afb4c971e77832cdc6c7d63a8) Fix syntax issue with ZenStack check in prisma.ts ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/cli/src/generators/prisma.ts` (+1 -1) </details> ### 📄 Description Just a quick fix to check if schema.zmodel existing before jumping straight to schema.prisma, as when using ZenStack, the prisma schema is automatically generated from the zmodel, and is not supposed to be modified manually. --- <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-17 20:24:30 -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#28997