All skills
prisma avatar

/prisma-database-setup

@b491588 official
by prismaprisma/skills66 stars
7

Deprecated compatibility name for prisma-orm-setup. Use only when a user or existing integration explicitly invokes prisma-database-setup; otherwise select prisma-orm-setup.

Use this Skill: https://skilld.dev/gh/prisma/skills/prisma-database-setup

This session only. Nothing lands on disk.

SKILL.md

≈49 tokens always: the name and description. ≈105 when used: this file.

Deprecated: prisma-database-setup

Load prisma-orm-setup with the host's skill loader or read its installed SKILL.md. If unavailable, install it from prisma/skills before continuing. It covers Prisma 6, 7, and 8 setup and connection repair.

This compatibility entry contains no setup recipes. Keep it until consumers have migrated to the replacement.

Source: SKILL.md on GitHub

No alerts1d5 checks · Risk SAFE
  • Gen Agent Trust Hub1d

    This skill provides standard configuration templates and setup instructions for using the Prisma ORM with various database providers. No security issues were identified as the connection strings use generic placeholders and all recommended packages are official Prisma libraries or established database drivers.

  • Socket1d

    No alerts

  • Snyk1d

    Risk: LOW · No issues

  • Runlayer7mo

    4/9 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at b491588. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 days ago
metadata
{
  "author": "prisma",
  "version": "8.0.0"
}
  • Database
  • prisma
  • postgres
  • mysql
  • sqlite
  • mongodb
  • orm
  • driver-adapter
  • schema
  • configuration

README badge

README badge for prisma/skills/prisma-database-setup

Provides configuration guides for Prisma ORM across multiple database providers including PostgreSQL, MySQL, SQLite, MongoDB, and SQL Server. Covers datasource setup, driver adapter selection, Prisma Client generation, and database-specific connection patterns.

Generated from the current SKILL.md.

Does this skill support MongoDB?
Yes, but MongoDB projects must use Prisma 6.x and keep the connection URL in schema.prisma. Do not apply the Prisma 7 SQL adapter workflow to MongoDB.
Which driver adapter should I use for PostgreSQL?
Use @prisma/adapter-pg with the pg driver for standard PostgreSQL. For Prisma Postgres (edge/serverless), use @prisma/adapter-ppg with @prisma/ppg instead.
What Node.js and TypeScript versions are required?
Node.js 20.19.0+ and TypeScript 5.4.0+ are required.
Do I need to regenerate Prisma Client after schema changes?
Yes. Run npx prisma generate after every schema change to keep the client in sync.
Does this skill work with Bun?
Yes. Use bunx --bun prisma ... for Prisma CLI commands so it runs on the Bun runtime instead of Node.js.

Generated from the current SKILL.md. These answers refresh after source changes.