Adapt DBInitializer to behavior change of QPSQL driver in Qt 5.13
Summary:
Since Qt 5.13 the QPSQL driver escapes table names, which makes them
case-sensitive, therefore QSqlDatabase::record() must be called with
a lower-case table name, otherwise it won't match.
BUG: 409234
FIXED-IN: 5.11.3
Test Plan:
Akonadi doesn't attempt to re-initialize all tables on each start when
using Qt 5.13
Reviewers: vkrause
Reviewed By: vkrause
Subscribers: kde-pim
Tags: KDE PIM
Differential Revision: https://phabricator.kde.org/D22133