Fix flight hours field #683 (#684)

This commit is contained in:
Nabeel S
2020-05-05 14:36:14 -04:00
committed by GitHub
parent 9135337186
commit 5b771be653
4 changed files with 14 additions and 2 deletions

View File

@@ -38,6 +38,7 @@ class Aircraft extends Model
'name',
'registration',
'hex_code',
'flight_time',
'zfw',
'status',
'state',
@@ -49,6 +50,7 @@ class Aircraft extends Model
protected $casts = [
'subfleet_id' => 'integer',
'zfw' => 'float',
'flight_time' => 'float',
'state' => 'integer',
];