prisma · Prisma Docs
CockroachDB (/docs/prisma-orm/add-to-existing-project/cockroachdb)
A guide for integrating Prisma ORM into an existing TypeScript project using CockroachDB, covering dependency installation, schema initialization, connection configuration, database introspection, and migration baseli...
Derived skill
Files assembled from official documentation
Viewing SKILL.md
CockroachDB (/docs/prisma-orm/add-to-existing-project/cockroachdb)
A guide for integrating Prisma ORM into an existing TypeScript project using CockroachDB, covering dependency installation, schema initialization, connection configuration, database introspection, and migration baseli...
When To Use
Use when you need to integrate Prisma ORM into a TypeScript project that is already using CockroachDB as its database engine.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/prisma-cockroachdb-docs-orm-add-to-existing-project-workflow-guide.md | Instructions and package manager commands for integrating CockroachDB into an existing project using Prisma ORM. | Questions about instructions and package manager commands for integrating CockroachDB into an existing project using Prisma ORM. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach.bash | Bash commands to install Prisma, the Prisma Client, and the PostgreSQL adapter required for CockroachDB integration. | Exact payloads, commands, or snippets shown in Bash commands to install Prisma, the Prisma Client, and the PostgreSQL adapter required for CockroachDB integration. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-2.bash | Bash commands to install Prisma, client, and PostgreSQL adapter dependencies for a CockroachDB project. | Exact payloads, commands, or snippets shown in Bash commands to install Prisma, client, and PostgreSQL adapter dependencies for a CockroachDB project. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-3.bash | Bash commands to install Prisma, PostgreSQL types, and the CockroachDB adapter using yarn. | Exact payloads, commands, or snippets shown in Bash commands to install Prisma, PostgreSQL types, and the CockroachDB adapter using yarn. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-4.bash | Bash commands to install Prisma, PostgreSQL types, and the CockroachDB adapter using the Bun package manager. | Exact payloads, commands, or snippets shown in Bash commands to install Prisma, PostgreSQL types, and the CockroachDB adapter using the Bun package manager. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-init-cockroac.bash | A bash command to initialize a Prisma project with the CockroachDB datasource provider and a custom output directory. | Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma project with the CockroachDB datasource provider and a custom output directory. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-init-cockroac-2.bash | A bash command to initialize a Prisma client with the CockroachDB datasource provider and a custom output directory. | Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma client with the CockroachDB datasource provider and a custom output directory. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-init-cockroac-3.bash | A bash command to initialize a Prisma client with the CockroachDB datasource provider and a custom output directory. | Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma client with the CockroachDB datasource provider and a custom output directory. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-init-cockroac-4.bash | A bash command using bunx to initialize a Prisma project with the cockroachdb datasource provider. | Exact payloads, commands, or snippets shown in A bash command using bunx to initialize a Prisma project with the cockroachdb datasource provider. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach.typescript | A TypeScript configuration file demonstrating how to set up a Prisma schema and migrations for a CockroachDB database connection. | Exact payloads, commands, or snippets shown in A TypeScript configuration file demonstrating how to set up a Prisma schema and migrations for a CockroachDB database... |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach.prisma | A Prisma schema configuration snippet defining a CockroachDB datasource provider. | Exact payloads, commands, or snippets shown in A Prisma schema configuration snippet defining a CockroachDB datasource provider. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach.text | An example of a CockroachDB connection string formatted for use with the Prisma ORM. | Exact payloads, commands, or snippets shown in An example of a CockroachDB connection string formatted for use with the Prisma ORM. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-2.text | A text example of a CockroachDB connection string formatted for use with the Prisma ORM. | Exact payloads, commands, or snippets shown in A text example of a CockroachDB connection string formatted for use with the Prisma ORM. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-5.bash | A bash command demonstrating how to use npx prisma db pull to introspect an existing CockroachDB database. | Exact payloads, commands, or snippets shown in A bash command demonstrating how to use npx prisma db pull to introspect an existing CockroachDB database. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-6.bash | A bash command using pnpm to pull the database schema from a CockroachDB instance into a Prisma project. | Exact payloads, commands, or snippets shown in A bash command using pnpm to pull the database schema from a CockroachDB instance into a Prisma project. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-7.bash | A bash command using yarn dlx to pull the database schema from a CockroachDB instance into a Prisma project. | Exact payloads, commands, or snippets shown in A bash command using yarn dlx to pull the database schema from a CockroachDB instance into a Prisma project. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-8.bash | A bash command using bunx to perform a database pull from a CockroachDB instance into a Prisma project. | Exact payloads, commands, or snippets shown in A bash command using bunx to perform a database pull from a CockroachDB instance into a Prisma project. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-9.bash | Bash commands to create the initial migration directory for integrating CockroachDB with Prisma ORM. | Exact payloads, commands, or snippets shown in Bash commands to create the initial migration directory for integrating CockroachDB with Prisma ORM. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-10.bash | A bash command to generate an initial SQL migration script for CockroachDB using the prisma migrate diff command. | Exact payloads, commands, or snippets shown in A bash command to generate an initial SQL migration script for CockroachDB using the prisma migrate diff command. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-11.bash | A bash command to generate an initial SQL migration script for CockroachDB using prisma migrate diff. | Exact payloads, commands, or snippets shown in A bash command to generate an initial SQL migration script for CockroachDB using prisma migrate diff. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-12.bash | A bash command using prisma migrate diff to generate an initial SQL migration script for a CockroachDB database. | Exact payloads, commands, or snippets shown in A bash command using prisma migrate diff to generate an initial SQL migration script for a CockroachDB database. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-13.bash | A bash command using prisma migrate diff to generate an initial SQL migration script from a schema for CockroachDB. | Exact payloads, commands, or snippets shown in A bash command using prisma migrate diff to generate an initial SQL migration script from a schema for CockroachDB. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-14.bash | A bash command to resolve a Prisma migration by marking the initial migration as applied for a CockroachDB database. | Exact payloads, commands, or snippets shown in A bash command to resolve a Prisma migration by marking the initial migration as applied for a CockroachDB database. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-15.bash | A bash command demonstrating how to use the prisma migrate resolve command to mark a migration as applied for CockroachDB. | Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma migrate resolve command to mark a migration as applied for Cockroa... |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-16.bash | A bash command to resolve a Prisma migration by marking the initial migration as applied for a CockroachDB database. | Exact payloads, commands, or snippets shown in A bash command to resolve a Prisma migration by marking the initial migration as applied for a CockroachDB database. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-17.bash | A bash command to resolve a Prisma migration by marking the initial migration as applied for a CockroachDB database. | Exact payloads, commands, or snippets shown in A bash command to resolve a Prisma migration by marking the initial migration as applied for a CockroachDB database. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-18.bash | Bash commands to integrate CockroachDB into an existing Prisma ORM project using npx prisma generate. | Exact payloads, commands, or snippets shown in Bash commands to integrate CockroachDB into an existing Prisma ORM project using npx prisma generate. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-19.bash | A bash command to generate the Prisma Client for a project using CockroachDB via pnpm. | Exact payloads, commands, or snippets shown in A bash command to generate the Prisma Client for a project using CockroachDB via pnpm. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-20.bash | Bash commands to add CockroachDB to an existing Prisma project using yarn dlx prisma generate. | Exact payloads, commands, or snippets shown in Bash commands to add CockroachDB to an existing Prisma project using yarn dlx prisma generate. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-21.bash | A bash command to generate the Prisma client using bunx for a CockroachDB integration. | Exact payloads, commands, or snippets shown in A bash command to generate the Prisma client using bunx for a CockroachDB integration. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-2.typescript | A TypeScript code snippet demonstrating how to configure a Prisma Client instance using a CockroachDB connection string and the PrismaPg adapter. | Exact payloads, commands, or snippets shown in A TypeScript code snippet demonstrating how to configure a Prisma Client instance using a CockroachDB connection stri... |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-3.typescript | A TypeScript script demonstrating how to perform basic database queries using Prisma with a CockroachDB connection. | Exact payloads, commands, or snippets shown in A TypeScript script demonstrating how to perform basic database queries using Prisma with a CockroachDB connection. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-22.bash | Bash commands to configure and connect Prisma ORM to an existing CockroachDB database. | Exact payloads, commands, or snippets shown in Bash commands to configure and connect Prisma ORM to an existing CockroachDB database. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-23.bash | A bash command to execute a TypeScript script for configuring CockroachDB within an existing Prisma project. | Exact payloads, commands, or snippets shown in A bash command to execute a TypeScript script for configuring CockroachDB within an existing Prisma project. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-24.bash | A bash command to execute a TypeScript script for configuring CockroachDB within an existing Prisma project. | Exact payloads, commands, or snippets shown in A bash command to execute a TypeScript script for configuring CockroachDB within an existing Prisma project. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-25.bash | A bash command demonstrating how to execute a TypeScript script using bunx and tsx for a CockroachDB integration in an existing Prisma project. | Exact payloads, commands, or snippets shown in A bash command demonstrating how to execute a TypeScript script using bunx and tsx for a CockroachDB integration in a... |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-cockroachdb-e.prisma | A Prisma schema file demonstrating how to configure a model for an existing CockroachDB database. | Exact payloads, commands, or snippets shown in A Prisma schema file demonstrating how to configure a model for an existing CockroachDB database. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-26.bash | A bash command demonstrating how to run a Prisma migration for a CockroachDB database. | Exact payloads, commands, or snippets shown in A bash command demonstrating how to run a Prisma migration for a CockroachDB database. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-27.bash | A bash command to run a Prisma migration against a CockroachDB database using pnpm. | Exact payloads, commands, or snippets shown in A bash command to run a Prisma migration against a CockroachDB database using pnpm. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-28.bash | A bash command to run a Prisma migration against a CockroachDB database using yarn dlx. | Exact payloads, commands, or snippets shown in A bash command to run a Prisma migration against a CockroachDB database using yarn dlx. |
examples/prisma-cockroachdb-docs-orm-add-to-existing-project-prisma-orm-cockroach-29.bash | A bash command using bunx to run a Prisma migration for a CockroachDB database. | Exact payloads, commands, or snippets shown in A bash command using bunx to run a Prisma migration for a CockroachDB database. |
What This Skill Covers
- CockroachDB (/docs/prisma-orm/add-to-existing-project/cockroachdb)
- 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/prisma-orm/add-to-existing-project/cockroachdb