mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Allow recovery from a very broken database
This commit is contained in:
@ -160,7 +160,14 @@ namespace osu.Game.Database
|
||||
public void Migrate()
|
||||
{
|
||||
migrateFromSqliteNet();
|
||||
Database.Migrate();
|
||||
try
|
||||
{
|
||||
Database.Migrate();
|
||||
}
|
||||
catch
|
||||
{
|
||||
throw new MigrationFailedException();
|
||||
}
|
||||
}
|
||||
|
||||
private void migrateFromSqliteNet()
|
||||
|
Reference in New Issue
Block a user