updated deps; regen ent
This commit is contained in:
@@ -170,27 +170,15 @@ func (mc *MessagesCreate) createSpec() (*Messages, *sqlgraph.CreateSpec) {
|
||||
}
|
||||
)
|
||||
if value, ok := mc.mutation.Message(); ok {
|
||||
_spec.Fields = append(_spec.Fields, &sqlgraph.FieldSpec{
|
||||
Type: field.TypeString,
|
||||
Value: value,
|
||||
Column: messages.FieldMessage,
|
||||
})
|
||||
_spec.SetField(messages.FieldMessage, field.TypeString, value)
|
||||
_node.Message = value
|
||||
}
|
||||
if value, ok := mc.mutation.AllChat(); ok {
|
||||
_spec.Fields = append(_spec.Fields, &sqlgraph.FieldSpec{
|
||||
Type: field.TypeBool,
|
||||
Value: value,
|
||||
Column: messages.FieldAllChat,
|
||||
})
|
||||
_spec.SetField(messages.FieldAllChat, field.TypeBool, value)
|
||||
_node.AllChat = value
|
||||
}
|
||||
if value, ok := mc.mutation.Tick(); ok {
|
||||
_spec.Fields = append(_spec.Fields, &sqlgraph.FieldSpec{
|
||||
Type: field.TypeInt,
|
||||
Value: value,
|
||||
Column: messages.FieldTick,
|
||||
})
|
||||
_spec.SetField(messages.FieldTick, field.TypeInt, value)
|
||||
_node.Tick = value
|
||||
}
|
||||
if nodes := mc.mutation.MatchPlayerIDs(); len(nodes) > 0 {
|
||||
|
Reference in New Issue
Block a user