fixes #8613 - support migrating databases in the installer