Fix missing and premature function calls when updating the database
Review Request #12285 — Created May 16, 2022 and submitted
Running
./contrib/internal/prepare-dev.pyto prepare the development
environment failed during the database set up phase due to undefined functions
and a missing database table error during pre-upgrade tasks. This change imports
the missing functions and ensures that pre-upgrade tasks are not run too early.
Ran tests in
reviewboard/cmdline/testsand successfully ran
./contrib/internal/prepare-dev.py.
| Summary | ID | Author |
|---|---|---|
| 564ba2f9d2b052c321de19b5e220761d0f5d0443 | Michelle | |
| d7d5ff1ac00491a9020721b2f79efe1ee2c049bd | Michelle |
- Description:
-
~ Imported missing functions from
reviewboard.upgradeand ensures that~ pre-upgrade tasks are not run too early. ~ Running
./contrib/internal/prepare-dev.pyto prepare the development~ environment failed during the database set up phase due to undefined functions + and a missing database table error during pre-upgrade tasks. This change imports + the missing functions and ensures that pre-upgrade tasks are not run too early. - Testing Done:
-
~ Ran tests in
reviewboard/cmdline/tests~ Ran tests in
reviewboard/cmdline/testsand successfully ran+ ./contrib/internal/prepare-dev.py.