From 6ff006ce67edad817ca2276f5a4b30be304bf470 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Mon, 29 Aug 2022 13:56:07 -0700 Subject: [PATCH] Add sentence about not needing to upgrade on CLI >= v2.3.4 --- .../codeql-cli/analyzing-databases-with-the-codeql-cli.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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