Prompt Buddy logoPrompt Buddy

prisma · Prisma Docs

Prisma deploy (/docs/cli/migrate/deploy)

How to apply pending database migrations in non-development environments using the Prisma CLI.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Prisma deploy (/docs/cli/migrate/deploy)

How to apply pending database migrations in non-development environments using the Prisma CLI.

When To Use

Use when you need to apply pending migrations to a production or staging database without resetting the database or checking for schema drift.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/prisma-deploy-docs-cli-migrate-workflow-guide.mdDocumentation explaining the usage and purpose of the prisma migrate deploy command for applying pending migrations in non-development environments.Questions about documentation explaining the usage and purpose of the prisma migrate deploy command for applying pending migrations i...
examples/prisma-deploy-docs-cli-migrate-prisma-migrate-deploy-bash-command.bashA bash command example demonstrating the usage of the prisma migrate deploy CLI command.Exact payloads, commands, or snippets shown in A bash command example demonstrating the usage of the prisma migrate deploy CLI command.
examples/prisma-deploy-docs-cli-migrate-prisma-migrate-deploy-bash-command-2.bashA bash command example demonstrating how to use npx prisma migrate deploy to apply pending migrations to a database.Exact payloads, commands, or snippets shown in A bash command example demonstrating how to use npx prisma migrate deploy to apply pending migrations to a database.
examples/prisma-deploy-docs-cli-migrate-prisma-migrate-deploy-bash-command-3.bashA bash command demonstrating how to use the prisma migrate deploy command via pnpm.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma migrate deploy command via pnpm.
examples/prisma-deploy-docs-cli-migrate-prisma-migrate-deploy-bash-command-4.bashA bash command demonstrating how to use the prisma migrate deploy command via yarn dlx.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma migrate deploy command via yarn dlx.
examples/prisma-deploy-docs-cli-migrate-prisma-migrate-deploy-bash-command-5.bashA bash command demonstrating how to use the prisma migrate deploy command via bunx.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma migrate deploy command via bunx.
examples/prisma-deploy-docs-cli-migrate-prisma-migrate-deploy-bash-command-6.bashA bash command demonstrating how to use the prisma migrate deploy operation with a custom schema path.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma migrate deploy operation with a custom schema path.
examples/prisma-deploy-docs-cli-migrate-prisma-migrate-deploy-bash-command-7.bashA bash command demonstrating how to run the prisma migrate deploy operation using a specific schema file path.Exact payloads, commands, or snippets shown in A bash command demonstrating how to run the prisma migrate deploy operation using a specific schema file path.
examples/prisma-deploy-docs-cli-migrate-prisma-migrate-deploy-bash-command-8.bashA bash command demonstrating how to use the prisma migrate deploy command with a custom schema path.Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma migrate deploy command with a custom schema path.
examples/prisma-deploy-docs-cli-migrate-prisma-migrate-deploy-bash-command-9.bashA bash command demonstrating how to run prisma migrate deploy using bunx with a custom schema path.Exact payloads, commands, or snippets shown in A bash command demonstrating how to run prisma migrate deploy using bunx with a custom schema path.

What This Skill Covers

  • deploy (/docs/cli/migrate/deploy)
  • Main sections: npm, pnpm, yarn, bun, npm.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://www.prisma.io/docs/cli/migrate/deploy