File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ You can analyze a database by running the following command::
36
36
37
37
codeql database analyze <database> --format=<format> --output=<output> <queries>
38
38
39
+
39
40
You must specify:
40
41
41
42
- ``<database> ``: the path to the CodeQL database you want to analyze.
@@ -79,6 +80,21 @@ You can also specify:
79
80
80
81
- .. include:: ../reusables/threads-query-execution.rst
81
82
83
+ . pull-quote::
84
+
85
+ Upgrading databases
86
+
87
+ For databases that were creaated by CodeQL CLI v2.3.3 or earlier, you will need
88
+ to explicitly upgrade the database before you can run an analysis with a newer
89
+ version of the CodeQL CLI. If this step is necessary, then you will see a message telling you
90
+ that your database needs to be upgraded when you run ``database analyze``.
91
+
92
+ CodeQL databases are upgraded by running the following command::
93
+
94
+ codeql database upgrade <database>
95
+
96
+ For full details of all the options you can use when upgrading databases,
97
+ see the "`database upgrade <../manual/database-upgrade>`__" reference documentation.
82
98
83
99
For full details of all the options you can use when analyzing databases, see
84
100
the `database analyze reference documentation <../manual/database-analyze >`__.
You can’t perform that action at this time.
0 commit comments