What problem does it solve?
It removes guesswork when configuring Prisma ORM across different database providers, helping you set up the correct schema, environment variables, client generation, and (when applicable) driver adapters.
Core Features & Use Cases
- Provider-specific Prisma configuration: Guidance for PostgreSQL, MySQL/MariaDB, SQLite, MongoDB, SQL Server, CockroachDB, and Prisma Postgres.
- Correct generator and client setup: Ensures
prisma/schema.prisma has the right generator block and that prisma generate is rerun after schema changes.
- Driver adapter wiring for SQL providers: Covers adapter selection and Prisma Client instantiation patterns for supported relational workflows.
- MongoDB-safe handling: Explicitly avoids Prisma 7 SQL adapter guidance for MongoDB and describes the Prisma 6.x approach.
- Troubleshooting and environment correctness: Helps resolve common connectivity and setup errors by validating prerequisites and connection string expectations.
Quick Start
Generate and wire up Prisma for PostgreSQL by editing prisma/schema.prisma with provider = "postgresql", adding the Prisma Client generator output, then run npx prisma generate and instantiate PrismaClient using the @prisma/adapter-pg adapter with DATABASE_URL.