Commit e6be63aa authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

MediaLibrary: For a full rescan as part of 6 to 7 migration

parent aec7f3d4
......@@ -789,6 +789,9 @@ InitializeResult MediaLibrary::updateDatabaseModel( unsigned int previousVersion
{
if ( migrateModel6to7() == false )
throw std::logic_error( "Failed to migrate from 6 to 7" );
// Force a rescan to solve metadata analysis problems.
// The insertion is fixed, but won't edit already inserted data.
forceRescan();
previousVersion = 7;
}
// To be continued in the future!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment