flake8
passed.
JSHint
passed.
Review Request #12313 — Created May 31, 2022 and submitted
When running the evolver, we've historically shown the message "The
database upgrade was successful!" This made sense back before the entire
database setup and upgrade process was controlled by Django Evolution.
Now, since it handles population of the initial database, this message
isn't enough.We now track whether this appears to be a brand-new install vs. an
upgrade (based on the presence of theVersion
andEvolution
models
in the database), and use that to determine which message to display.
Tested installing a new database and upgrading an old one. Saw the
correct message in both circumstances.
Summary | ID |
---|---|
5d64c562eaf42067247cb5c056d1b7a194e97aab |