Cast distance fields

This commit is contained in:
Nabeel Shahzad 2018-01-29 16:29:02 -06:00
parent c55b55726e
commit 2b2aaefe2c

View File

@ -49,6 +49,8 @@ class Pirep extends BaseModel
protected $casts = [
'user_id' => 'integer',
'distance' => 'float',
'planned_distance' => 'float',
'flight_time' => 'integer',
'planned_flight_time' => 'integer',
'level' => 'integer',