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