src/hlr: reopen DB after changing schema version (details)
Commit
83b6f4851e5e318ae0612fd19d351ffebc6f61e5
by Oliver Smith
src/hlr: reopen DB after changing schema version
Close and reopen the DB after changing the version to so it gets written to disk. Otherwise it may be that the DB does not get closed, and when sqlite restores the DB the version can be 0 again, leading to errors when trying to re-apply the schema upgrades