Skip to main content
Updates the name and/or the allocated memory of a database. At least one of --name or --memory is required; running the command without either prints the command help instead. The database ID is optional: the CLI resolves it from the argument, then falls back to an interactive picker.
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.
Use squarecloud db update --help for more information about this command.