diff --git a/data/schema/device-schema.sql b/data/schema/device-schema.sql index 3a24a7adb..09e437183 100644 --- a/data/schema/device-schema.sql +++ b/data/schema/device-schema.sql @@ -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; diff --git a/src/device/devicedatabasebackend.cpp b/src/device/devicedatabasebackend.cpp index 68441d7a0..734a290d3 100644 --- a/src/device/devicedatabasebackend.cpp +++ b/src/device/devicedatabasebackend.cpp @@ -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),