-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
chore: add best practices to Prisma ORM example #9794
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@ankur-arch is attempting to deploy a commit to the Vercel Team on Vercel. A member of the Team first needs to authorize it. |
Allow CI Workflow Run
Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great! Thank you!
Allow CI Workflow Run
Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer |
Removed
relationMode
from Prisma schema:The
relationMode
setting has been removed from the schema. This setting was primarily required for databases like Planetscale when foreign key constraints were not enabled. Since most databases (including Planetscale) now support foreign keys, this configuration should no longer be necessary.Ensure latest Prisma version on installation:
The starter now ensures that the latest version of Prisma is installed during setup. This avoids potential compatibility issues and ensures users have access to the newest features and fixes.
Custom
outputs
directory for Prisma:Prisma files are now generated in a custom
outputs
directory. This change prevents conflicts across different package managers (e.g., npm, yarn, pnpm) and improves the reliability of the setup.Added
.env
file setup instructions:Clear instructions have been added to guide users in creating
.env
files for both the database package and the app. This ensures proper configuration of environment variables, which makes sure the app starts up properly.Refined README with step-by-step instructions:
The README has been updated with detailed, step-by-step instructions to simplify the setup process. This includes guidance on installing dependencies, configuring the database, and running the project.