removed unneeded field, fixed not setting spent amount
This commit is contained in:
@@ -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