Fix typo causing repeated migration

This commit is contained in:
Jon Evans 2020-08-16 14:55:00 -04:00
parent 15edac4738
commit 6cb0343c6a
1 changed files with 2 additions and 4 deletions

View File

@ -198,9 +198,7 @@ bool PROJECT_LOCAL_SETTINGS::Migrate()
ret &= migrateSchema1to2();
if( ret )
{
( *this )[PointerFromString( "meta.version" )] = 1;
}
( *this )[PointerFromString( "meta.version" )] = 2;
}
return ret;