library: add database schema version upgrade logic
We need to be able to update the database schema automatically.
-
add code to upgrade database from one version to a more recent -
add test to check the actual database update code work. per upgrade path -
add logic so the UI can be notified upgrade is needed and request it or not -
add backup of db prior to upgrade
Edited by Hubert Figuière