UI: ConfManager: Minor fix

This commit is contained in:
Nodir Temirkhodjaev 2022-01-10 07:48:47 +03:00
parent 5f197a7d59
commit e0f6840731

View File

@ -204,9 +204,11 @@ bool migrateFunc(SqliteDb *db, int version, bool isNewDb, void *ctx)
if (isNewDb) if (isNewDb)
return true; return true;
// COMPAT: Zones switch (version) {
if (version == 6) { case 6: {
// COMPAT: Zones
db->execute("UPDATE task SET name = 'ZoneDownloader' WHERE name = 'Tasix';"); db->execute("UPDATE task SET name = 'ZoneDownloader' WHERE name = 'Tasix';");
} break;
} }
return true; return true;