No need to full rescan when changing some settings
This commit is contained in:
@@ -180,7 +180,9 @@ namespace lms::db
|
||||
// TODO: move this elsewhere
|
||||
{
|
||||
auto uniqueTransaction{ createWriteTransaction() };
|
||||
ScanSettings::init(*this);
|
||||
|
||||
if (!ScanSettings::get(*this))
|
||||
create<ScanSettings>();
|
||||
}
|
||||
|
||||
return migrationPerformed;
|
||||
|
||||
Reference in New Issue
Block a user