mirror of
https://github.com/ppy/osu
synced 2025-02-08 22:27:14 +00:00
Add unique constraints on RulesetInfo table to ensure things stay sane.
This commit is contained in:
parent
4393c2cb25
commit
2734983564
@ -12,8 +12,10 @@ namespace osu.Game.Database
|
||||
[PrimaryKey, AutoIncrement]
|
||||
public int? ID { get; set; }
|
||||
|
||||
[Indexed(Unique = true)]
|
||||
public string Name { get; set; }
|
||||
|
||||
[Indexed(Unique = true)]
|
||||
public string InstantiationInfo { get; set; }
|
||||
|
||||
[Indexed]
|
||||
|
Loading…
Reference in New Issue
Block a user