Skip to content

Commit f6490e9

Browse files
committed
fix: clear detached
1 parent ae9454d commit f6490e9

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,6 @@ The `dev` command starts a [local Prisma Postgres](/postgres/database/local-deve
846846
| `--db-port` (or `-P`) | No | Port number the local Prisma Postgres database server will listen on. | `51214` |
847847
| `--shadow-db-port` | No | Port number the shadow database server will listen on. | `51215` |
848848
| `--debug` | No | Enable debug logging. | `false` |
849-
| `--detach` | No | Create and start the instance in detached mode (running in the background). Useful for automated workflows and CI/CD pipelines. | `false` |
850849

851850
### Examples
852851

content/250-postgres/300-database/550-local-development.mdx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -88,16 +88,6 @@ npx prisma dev --name mydb1
8888

8989
Whenever you pass the `--name mydb1` to `prisma dev`, the command will return the same connection string pointing to a local instance called `mydb1`.
9090

91-
### Creating detached instances
92-
93-
You can create and start new Prisma Postgres instances in detached mode (running in the background) using the `--detach` flag:
94-
95-
```terminal
96-
npx prisma dev --name mydb --detach
97-
```
98-
99-
This creates a new instance and immediately starts it in the background, similar to `docker run`. This is particularly useful for automated workflows and CI/CD pipelines where you need instances to run without interactive terminals.
100-
10191
## Starting existing Prisma Postgres instances in the background
10292

10393
You can start existing Prisma Postgres instances in the background using:

0 commit comments

Comments
 (0)