ReferenceCLIPg

nevia pg rm

Delete a database

nevia pg rm [FLAGS] [DATABASE]

  • Aliases: remove
  • Effect: destructive - may delete or irreversibly overwrite

A protected database cannot be deleted. Its live branches keep running.

Arguments

  • [DATABASE] - Database ID or name (optional when the workspace has one database)

Options

  • --wait - Wait until the work finishes or fails

  • --timeout <DURATION> - How long --wait waits before exiting 6 (e.g. 10m, 300s)

    Default: 10m

  • -y, --yes - Skip the confirmation

  • -h, --help - Print help

On this page