updated deps; regen ent
This commit is contained in:
@@ -179,35 +179,19 @@ func (rsc *RoundStatsCreate) createSpec() (*RoundStats, *sqlgraph.CreateSpec) {
|
||||
}
|
||||
)
|
||||
if value, ok := rsc.mutation.Round(); ok {
|
||||
_spec.Fields = append(_spec.Fields, &sqlgraph.FieldSpec{
|
||||
Type: field.TypeUint,
|
||||
Value: value,
|
||||
Column: roundstats.FieldRound,
|
||||
})
|
||||
_spec.SetField(roundstats.FieldRound, field.TypeUint, value)
|
||||
_node.Round = value
|
||||
}
|
||||
if value, ok := rsc.mutation.Bank(); ok {
|
||||
_spec.Fields = append(_spec.Fields, &sqlgraph.FieldSpec{
|
||||
Type: field.TypeUint,
|
||||
Value: value,
|
||||
Column: roundstats.FieldBank,
|
||||
})
|
||||
_spec.SetField(roundstats.FieldBank, field.TypeUint, value)
|
||||
_node.Bank = value
|
||||
}
|
||||
if value, ok := rsc.mutation.Equipment(); ok {
|
||||
_spec.Fields = append(_spec.Fields, &sqlgraph.FieldSpec{
|
||||
Type: field.TypeUint,
|
||||
Value: value,
|
||||
Column: roundstats.FieldEquipment,
|
||||
})
|
||||
_spec.SetField(roundstats.FieldEquipment, field.TypeUint, value)
|
||||
_node.Equipment = value
|
||||
}
|
||||
if value, ok := rsc.mutation.Spent(); ok {
|
||||
_spec.Fields = append(_spec.Fields, &sqlgraph.FieldSpec{
|
||||
Type: field.TypeUint,
|
||||
Value: value,
|
||||
Column: roundstats.FieldSpent,
|
||||
})
|
||||
_spec.SetField(roundstats.FieldSpent, field.TypeUint, value)
|
||||
_node.Spent = value
|
||||
}
|
||||
if nodes := rsc.mutation.MatchPlayerIDs(); len(nodes) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user