From a47531d4ce020b271f848fb821cb8a57e6f07488 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Wed, 9 Jul 2025 22:45:52 +0200 Subject: [PATCH] Database: Remove FTS hack --- src/core/database.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/core/database.cpp b/src/core/database.cpp index 89629afe5..379249ff7 100644 --- a/src/core/database.cpp +++ b/src/core/database.cpp @@ -414,11 +414,6 @@ void Database::ExecSongTablesCommands(QSqlDatabase &db, const QStringList &song_ // We allow a magic value in the schema files to update all songs tables at once. if (command.contains(QLatin1String(kMagicAllSongsTables))) { for (const QString &table : song_tables) { - // Another horrible hack: device songs tables don't have matching _fts tables, so if this command tries to touch one, ignore it. - if (table.startsWith("device_"_L1) && command.contains(QLatin1String(kMagicAllSongsTables) + "_fts"_L1)) { - continue; - } - qLog(Info) << "Updating" << table << "for" << kMagicAllSongsTables; QString new_command(command); new_command.replace(QLatin1String(kMagicAllSongsTables), table);