Fix foreign key constraint failure

This commit is contained in:
TocoToucan
2017-10-09 00:30:52 +03:00
parent 5d27c66efa
commit 81b9e08fb6
7 changed files with 17 additions and 21 deletions

View File

@ -19,19 +19,20 @@ namespace osu.Game.Beatmaps
//TODO: should be in database
public int BeatmapVersion;
[NotMapped]
public int? BeatmapOnlineInfoId { get; set; }
[NotMapped]
public int? BeatmapSetOnlineInfoId { get; set; }
public int BeatmapSetInfoId { get; set; }
public BeatmapSetInfo BeatmapSet { get; set; }
public int BeatmapMetadataId { get; set; }
public int? BeatmapMetadataId { get; set; }
public BeatmapMetadata Metadata { get; set; }
//[Required]
public int BeatmapDifficultyId { get; set; }
public BeatmapDifficulty Difficulty { get; set; }