changed Flight model to match update of route_leg column in db.

This commit is contained in:
lordwilbur
2018-05-18 10:01:17 +02:00
committed by Nabeel Shahzad
parent 078f361a39
commit 1c84dd1e44

View File

@@ -17,7 +17,7 @@ use PhpUnitsOfMeasure\Exception\NonStringUnitName;
* @property integer airline_id
* @property mixed flight_number
* @property mixed route_code
* @property mixed route_leg
* @property int route_leg
* @property Collection field_values
* @property Collection fares
* @property Collection subfleets
@@ -76,6 +76,7 @@ class Flight extends Model
'end_date' => 'date',
'has_bid' => 'boolean',
'active' => 'boolean',
'route_leg' => 'integer'
];
public static $rules = [