gel project upgrade​
Upgrade Gel instance used for the current project
gel project upgrade [options]
Description​
This command has two modes of operation.
-
Upgrade instance to a version specified in gel.toml. This happens when the command is invoked without any explicit target version.
-
Update
gel.toml
(or deprecatededgedb.toml
) to a new version and upgrade the instance. Which happens when one of the options for providing the target version is used.
In all cases your data is preserved and converted using dump/restore mechanism. This might fail if lower version is specified (for example if upgrading from nightly to the stable version).
The gel project upgrade
command is not intended for use with
self-hosted instances.
Options​
- --force
-
Force upgrade process even if there is no new version.
- --to-latest
-
Upgrade to a latest stable version.
- --to-nightly
-
Upgrade to a latest nightly version.
- --to-version=version
-
Upgrade to a specified major version.
- --project-dir=project-dir
-
The project directory can be specified explicitly. Defaults to the current directory.
- -v, --verbose
-
Verbose output.