laravel field 'id' doesn't have a default value code example
Example: field doesn't have default value laravel
//put that field in
protected $fillable = ['field_name']
//put that field in
protected $fillable = ['field_name']