removed unneeded field, fixed not setting spent amount
This commit is contained in:
@@ -27,8 +27,6 @@ const (
|
||||
FieldMaxRounds = "max_rounds"
|
||||
// FieldDemoParsed holds the string denoting the demo_parsed field in the database.
|
||||
FieldDemoParsed = "demo_parsed"
|
||||
// FieldEco holds the string denoting the eco field in the database.
|
||||
FieldEco = "eco"
|
||||
// EdgeStats holds the string denoting the stats edge name in mutations.
|
||||
EdgeStats = "stats"
|
||||
// EdgePlayers holds the string denoting the players edge name in mutations.
|
||||
@@ -62,7 +60,6 @@ var Columns = []string{
|
||||
FieldMatchResult,
|
||||
FieldMaxRounds,
|
||||
FieldDemoParsed,
|
||||
FieldEco,
|
||||
}
|
||||
|
||||
var (
|
||||
|
@@ -994,20 +994,6 @@ func DemoParsedNEQ(v bool) predicate.Match {
|
||||
})
|
||||
}
|
||||
|
||||
// EcoIsNil applies the IsNil predicate on the "eco" field.
|
||||
func EcoIsNil() predicate.Match {
|
||||
return predicate.Match(func(s *sql.Selector) {
|
||||
s.Where(sql.IsNull(s.C(FieldEco)))
|
||||
})
|
||||
}
|
||||
|
||||
// EcoNotNil applies the NotNil predicate on the "eco" field.
|
||||
func EcoNotNil() predicate.Match {
|
||||
return predicate.Match(func(s *sql.Selector) {
|
||||
s.Where(sql.NotNull(s.C(FieldEco)))
|
||||
})
|
||||
}
|
||||
|
||||
// HasStats applies the HasEdge predicate on the "stats" edge.
|
||||
func HasStats() predicate.Match {
|
||||
return predicate.Match(func(s *sql.Selector) {
|
||||
|
Reference in New Issue
Block a user