Skip to content

Commit

Permalink
Merge branch 'feat/d1' of github.com:prisma/docs into feat/d1
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolasburk committed Mar 27, 2024
2 parents 50d9a32 + 6902be2 commit 4bdb732
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Prisma ORM maintains the following serverless driver adapters:

- [Neon](/orm/overview/databases/neon#how-to-use-neons-serverless-driver-with-prisma-orm-preview)
- [PlanetScale](/orm/overview/databases/planetscale#how-to-use-the-planetscale-serverless-driver-with-prisma-orm-preview)
- [D1](orm/overview/databases/cloudflare-d1)
- [Cloudflare D1](orm/overview/databases/cloudflare-d1)

### Community-maintained database driver adapters

Expand Down Expand Up @@ -74,7 +74,7 @@ To use this feature:
- [Neon](/orm/overview/databases/neon#how-to-use-neons-serverless-driver-with-prisma-orm-preview)
- [PlanetScale](/orm/overview/databases/planetscale#how-to-use-the-planetscale-serverless-driver-with-prisma-orm-preview)
- [Turso](/orm/overview/databases/turso#how-to-connect-and-query-a-turso-database)
- [D1](/orm/overview/databases/cloudflare-d1)
- [Cloudflare D1](/orm/overview/databases/cloudflare-d1)

## Notes about using driver adapters

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,3 @@ When using Prisma ORM with D1, you need to use the `sqlite` database provider an

If you want to deploy a Cloudflare Worker with D1 and Prisma ORM, follow these [step-by-step instructions](/orm/prisma-client/deployment/edge/deploy-to-cloudflare#d1).

## Notes about schema migrations with D1
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ The command will output the URL where you can access the deployed Worker.

### D1

If you are using a Neon database, you need to:
If you are using a D1 database, you need to:

- use the `@prisma/adapter-d1` database adapter (via the `driverAdapters` Preview feature)
- set `sqlite` as the `datasource` provider in your Prisma schema
Expand Down

0 comments on commit 4bdb732

Please sign in to comment.