Add flights to the importer, added a few missing columns with output

This commit is contained in:
Nabeel Shahzad
2018-01-03 21:40:05 -06:00
parent da1b3b16ee
commit 507ce5f24f
5 changed files with 76 additions and 34 deletions

View File

@@ -24,6 +24,8 @@ class Flight extends BaseModel
'route',
'dpt_time',
'arr_time',
'level',
'distance',
'notes',
'has_bid',
'active',
@@ -31,12 +33,8 @@ class Flight extends BaseModel
protected $casts = [
'flight_number' => 'integer',
'route_code' => 'string',
'route_leg' => 'string',
'route' => 'string',
'dpt_time' => 'string',
'arr_time' => 'string',
'notes' => 'string',
'level' => 'integer',
'distance' => 'float',
'has_bid' => 'boolean',
'active' => 'boolean',
];