The migration code was never working to begin with. Users migrating from v17 or older will be starting from an empty, new database.
Also added unit test coverage to check database initialization, saving, and loading. Unit tests also revealed that migration code was not working properly (starts database from scratch instead of copying existing entries over).