Skip to content

Commit 07f21a1

Browse files
authored
docs(): remove older package.json cli config (#7359)
1 parent 03ea8bf commit 07f21a1

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

content/200-orm/500-reference/200-prisma-cli-reference.mdx

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1804,42 +1804,6 @@ prisma studio --config=./prisma.config.ts
18041804
prisma studio --url="postgresql://user:password@localhost:5432/dbname"
18051805
```
18061806
1807-
## `package.json` entry options
1808-
1809-
### `schema`
1810-
1811-
The path to the desired `schema.prisma` file can be specified with the `prisma.schema` entry in the `package.json` file. The path defines the file the Prisma CLI should use when you run any of the CLI commands. Both absolute and relative paths are supported.
1812-
1813-
```json file="package.json"
1814-
{
1815-
"name": "my-project",
1816-
"version": "1.0.0",
1817-
"prisma": {
1818-
"schema": "./custom-path-to-schema/schema.prisma"
1819-
}
1820-
}
1821-
```
1822-
1823-
This is available from version 2.7.0 and later.
1824-
1825-
### `seed`
1826-
1827-
The command used to populate the datasource is specified in the `prisma.seed` entry in the `package.json` file. It is used when `prisma db seed` is invoked or triggered.
1828-
1829-
See [Seeding your database](/orm/prisma-migrate/workflows/seeding)
1830-
1831-
```json file="package.json"
1832-
{
1833-
"name": "my-project",
1834-
"version": "1.0.0",
1835-
"prisma": {
1836-
"seed": "node ./prisma/seed.js"
1837-
}
1838-
}
1839-
```
1840-
1841-
This is available from version 3.0.1 and later.
1842-
18431807
## Using a HTTP proxy for the CLI
18441808
18451809
Prisma CLI supports [custom HTTP proxies](https://github.com/prisma/prisma/issues/506). This is particularly relevant when being behind a corporate firewall.

0 commit comments

Comments
 (0)