diff --git a/docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst b/docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst index 7a47b98032d..d81b1a03051 100644 --- a/docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst +++ b/docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst @@ -84,11 +84,14 @@ You can also specify: Upgrading databases - For databases that were creaated by CodeQL CLI v2.3.3 or earlier, you will need + For databases that were created by CodeQL CLI v2.3.3 or earlier, you will need to explicitly upgrade the database before you can run an analysis with a newer version of the CodeQL CLI. If this step is necessary, then you will see a message telling you that your database needs to be upgraded when you run ``database analyze``. + For databases that were created by CodeQL CLI v2.3.4 or later, the CLI will implicitly run any + required upgrades. Explicitly running the upgrade command is not necessary. + CodeQL databases are upgraded by running the following command:: codeql database upgrade