Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/06-concepts/cli/_generated/cloud.md
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

30 changes: 30 additions & 0 deletions docs/06-concepts/cli/_generated/database.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
## Usage

```console
Manage the embedded PostgreSQL database used by a Serverpod project.

Usage: serverpod database <subcommand> [arguments]
-h, --help Print this usage information.

Available subcommands:
start Start the configured embedded PostgreSQL database over TCP.

Run "serverpod help" to see global options.
```

### Sub commands

#### `start`

```console
Start the configured embedded PostgreSQL database over TCP.

Usage: serverpod database start [arguments]
-h, --help Print this usage information.
-s, --server-dir=<path> Server project directory. Defaults to auto-detection.
-m, --mode Serverpod run mode whose database config should be used.
(defaults to "development")
-p, --port=<integer> TCP port override. Defaults to the configured database port.

Run "serverpod help" to see global options.
```
1 change: 1 addition & 0 deletions docs/06-concepts/cli/_generated/global_options.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Available commands:
create Creates a new Serverpod project, specify project name (must be lowercase with no special characters).
create-migration Creates a migration from the last migration to the current state of the database.
create-repair-migration Repairs the database by comparing the target state to what is in the live database instead of comparing to the latest migration.
database Manage the embedded PostgreSQL database used by a Serverpod project.
generate Generate code from yaml files for server and clients.
language-server Launches a serverpod language server communicating with JSON-RPC-2 intended to be used with a client integrated in an IDE.
mcp-server Start an MCP bridge to the `serverpod start` runner of one server project.
Expand Down
1 change: 1 addition & 0 deletions docs/06-concepts/cli/commands/database/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"label": "database"}
Empty file.
9 changes: 9 additions & 0 deletions docs/06-concepts/cli/commands/database/database.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: ""
---
import MaintainedCommandIntro from './_database.md';
import Database from '../../_generated/database.md';

<MaintainedCommandIntro/>

<Database/>
Loading