osu/osu.Game/Database
Bartłomiej Dach 4278a320e4
Fix skin setting resetting every launch
The reason this was happening was an unfortunate oversight in the
migration logic. The code that was attempting to parse the skin settings
as `int` was firing regardless of whether a skin migration from EF to
realm had already occurred. If it had occurred, the skin setting would
contain a GUID rather than an integer, and therefore fail to parse, and
therefore implicitly fallback to a EF skin ID of 0 which would be the
default skin.

Fix by not running the setting migrating logic at all when there are no
EF skins to migrate.
2021-12-06 20:12:02 +01:00
..
ArchiveModelManager.cs Remove the ability to specify a filename in `ReplaceFile` 2021-11-29 18:11:51 +09:00
BeatmapLookupCache.cs Add early abort to avoid sending empty lookup requests 2021-12-01 17:47:16 +09:00
DatabaseBackedStore.cs Remove unnecessary `virtual` specification on `Refresh` 2021-11-25 14:06:12 +09:00
DatabaseContextFactory.cs
DatabaseWriteUsage.cs
EFToRealmMigrator.cs Fix skin setting resetting every launch 2021-12-06 20:12:02 +01:00
EntityFrameworkLive.cs Merge pull request #15812 from peppy/realm-live-unmanaged-fetch-fix 2021-11-26 15:37:58 +09:00
EntityFrameworkLiveExtensions.cs
ICanAcceptFiles.cs
IDatabaseContextFactory.cs
IHasFiles.cs
IHasGuidPrimaryKey.cs
IHasNamedFiles.cs Update all models to implement `IHasNamedFiles` 2021-11-25 16:41:12 +09:00
IHasOnlineID.cs
IHasPrimaryKey.cs
IHasRealmFiles.cs
ILive.cs Update missed xmldoc/comments 2021-11-30 11:56:53 +09:00
IModelDownloader.cs
IModelFileManager.cs Overwrite existing files if `AddFile` is called with an existing filename 2021-12-02 17:18:06 +09:00
IModelImporter.cs
IModelManager.cs Split out legacy model export logic into `LegacyModelExporter` classes 2021-11-25 16:41:12 +09:00
INamedFile.cs
INamedFileInfo.cs
INamedFileUsage.cs
IPostImports.cs Add equality support to `ILive` types 2021-11-26 14:56:16 +09:00
IPostNotifications.cs
IRealmFactory.cs
ISoftDelete.cs
ImportProgressNotification.cs
ImportTask.cs
LegacyBeatmapExporter.cs Remove unnecessary manager parameter 2021-11-25 18:36:03 +09:00
LegacyBeatmapImporter.cs Add missing licence headers 2021-11-25 16:56:19 +09:00
LegacyExporter.cs Remove unnecessary manager parameter 2021-11-25 18:36:03 +09:00
LegacyImportManager.cs Fix typo in class and variable names 2021-11-25 17:12:15 +09:00
LegacyModelImporter.cs Rename base class to `LegacyModelImporter` 2021-11-25 16:33:04 +09:00
LegacyScoreExporter.cs Remove unnecessary manager parameter 2021-11-25 18:36:03 +09:00
LegacyScoreImporter.cs Add missing licence headers 2021-11-25 16:56:19 +09:00
LegacySkinExporter.cs Remove unnecessary manager parameter 2021-11-25 18:36:03 +09:00
LegacySkinImporter.cs Add missing licence headers 2021-11-25 16:56:19 +09:00
MemoryCachingComponent.cs
ModelDownloader.cs Remove unnecessary `GameHost` parameter 2021-11-25 17:42:41 +09:00
MutableDatabaseBackedStore.cs
MutableDatabaseBackedStoreWithFileIncludes.cs
OsuDbContext.cs Add linking property on `SkinFileInfo` to allow EF to understand the link post-rename 2021-11-30 15:17:16 +09:00
RealmContextFactory.cs Merge branch 'realm-nested-context-creation-deadlock-fix' into realm-integration/skins-rebase 2021-11-30 15:56:34 +09:00
RealmExtensions.cs
RealmLive.cs Merge branch 'master' into realm-integration/skins-rebase 2021-11-30 19:59:59 +09:00
RealmObjectExtensions.cs Replace 'skin' in comments with 'instance' 2021-12-01 20:17:38 +09:00
UserLookupCache.cs Add early abort to avoid sending empty lookup requests 2021-12-01 17:47:16 +09:00