#SQLSTATE[23502] when trying to store data

5 messages · Page 1 of 1 (latest)

pallid girder
#

I mean, it's pretty clear?

#

You're trying to store a "Tournament" record without a "name"

#

please don't use screenshots, wrap your code in three ` marks either side
But you can see in the error message, that you're inserting:
user_id, updated_at, created_at
into your tournaments table

#

and not sending anything else

#

You haven't shared the relevant lines of code for where you're actually interacting with the Model etc