added spray patterns
This commit is contained in:
@@ -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"),
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user