> ## Documentation Index
> Fetch the complete documentation index at: https://docs.squarecloud.app/llms.txt
> Use this file to discover all available pages before exploring further.

# squarecloud db update

> Square Cloud 上のデータベースの名前またはメモリを更新します。

データベースの名前や割り当てメモリを更新します。`--name` または `--memory` の少なくとも一方が必須です。どちらも指定せずにコマンドを実行すると、代わりにコマンドのヘルプが表示されます。データベース ID は省略可能です。CLI は引数から解決し、指定がない場合はインタラクティブな選択メニューにフォールバックします。

```bash theme={null}
squarecloud db update <dbID> --name new-name
# Renames the database.
```

```bash theme={null}
squarecloud db update <dbID> --memory 1024
# Updates the allocated memory to 1024MB.
```

```bash theme={null}
squarecloud db update --name new-name --memory 1024
# Uses an interactive picker to choose the database, then updates both fields.
```

このコマンドの詳細については `squarecloud db update --help` を使用してください。
