1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-08 22:32:17 +01:00

Bump device schema version

This commit is contained in:
Jonas Kvinge 2021-09-26 18:35:03 +02:00
parent acba68dab9
commit b3826064b7
2 changed files with 2 additions and 2 deletions

View File

@ -80,4 +80,4 @@ CREATE VIRTUAL TABLE device_%deviceid_fts USING fts5(
tokenize = "unicode61 remove_diacritics 1"
);
UPDATE devices SET schema_version=2 WHERE ROWID=%deviceid;
UPDATE devices SET schema_version=3 WHERE ROWID=%deviceid;

View File

@ -39,7 +39,7 @@
#include "core/scopedtransaction.h"
#include "devicedatabasebackend.h"
const int DeviceDatabaseBackend::kDeviceSchemaVersion = 2;
const int DeviceDatabaseBackend::kDeviceSchemaVersion = 3;
DeviceDatabaseBackend::DeviceDatabaseBackend(QObject *parent)
: QObject(parent),