mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 18:23:04 +08:00
Never cascade-delete rulesets
This commit is contained in:
parent
aa81397df4
commit
c7a6343985
@ -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; }
|
||||||
|
Loading…
Reference in New Issue
Block a user