You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Prisma setup defaults to Planetscale, which causes issues for developers trying to use a local MySQL database. This issue proposes adding instructions to the CONTRIBUTING.md file or making the adapter configurable through an environment variable.
Expected Behavior
Developers can easily switch between Planetscale and a local MySQL database.
Clear instructions are provided in CONTRIBUTING.md for configuring the Prisma adapter.
Alternatively, the adapter is configurable via an environment variable.
Actual Behavior
Prisma is hardcoded to use Planetscale by default.
Developers need to manually remove the Planetscale-specific configuration to use a local MySQL database.
This can lead to confusion and extra setup time for contributors unfamiliar with Planetscale.
Steps to Reproduce the Problem
Clone the repository.
Attempt to set up Prisma with a local MySQL database.
Notice that the Planetscale configuration must be manually removed for the local database setup to work.
Proposed Solution
Add detailed instructions to CONTRIBUTING.md on how to:
Set up Prisma for Planetscale.
Configure Prisma for a local MySQL database.
Update the Prisma adapter configuration to use an environment variable, such as:
PRISMA_ADAPTER=planetscale
The text was updated successfully, but these errors were encountered:
Summary
The Prisma setup defaults to Planetscale, which causes issues for developers trying to use a local MySQL database. This issue proposes adding instructions to the
CONTRIBUTING.md
file or making the adapter configurable through an environment variable.Expected Behavior
CONTRIBUTING.md
for configuring the Prisma adapter.Actual Behavior
Steps to Reproduce the Problem
Proposed Solution
Add detailed instructions to
CONTRIBUTING.md
on how to:Update the Prisma adapter configuration to use an environment variable, such as:
The text was updated successfully, but these errors were encountered: