1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 21:52:55 +08:00

Never cascade-delete rulesets

This commit is contained in:
Dean Herbert 2017-07-27 12:51:21 +09:00
parent aa81397df4
commit c7a6343985

View File

@ -61,7 +61,7 @@ namespace osu.Game.Beatmaps
[ForeignKey(typeof(RulesetInfo))] [ForeignKey(typeof(RulesetInfo))]
public int RulesetID { get; set; } public int RulesetID { get; set; }
[OneToOne(CascadeOperations = CascadeOperation.All)] [OneToOne(CascadeOperations = CascadeOperation.CascadeRead)]
public RulesetInfo Ruleset { get; set; } public RulesetInfo Ruleset { get; set; }
public bool LetterboxInBreaks { get; set; } public bool LetterboxInBreaks { get; set; }