added spray patterns
This commit is contained in:
@@ -15,17 +15,17 @@ const (
|
||||
FieldEquipment = "equipment"
|
||||
// FieldSpent holds the string denoting the spent field in the database.
|
||||
FieldSpent = "spent"
|
||||
// EdgeStat holds the string denoting the stat edge name in mutations.
|
||||
EdgeStat = "stat"
|
||||
// EdgeMatchPlayer holds the string denoting the match_player edge name in mutations.
|
||||
EdgeMatchPlayer = "match_player"
|
||||
// Table holds the table name of the roundstats in the database.
|
||||
Table = "round_stats"
|
||||
// StatTable is the table that holds the stat relation/edge.
|
||||
StatTable = "round_stats"
|
||||
// StatInverseTable is the table name for the Stats entity.
|
||||
// It exists in this package in order to avoid circular dependency with the "stats" package.
|
||||
StatInverseTable = "stats"
|
||||
// StatColumn is the table column denoting the stat relation/edge.
|
||||
StatColumn = "stats_round_stats"
|
||||
// MatchPlayerTable is the table that holds the match_player relation/edge.
|
||||
MatchPlayerTable = "round_stats"
|
||||
// MatchPlayerInverseTable is the table name for the MatchPlayer entity.
|
||||
// It exists in this package in order to avoid circular dependency with the "matchplayer" package.
|
||||
MatchPlayerInverseTable = "match_players"
|
||||
// MatchPlayerColumn is the table column denoting the match_player relation/edge.
|
||||
MatchPlayerColumn = "match_player_round_stats"
|
||||
)
|
||||
|
||||
// Columns holds all SQL columns for roundstats fields.
|
||||
@@ -40,7 +40,7 @@ var Columns = []string{
|
||||
// ForeignKeys holds the SQL foreign-keys that are owned by the "round_stats"
|
||||
// table and are not defined as standalone fields in the schema.
|
||||
var ForeignKeys = []string{
|
||||
"stats_round_stats",
|
||||
"match_player_round_stats",
|
||||
}
|
||||
|
||||
// ValidColumn reports if the column name is valid (part of the table columns).
|
||||
|
Reference in New Issue
Block a user