added vac/gameban marker for matches
This commit is contained in:
@@ -27,6 +27,10 @@ const (
|
||||
FieldMaxRounds = "max_rounds"
|
||||
// FieldDemoParsed holds the string denoting the demo_parsed field in the database.
|
||||
FieldDemoParsed = "demo_parsed"
|
||||
// FieldVacPresent holds the string denoting the vac_present field in the database.
|
||||
FieldVacPresent = "vac_present"
|
||||
// FieldGamebanPresent holds the string denoting the gameban_present field in the database.
|
||||
FieldGamebanPresent = "gameban_present"
|
||||
// EdgeStats holds the string denoting the stats edge name in mutations.
|
||||
EdgeStats = "stats"
|
||||
// EdgePlayers holds the string denoting the players edge name in mutations.
|
||||
@@ -60,6 +64,8 @@ var Columns = []string{
|
||||
FieldMatchResult,
|
||||
FieldMaxRounds,
|
||||
FieldDemoParsed,
|
||||
FieldVacPresent,
|
||||
FieldGamebanPresent,
|
||||
}
|
||||
|
||||
var (
|
||||
@@ -81,4 +87,8 @@ func ValidColumn(column string) bool {
|
||||
var (
|
||||
// DefaultDemoParsed holds the default value on creation for the "demo_parsed" field.
|
||||
DefaultDemoParsed bool
|
||||
// DefaultVacPresent holds the default value on creation for the "vac_present" field.
|
||||
DefaultVacPresent bool
|
||||
// DefaultGamebanPresent holds the default value on creation for the "gameban_present" field.
|
||||
DefaultGamebanPresent bool
|
||||
)
|
||||
|
Reference in New Issue
Block a user