Database installation script does not set correct version
Description
In the database, we keep track of the version of the database schema that has been applied.
A database update script 22 was introduced recently (related to ). When executed as an update on an existing database, the version number gets set correctly. However, the same change is applied to the initial installation script (used for fresh installs). Those scripts fail to set the version of the database to the correct version (causing an update to start immediately after a fresh install).
In the database, we keep track of the version of the database schema that has been applied.
A database update script 22 was introduced recently (related to ). When executed as an update on an existing database, the version number gets set correctly. However, the same change is applied to the initial installation script (used for fresh installs). Those scripts fail to set the version of the database to the correct version (causing an update to start immediately after a fresh install).