added spray patterns

This commit is contained in:
2021-10-31 08:40:02 +01:00
parent 268793f0e5
commit 978232dd0a
66 changed files with 16805 additions and 11903 deletions

View File

@@ -33,7 +33,7 @@ func (Match) Fields() []ent.Field {
// Edges of the Match.
func (Match) Edges() []ent.Edge {
return []ent.Edge{
edge.To("stats", Stats.Type),
edge.To("stats", MatchPlayer.Type),
edge.From("players", Player.Type).Ref("matches"),
}
}