ReferenceCLIPg

nevia pg set

Change a database's name, protection or expiry

nevia pg set [FLAGS] [DATABASE]

Arguments

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

Options

  • --name <NAME> - New name for the database

  • --project <PROJECT> - Project to move it to, by id or name (none takes it out)

  • --protected <BOOL> - Refuse deletion while true

    Choices: true, false

  • -h, --help - Print help

On this page