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

@@ -37,6 +37,12 @@ const (
FieldProfileCreated = "profile_created"
// FieldOldestSharecodeSeen holds the string denoting the oldest_sharecode_seen field in the database.
FieldOldestSharecodeSeen = "oldest_sharecode_seen"
// FieldWins holds the string denoting the wins field in the database.
FieldWins = "wins"
// FieldLooses holds the string denoting the looses field in the database.
FieldLooses = "looses"
// FieldTies holds the string denoting the ties field in the database.
FieldTies = "ties"
// EdgeStats holds the string denoting the stats edge name in mutations.
EdgeStats = "stats"
// EdgeMatches holds the string denoting the matches edge name in mutations.
@@ -44,10 +50,10 @@ const (
// Table holds the table name of the player in the database.
Table = "players"
// StatsTable is the table that holds the stats relation/edge.
StatsTable = "stats"
// StatsInverseTable is the table name for the Stats entity.
// It exists in this package in order to avoid circular dependency with the "stats" package.
StatsInverseTable = "stats"
StatsTable = "match_players"
// StatsInverseTable is the table name for the MatchPlayer entity.
// It exists in this package in order to avoid circular dependency with the "matchplayer" package.
StatsInverseTable = "match_players"
// StatsColumn is the table column denoting the stats relation/edge.
StatsColumn = "player_stats"
// MatchesTable is the table that holds the matches relation/edge. The primary key declared below.
@@ -73,6 +79,9 @@ var Columns = []string{
FieldAuthCode,
FieldProfileCreated,
FieldOldestSharecodeSeen,
FieldWins,
FieldLooses,
FieldTies,
}
var (