Fixed bad migration directive to rescan audio files, fixes #728

This commit is contained in:
emeric
2025-08-10 13:47:20 +02:00
parent 60adce4e4a
commit 60ed201e74
+1 -1
View File
@@ -1525,7 +1525,7 @@ FROM track)");
utils::executeCommand(*session.getDboSession(), "ALTER TABLE track_backup RENAME TO track"); utils::executeCommand(*session.getDboSession(), "ALTER TABLE track_backup RENAME TO track");
// Just increment the scan version of the settings to make the next scan rescan all audio files // Just increment the scan version of the settings to make the next scan rescan all audio files
utils::executeCommand(*session.getDboSession(), "UPDATE scan_settings SET artist_info_scan_version = artist_info_scan_version + 1"); utils::executeCommand(*session.getDboSession(), "UPDATE scan_settings SET audio_scan_version = audio_scan_version + 1");
} }
bool doDbMigration(Session& session) bool doDbMigration(Session& session)