1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 18:42:56 +08:00
osu-lazer/osu.Game/Database
Dean Herbert 246a4a4bfe Add support for starting with a fresh realm database if the existing one is not usable
The most common scenario is switching between schema versions when
testing. This should alleviate the manual overhead of that for the
majority of cases.

For users, this will show a notification on startup if their database
was purged, similar to what we had with EF.
2022-01-18 16:05:13 +09:00
..
BeatmapLookupCache.cs Extract abstract implementation of online lookup cache 2021-12-21 11:12:51 +01:00
DatabaseContextFactory.cs Fix transaction scope and add even more logging 2022-01-18 14:47:00 +09:00
DatabaseWriteUsage.cs Remove easy to remove finalizers 2021-03-02 16:07:09 +09:00
EFToRealmMigrator.cs Fix transaction scope and add even more logging 2022-01-18 14:47:00 +09:00
EntityFrameworkLive.cs Merge pull request #15812 from peppy/realm-live-unmanaged-fetch-fix 2021-11-26 15:37:58 +09:00
EntityFrameworkLiveExtensions.cs Initial push to use ILive in import process 2021-09-30 22:55:25 +09:00
ICanAcceptFiles.cs Fix missing XMLDoc bit. 2020-12-19 10:36:27 +01:00
IDatabaseContextFactory.cs Update licence header (and remove year) 2019-01-24 17:43:03 +09:00
IHasFiles.cs Initialise all file lists at construction time (and remove setter) 2021-11-24 13:56:21 +09:00
IHasGuidPrimaryKey.cs Remove setter from IHasGuidPrimaryKey interface 2021-10-04 16:26:28 +09:00
IHasNamedFiles.cs Update all models to implement IHasNamedFiles 2021-11-25 16:41:12 +09:00
IHasOnlineID.cs Use extension method to compare online IDs 2021-11-15 14:34:50 +09:00
IHasPrimaryKey.cs Add IsManaged helper method to EF classes to match realm implementation 2021-11-19 21:56:06 +09:00
IHasRealmFiles.cs Add a few nullabilities and DCC excludes 2021-10-13 12:51:46 +09:00
ILive.cs Update missed xmldoc/comments 2021-11-30 11:56:53 +09:00
IModelDownloader.cs Fix incorrectly specified events 2021-11-06 22:31:49 +09:00
IModelFileManager.cs Overwrite existing files if AddFile is called with an existing filename 2021-12-02 17:18:06 +09:00
IModelImporter.cs Fix failed imports being incorrectly considered as successfully importing for notification purposes 2021-11-12 16:10:46 +09:00
IModelManager.cs Move manager Update methods to be explicit to where they are still used by legacy code 2022-01-12 17:49:11 +09:00
ImportProgressNotification.cs Add test coverage of startup import sequence 2021-10-13 12:19:10 +09:00
ImportTask.cs Update model manager and many related classes to get things compiling again 2022-01-12 17:00:00 +09:00
INamedFile.cs Add a few nullabilities and DCC excludes 2021-10-13 12:51:46 +09:00
INamedFileInfo.cs Update licence header (and remove year) 2019-01-24 17:43:03 +09:00
INamedFileUsage.cs Update all EF based models to implement new read only interfaces 2021-10-01 16:55:50 +09:00
IPostImports.cs Add equality support to ILive types 2021-11-26 14:56:16 +09:00
IPostNotifications.cs Split out IPostNotifications into an interface 2021-09-30 18:21:34 +09:00
IRealmFactory.cs Improve clarity of xmldoc 2021-10-01 22:23:51 +09:00
ISoftDelete.cs Update licence header (and remove year) 2019-01-24 17:43:03 +09:00
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 Fix scores not using correct filename/display strings 2022-01-13 16:56:11 +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 Update many score-related classes to move closer to being able to persist to realm 2022-01-12 16:57:27 +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 Apply ConfigureAwait changes to game side 2021-03-08 14:36:35 +09:00
ModelDownloader.cs Various updates to ruleset and primary key usages to move closer to realm support 2022-01-12 16:57:13 +09:00
OnlineLookupCache.cs Update usages to new naming 2022-01-06 22:54:43 +09:00
OsuDbContext.cs Fix many shortcomings and compatibility issues with EF classes post-rename 2022-01-12 17:00:16 +09:00
RealmContextFactory.cs Add support for starting with a fresh realm database if the existing one is not usable 2022-01-18 16:05:13 +09:00
RealmExtensions.cs Refine RealmContext implementation API 2021-09-30 23:56:38 +09:00
RealmLive.cs Add back PerformRead return safety by checking IsManaged status of returned data 2022-01-13 13:14:44 +09:00
RealmLiveUnmanaged.cs Fix "Random Skin" text not showing up correctly 2021-12-18 16:26:15 +09:00
RealmObjectExtensions.cs Fix stray bracket 2022-01-13 13:03:57 +09:00
UserLookupCache.cs Extract abstract implementation of online lookup cache 2021-12-21 11:12:51 +01:00