Cast distance fields
This commit is contained in:
parent
c55b55726e
commit
2b2aaefe2c
@ -49,6 +49,8 @@ class Pirep extends BaseModel
|
|||||||
|
|
||||||
protected $casts = [
|
protected $casts = [
|
||||||
'user_id' => 'integer',
|
'user_id' => 'integer',
|
||||||
|
'distance' => 'float',
|
||||||
|
'planned_distance' => 'float',
|
||||||
'flight_time' => 'integer',
|
'flight_time' => 'integer',
|
||||||
'planned_flight_time' => 'integer',
|
'planned_flight_time' => 'integer',
|
||||||
'level' => 'integer',
|
'level' => 'integer',
|
||||||
|
Loading…
Reference in New Issue
Block a user