cloudflare · Cloudflare Workers Docs
Workers Set up and use a Prisma Postgres database
A step-by-step tutorial for integrating Prisma ORM with Cloudflare Workers to manage a Prisma Postgres serverless database, including project initialization, dependency installation, schema migration, and database que...
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workers Set up and use a Prisma Postgres database
A step-by-step tutorial for integrating Prisma ORM with Cloudflare Workers to manage a Prisma Postgres serverless database, including project initialization, dependency installation, schema migration, and database que...
When To Use
Use when you need to configure a Cloudflare Workers project to interact with a Prisma Postgres database using Prisma ORM and migrations.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-using-prisma-postgres-with-set-up-and-use-a-database-workflow-guide.md | A step-by-step tutorial for configuring and using a Prisma Postgres database within a Cloudflare Workers project. | Questions about a step-by-step tutorial for configuring and using a Prisma Postgres database within a Cloudflare Workers project. |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare-.text | The npm command used to initialize a new Cloudflare Workers project configured for Prisma and Postgres integration. | Exact payloads, commands, or snippets shown in The npm command used to initialize a new Cloudflare Workers project configured for Prisma and Postgres integration. |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--2.text | A step-by-step guide and command sequence for initializing a Cloudflare Workers project integrated with a Prisma Postgres database. | Exact payloads, commands, or snippets shown in A step-by-step guide and command sequence for initializing a Cloudflare Workers project integrated with a Prisma Post... |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--3.text | A code example demonstrating how to configure and use a Prisma Postgres database within a Cloudflare Workers environment. | Exact payloads, commands, or snippets shown in A code example demonstrating how to configure and use a Prisma Postgres database within a Cloudflare Workers environm... |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--4.text | The shell commands required to install the Prisma development dependency for a Cloudflare Workers project. | Exact payloads, commands, or snippets shown in The shell commands required to install the Prisma development dependency for a Cloudflare Workers project. |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--5.text | The shell commands required to install the Prisma development dependency using yarn for a Cloudflare Workers project. | Exact payloads, commands, or snippets shown in The shell commands required to install the Prisma development dependency using yarn for a Cloudflare Workers project. |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--6.text | The shell commands required to install the Prisma development dependency using pnpm for a Cloudflare Workers project. | Exact payloads, commands, or snippets shown in The shell commands required to install the Prisma development dependency using pnpm for a Cloudflare Workers project. |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--7.text | A list of terminal commands for installing Prisma and setting up a Prisma Postgres database within a Cloudflare Workers environment. | Exact payloads, commands, or snippets shown in A list of terminal commands for installing Prisma and setting up a Prisma Postgres database within a Cloudflare Worke... |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--8.text | The npm installation command for adding the Prisma Accelerate extension to a Cloudflare Workers project. | Exact payloads, commands, or snippets shown in The npm installation command for adding the Prisma Accelerate extension to a Cloudflare Workers project. |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--9.text | The shell commands required to install the Prisma Accelerate extension for Cloudflare Workers. | Exact payloads, commands, or snippets shown in The shell commands required to install the Prisma Accelerate extension for Cloudflare Workers. |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--10.text | The pnpm command required to add the Prisma Accelerate extension to a Cloudflare Workers project. | Exact payloads, commands, or snippets shown in The pnpm command required to add the Prisma Accelerate extension to a Cloudflare Workers project. |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--11.text | The shell command to add the Prisma Accelerate extension to a project using the Bun package manager. | Exact payloads, commands, or snippets shown in The shell command to add the Prisma Accelerate extension to a project using the Bun package manager. |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--12.text | The shell command to install dotenv-cli as a development dependency for configuring environment variables in a Cloudflare Workers project. | Exact payloads, commands, or snippets shown in The shell command to install dotenv-cli as a development dependency for configuring environment variables in a Cloudf... |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--13.text | The command to install dotenv-cli as a development dependency for managing environment variables in a Cloudflare Workers project using Prisma Postgres. | Exact payloads, commands, or snippets shown in The command to install dotenv-cli as a development dependency for managing environment variables in a Cloudflare Work... |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--14.text | The shell command to install dotenv-cli as a development dependency for managing environment variables in a Cloudflare Workers project. | Exact payloads, commands, or snippets shown in The shell command to install dotenv-cli as a development dependency for managing environment variables in a Cloudflar... |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--15.text | A command to install dotenv-cli as a development dependency using bun for managing environment variables in a Cloudflare Workers project. | Exact payloads, commands, or snippets shown in A command to install dotenv-cli as a development dependency using bun for managing environment variables in a Cloudfl... |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--16.text | The npx prisma command used to initialize a Prisma project with a Postgres database configuration for Cloudflare Workers. | Exact payloads, commands, or snippets shown in The npx prisma command used to initialize a Prisma project with a Postgres database configuration for Cloudflare Work... |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--17.text | The shell command used to initialize a Prisma project with a database connection for Cloudflare Workers. | Exact payloads, commands, or snippets shown in The shell command used to initialize a Prisma project with a database connection for Cloudflare Workers. |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--18.text | The command to initialize a Prisma project with a database connection for Cloudflare Workers. | Exact payloads, commands, or snippets shown in The command to initialize a Prisma project with a database connection for Cloudflare Workers. |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--19.text | A shell command to copy environment variables from a .env file to a .dev.vars file for local Cloudflare Workers development. | Exact payloads, commands, or snippets shown in A shell command to copy environment variables from a .env file to a .dev.vars file for local Cloudflare Workers devel... |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--20.text | A Prisma schema file defining a User model and configuring the PostgreSQL provider for use with Cloudflare Workers. | Exact payloads, commands, or snippets shown in A Prisma schema file defining a User model and configuring the PostgreSQL provider for use with Cloudflare Workers. |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--21.text | The package.json scripts configuration for managing Prisma migrations, generation, and studio within a Cloudflare Workers environment. | Exact payloads, commands, or snippets shown in The package.json scripts configuration for managing Prisma migrations, generation, and studio within a Cloudflare Wor... |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--22.text | The npm command used to run database migrations for a Prisma Postgres setup within Cloudflare Workers. | Exact payloads, commands, or snippets shown in The npm command used to run database migrations for a Prisma Postgres setup within Cloudflare Workers. |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--23.text | A TypeScript code example demonstrating how to initialize and use the Prisma Client within a Cloudflare Worker to connect to a Prisma Postgres database. | Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to initialize and use the Prisma Client within a Cloudflare Worker to con... |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--24.text | A list of terminal commands required to initialize and run the development environment for a Cloudflare Workers project using Prisma and Postgres. | Exact payloads, commands, or snippets shown in A list of terminal commands required to initialize and run the development environment for a Cloudflare Workers proje... |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--25.text | A step-by-step tutorial guide for configuring and using a Prisma Postgres database within a Cloudflare Workers environment. | Exact payloads, commands, or snippets shown in A step-by-step tutorial guide for configuring and using a Prisma Postgres database within a Cloudflare Workers enviro... |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--26.text | A command to securely store the Prisma Postgres database connection string as a secret in a Cloudflare Workers environment using Wrangler. | Exact payloads, commands, or snippets shown in A command to securely store the Prisma Postgres database connection string as a secret in a Cloudflare Workers enviro... |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--27.text | A step-by-step guide and command-line interaction for setting up a Cloudflare Worker with a Prisma Postgres database. | Exact payloads, commands, or snippets shown in A step-by-step guide and command-line interaction for setting up a Cloudflare Worker with a Prisma Postgres database. |
examples/workers-using-prisma-postgres-with-set-up-and-use-a-database-cloudflare--28.text | A list of terminal commands used to deploy a Cloudflare Worker integrated with a Prisma Postgres database. | Exact payloads, commands, or snippets shown in A list of terminal commands used to deploy a Cloudflare Worker integrated with a Prisma Postgres database. |
What This Skill Covers
- Prisma Postgres ↗ is a managed, serverless PostgreSQL database. It supports features like connection pooling, caching, real-time subscriptions, and query opt...
- Main sections:
Tags,Prerequisites,1\. Create a new Worker project,2\. Setup Prisma in your project,2.1\. Install required dependencies.
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://developers.cloudflare.com/workers/tutorials/using-prisma-postgres-with-workers
