Merge branch 'master' into disallow-beatmap-change

This commit is contained in:
Dean Herbert
2018-06-04 10:53:04 +09:00
committed by GitHub
65 changed files with 1289 additions and 498 deletions

View File

@ -201,7 +201,7 @@ namespace osu.Game
{
try
{
using (var db = contextFactory.GetForWrite())
using (var db = contextFactory.GetForWrite(false))
db.Context.Migrate();
}
catch (MigrationFailedException e)
@ -213,7 +213,7 @@ namespace osu.Game
contextFactory.ResetDatabase();
Logger.Log("Database purged successfully.", LoggingTarget.Database, LogLevel.Important);
using (var db = contextFactory.GetForWrite())
using (var db = contextFactory.GetForWrite(false))
db.Context.Migrate();
}
}