Skip to content

Commit 057172c

Browse files
committed
Docs: add a note on db migration scripts debugging
1 parent 28bedda commit 057172c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/prepare-db-upgrade.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,3 +142,7 @@ cp ql/lib/<mylang>.dbscheme ql/lib/upgrades/454f1e15151422355049dc4f1f0486a03bae
142142
```
143143

144144
4. Put a copy of the `.dbscheme` from `main` in that directory and create an `upgrade.properties` file that performs the downgrade (as described above).
145+
146+
### Debugging your scripts
147+
148+
Database upgrade/downgrade may fail for several reasons. To find out the exact issue it is recommended to rerun the `codeql test run` commands from above in a verbose mode, e.g. `codeql test run -vvvv ...`.

0 commit comments

Comments
 (0)