ReferenceCLIPg

nevia pg new

Create a PostgreSQL database in the selected workspace

nevia pg new [FLAGS] [NAME]

  • Aliases: create

Run nevia pg connect to read the connection.

Arguments

  • [NAME] - Name of the new database (generated if omitted)

Options

  • --protected - Refuse deletion until cleared with nevia pg set --protected false

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

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

    Default: 10m

  • -h, --help - Print help

On this page