Add comment and index on column

This commit is contained in:
Dean Herbert 2017-08-22 12:42:35 +09:00
parent 881eecb528
commit 31bb1ebe0e
1 changed files with 4 additions and 0 deletions

View File

@ -52,6 +52,10 @@ public class BeatmapInfo : IEquatable<BeatmapInfo>, IJsonSerializable
[JsonProperty("file_sha2")]
public string Hash { get; set; }
/// <summary>
/// MD5 is kept for legacy support (matching against replays, osu-web-10 etc.).
/// </summary>
[Indexed]
[JsonProperty("file_md5")]
public string MD5Hash { get; set; }