#517

The updateOrCreate method uses mass assignment and therefore you should make sure that the property ‘discounted’ is included in the protected fillable field in your Flight model

In Flight.php:

protected fillable = [‘discounted’];