1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 23:10:50 +08:00

fixup! Add basic skin database model layout and importing

This commit is contained in:
Dean Herbert
2018-02-21 17:27:32 +09:00
Unverified
parent 0879953cc5
commit 01355285bd
+6
View File
@@ -1,6 +1,8 @@
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Linq;
using Microsoft.EntityFrameworkCore;
using osu.Framework.Platform;
using osu.Game.Database;
@@ -12,5 +14,9 @@ namespace osu.Game.Skinning
: base(contextFactory, storage)
{
}
protected override IQueryable<SkinInfo> AddIncludesForConsumption(IQueryable<SkinInfo> query) =>
base.AddIncludesForConsumption(query)
.Include(s => s.Files).ThenInclude(f => f.FileInfo);
}
}