Closed ImWuX closed 6 years ago
https://stackoverflow.com/questions/15438840/mysql-error-1364-field-doesnt-have-a-default-values
Even if this error isn't related to this package - I try to solve it.
Your problem is that you've added a column avatar
to the users
table - this column isn't nullable and has no default value but you try to save a user without an avatar.
If you set the avatar on the user model but it's not saved the problem could be related to the eloquent mass assignment rules. To fix this simply add the avatar
column to the $fillable
property in the user model class.
Keep getting this. Please Help. IDK what's wrong but it's not inserting the steamId, avatar etc.