prisma · Prisma Docs
Prisma deploy (/docs/cli/migrate/deploy)
How to apply pending database migrations in non-development environments using the Prisma CLI.
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
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/prisma-deploy-docs-cli-migrate-workflow-guide.md | Documentation 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.bash | A 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.bash | A 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.bash | A 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.bash | A 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.bash | A 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.bash | A 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.bash | A 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.bash | A 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.bash | A 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
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - 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