mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Fix join rows not being deleted when a beatmap is cleaned up
This commit is contained in:
@ -107,6 +107,9 @@ namespace osu.Game.Beatmaps
|
||||
}
|
||||
|
||||
if (b.Metadata != null) Connection.Delete(b.Metadata);
|
||||
|
||||
// many-to-many join table entries are not automatically tidied.
|
||||
Connection.Table<BeatmapSetFileInfo>().Delete(f => f.BeatmapSetInfoID == b.ID);
|
||||
Connection.Delete(b);
|
||||
}
|
||||
catch (Exception e)
|
||||
|
Reference in New Issue
Block a user