Skip to content

Commit 17b67d7

Browse files
committed
feat: add pg as a dependency
1 parent e4cf39f commit 17b67d7

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

content/100-getting-started/02-prisma-orm/100-quickstart/100-prisma-postgres.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,15 @@ Install the packages needed for this quickstart:
2626

2727
```terminal
2828
npm install prisma @types/node @types/pg --save-dev
29-
npm install @prisma/client @prisma/adapter-pg dotenv
29+
npm install @prisma/client @prisma/adapter-pg pg dotenv
3030
```
3131

3232
Here's what each package does:
3333

3434
- **`prisma`** - The Prisma CLI for running commands like `prisma init`, `prisma migrate`, and `prisma generate`
3535
- **`@prisma/client`** - The Prisma Client library for querying your database
3636
- **`@prisma/adapter-pg`** - The [`node-postgres` driver adapter](/orm/overview/databases/postgresql#using-the-node-postgres-driver) that connects Prisma Client to your database
37+
- **`pg`** - The node-postgres database driver
3738
- **`@types/pg`** - TypeScript type definitions for node-postgres
3839
- **`dotenv`** - Loads environment variables from your `.env` file
3940

content/100-getting-started/02-prisma-orm/100-quickstart/300-postgresql.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,15 @@ Install the packages needed for this quickstart:
3737

3838
```terminal
3939
npm install prisma @types/node @types/pg --save-dev
40-
npm install @prisma/client @prisma/adapter-pg dotenv
40+
npm install @prisma/client @prisma/adapter-pg pg dotenv
4141
```
4242

4343
Here's what each package does:
4444

4545
- **`prisma`** - The Prisma CLI for running commands like `prisma init`, `prisma migrate`, and `prisma generate`
4646
- **`@prisma/client`** - The Prisma Client library for querying your database
4747
- **`@prisma/adapter-pg`** - The [`node-postgres` driver adapter](/orm/overview/databases/postgresql#using-the-node-postgres-driver) that connects Prisma Client to your database
48+
- **`pg`** - The node-postgres database driver
4849
- **`@types/pg`** - TypeScript type definitions for node-postgres
4950
- **`dotenv`** - Loads environment variables from your `.env` file
5051

content/100-getting-started/02-prisma-orm/100-quickstart/700-cockroachdb.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,15 @@ Install the packages needed for this quickstart:
3131

3232
```terminal
3333
npm install prisma @types/node @types/pg --save-dev
34-
npm install @prisma/client @prisma/adapter-pg dotenv
34+
npm install @prisma/client @prisma/adapter-pg pg dotenv
3535
```
3636

3737
Here's what each package does:
3838

3939
- **`prisma`** - The Prisma CLI for running commands like `prisma init`, `prisma migrate`, and `prisma generate`
4040
- **`@prisma/client`** - The Prisma Client library for querying your database
4141
- **`@prisma/adapter-pg`** - The [`node-postgres` driver adapter](/orm/overview/databases/postgresql#using-the-node-postgres-driver) that connects Prisma Client to your database (CockroachDB is PostgreSQL-compatible)
42+
- **`pg`** - The node-postgres database driver
4243
- **`@types/pg`** - TypeScript type definitions for node-postgres
4344
- **`dotenv`** - Loads environment variables from your `.env` file
4445

content/100-getting-started/02-prisma-orm/200-add-to-existing-project/100-prisma-postgres.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,15 @@ Navigate to your existing project directory and install the required dependencie
2121

2222
```terminal
2323
npm install prisma @types/node @types/pg --save-dev
24-
npm install @prisma/client @prisma/adapter-pg dotenv
24+
npm install @prisma/client @prisma/adapter-pg pg dotenv
2525
```
2626

2727
Here's what each package does:
2828

2929
- **`prisma`** - The Prisma CLI for running commands like `prisma init`, `prisma db pull`, and `prisma generate`
3030
- **`@prisma/client`** - The Prisma Client library for querying your database
3131
- **`@prisma/adapter-pg`** - The [`node-postgres` driver adapter](/orm/overview/databases/postgresql#using-the-node-postgres-driver) that connects Prisma Client to your database
32+
- **`pg`** - The node-postgres database driver
3233
- **`@types/pg`** - TypeScript type definitions for node-postgres
3334
- **`dotenv`** - Loads environment variables from your `.env` file
3435

content/100-getting-started/02-prisma-orm/200-add-to-existing-project/300-postgresql.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,15 @@ Navigate to your existing project directory and install the required dependencie
2121

2222
```terminal
2323
npm install prisma @types/node @types/pg --save-dev
24-
npm install @prisma/client @prisma/adapter-pg dotenv
24+
npm install @prisma/client @prisma/adapter-pg pg dotenv
2525
```
2626

2727
Here's what each package does:
2828

2929
- **`prisma`** - The Prisma CLI for running commands like `prisma init`, `prisma db pull`, and `prisma generate`
3030
- **`@prisma/client`** - The Prisma Client library for querying your database
3131
- **`@prisma/adapter-pg`** - The [`node-postgres` driver adapter](/orm/overview/databases/postgresql#using-the-node-postgres-driver) that connects Prisma Client to your database
32+
- **`pg`** - The node-postgres database driver
3233
- **`@types/pg`** - TypeScript type definitions for node-postgres
3334
- **`dotenv`** - Loads environment variables from your `.env` file
3435

content/100-getting-started/02-prisma-orm/200-add-to-existing-project/700-cockroachdb.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,15 @@ Navigate to your existing project directory and install the required dependencie
2121

2222
```terminal
2323
npm install prisma @types/node @types/pg --save-dev
24-
npm install @prisma/client @prisma/adapter-pg dotenv
24+
npm install @prisma/client @prisma/adapter-pg pg dotenv
2525
```
2626

2727
Here's what each package does:
2828

2929
- **`prisma`** - The Prisma CLI for running commands like `prisma init`, `prisma db pull`, and `prisma generate`
3030
- **`@prisma/client`** - The Prisma Client library for querying your database
3131
- **`@prisma/adapter-pg`** - The [`node-postgres` driver adapter](/orm/overview/databases/postgresql#using-the-node-postgres-driver) that connects Prisma Client to your database (CockroachDB is PostgreSQL-compatible)
32+
- **`pg`** - The node-postgres database driver
3233
- **`@types/pg`** - TypeScript type definitions for node-postgres
3334
- **`dotenv`** - Loads environment variables from your `.env` file
3435

0 commit comments

Comments
 (0)