diff --git a/docs/app.md b/docs/app.md index 0b5b7e11c..44b7d7900 100644 --- a/docs/app.md +++ b/docs/app.md @@ -9,6 +9,9 @@ Manage apps, and app installations in your projects * [`mw app create php-worker`](#mw-app-create-php-worker) * [`mw app create python`](#mw-app-create-python) * [`mw app create static`](#mw-app-create-static) +* [`mw app database link [INSTALLATION-ID]`](#mw-app-database-link-installation-id) +* [`mw app database replace [INSTALLATION-ID]`](#mw-app-database-replace-installation-id) +* [`mw app database unlink [INSTALLATION-ID]`](#mw-app-database-unlink-installation-id) * [`mw app dependency list`](#mw-app-dependency-list) * [`mw app dependency update [INSTALLATION-ID]`](#mw-app-dependency-update-installation-id) * [`mw app dependency versions SYSTEMSOFTWARE`](#mw-app-dependency-versions-systemsoftware) @@ -411,6 +414,164 @@ FLAG DESCRIPTIONS ``` +## `mw app database link [INSTALLATION-ID]` + +Link a database to an app installation. + +``` +USAGE + $ mw app database link [INSTALLATION-ID] --database-id --purpose primary|cache|custom --admin-user-id + [--token ] [-q] + +ARGUMENTS + [INSTALLATION-ID] ID or short ID of an app installation; this argument is optional if a default app installation is + set in the context. + +FLAGS + -q, --quiet suppress process output and only display a machine-readable summary + --admin-user-id= (required) the ID of the database user to link as the administrative user. + --database-id= (required) the ID or name of the database to link to the app installation. + --purpose=