diff --git a/app/Models/Vehicles.php b/app/Models/Vehicles.php index e250b5f..b46187a 100644 --- a/app/Models/Vehicles.php +++ b/app/Models/Vehicles.php @@ -8,6 +8,10 @@ class Vehicles extends Model { protected $table = 'vehicles'; + protected $casts = [ + 'owner' => 'integer' + ]; + protected $fillable = [ 'year', 'make',