fix database migration from version 9 to version 11
Summary:
fix problems with database schema migration
CCBUG: 404458
Test Plan:
when migrating database from version 9 to version 11, tracks are kept
with their statistics in database
Subscribers: ngraham
Differential Revision: https://phabricator.kde.org/D19363