Skip to content

Commit

Permalink
Merge branch 'main' into jharrell/issue5407
Browse files Browse the repository at this point in the history
  • Loading branch information
jharrell authored Nov 7, 2023
2 parents 5449afb + da7e954 commit 7dfbcbb
Show file tree
Hide file tree
Showing 5 changed files with 191 additions and 277 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Prisma Migrate is an **declarative database schema migration tool** that enables
- Keep your database schema in sync with your [Prisma schema](/concepts/components/prisma-schema) as it evolves _and_
- Maintain existing data in your database

Prisma Migrate generates [a history of `.sql` migration files](/concepts/components/prisma-migrate/migration-histories), and plays a role in both [development and deployment](/concepts/components/prisma-migrate/migrate-development-production).
Prisma Migrate generates [a history of `.sql` migration files](/concepts/components/prisma-migrate/migration-histories), and plays a role in both [development and production](/concepts/components/prisma-migrate/migrate-development-production).

<Tip>

Expand Down
6 changes: 5 additions & 1 deletion content/200-concepts/100-components/database-drivers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ Prisma will use the Query Engine to transform the Prisma Client query to SQL and

- [Turso](/guides/database/turso#connect-and-query-your-primary-database)

## Community maintained database driver adapters

- [TiDB](https://github.com/tidbcloud/prisma-adapter)

### How to use driver adapters

To use this feature:
Expand All @@ -48,7 +52,7 @@ To use this feature:
```

3. Refer to the following pages to learn more how to use the specific driver adapters with the specific database providers:

- [Neon](/guides/database/neon#how-to-use-the-neon-serverless-driver-with-prisma-preview)
- [PlanetScale](/guides/database/planetscale#how-to-use-the-planetscale-serverless-driver-with-prisma-preview)
- [Turso](/guides/database/turso#connect-and-query-your-primary-database)
3 changes: 2 additions & 1 deletion content/300-guides/050-database/890-neon.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ Install the Prisma adapter for Neon, Neon serverless driver and `ws` packages:

```sh
npm install @prisma/adapter-neon @neondatabase/serverless ws
npm install --save-dev @types/ws
```

Update your Prisma Client instance:
Expand All @@ -171,4 +172,4 @@ const adapter = new PrismaNeon(pool)
const prisma = new PrismaClient({ adapter })
```

You can then use Prisma Client as you normally would with full-type-safety. Prisma Migrate, introspection, and Prisma Studio will continue working as before, using the connection string defined in the Prisma schema.
You can then use Prisma Client as you normally would with full type-safety. Prisma Migrate, introspection, and Prisma Studio will continue working as before, using the connection string defined in the Prisma schema.
Loading

0 comments on commit 7dfbcbb

Please sign in to comment.