Database: Add *sort fields, bpm, mood, initial_key

Upgrade from schema version 20 to 21. This includes:

- six fields for sort tags
- new fields bpm, mood, initial_key

See https://github.com/strawberrymusicplayer/strawberry/pull/1779#pullrequestreview-3003042802
This commit is contained in:
Mark
2025-07-10 15:27:11 +02:00
committed by Jonas Kvinge
parent a47531d4ce
commit 2ddacf2f98
6 changed files with 203 additions and 17 deletions

View File

@@ -41,7 +41,7 @@
using namespace Qt::Literals::StringLiterals;
namespace {
constexpr int kDeviceSchemaVersion = 5;
constexpr int kDeviceSchemaVersion = 6;
}
DeviceDatabaseBackend::DeviceDatabaseBackend(QObject *parent)