Diffusion Elisa 7333e7860e84

Improve management of database at start of application

Authored by mgallien on Mar 30 2019, 10:11 PM.

Description

Improve management of database at start of application

Summary:
add smooth upgrade for users with database matching v0.3.0 of Elisa

improve logging about database upgrades at start of Elisa

checks database schema and resets it in case of errors

BUG: 404458

improve logs about database creation

Test Plan:
no reindexing is necessary if user upgrades from v0.3.0

in case database schema is incorrect, it gets reset and indexing works fine

Reviewers: ngraham

Differential Revision: https://phabricator.kde.org/D20134

Details