メインコンテンツへスキップ
データベースの名前や割り当てメモリを更新します。--name または --memory の少なくとも一方が必須です。どちらも指定せずにコマンドを実行すると、代わりにコマンドのヘルプが表示されます。データベース ID は省略可能です。CLI は引数から解決し、指定がない場合はインタラクティブな選択メニューにフォールバックします。
squarecloud db update <dbID> --name new-name
# Renames the database.
squarecloud db update <dbID> --memory 1024
# Updates the allocated memory to 1024MB.
squarecloud db update --name new-name --memory 1024
# Uses an interactive picker to choose the database, then updates both fields.
このコマンドの詳細については squarecloud db update --help を使用してください。