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))]
public int RulesetID { get; set; }
[OneToOne(CascadeOperations = CascadeOperation.All)]
[OneToOne(CascadeOperations = CascadeOperation.CascadeRead)]
public RulesetInfo Ruleset { get; set; }
public bool LetterboxInBreaks { get; set; }