Fix missing and premature function calls when updating the database

Review Request #12285 — Created May 16, 2022 and submitted — Latest diff uploaded

Information

Review Board
release-5.0.x

Reviewers

Running ./contrib/internal/prepare-dev.py to 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/tests and successfully ran
./contrib/internal/prepare-dev.py.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
imported missing functions
564ba2f9d2b052c321de19b5e220761d0f5d0443 Michelle
moved premature function call
d7d5ff1ac00491a9020721b2f79efe1ee2c049bd Michelle
reviewboard/cmdline/rbsite.py
Loading...