changed Flight model to match update of route_leg column in db.
This commit is contained in:
committed by
Nabeel Shahzad
parent
078f361a39
commit
1c84dd1e44
@@ -17,7 +17,7 @@ use PhpUnitsOfMeasure\Exception\NonStringUnitName;
|
|||||||
* @property integer airline_id
|
* @property integer airline_id
|
||||||
* @property mixed flight_number
|
* @property mixed flight_number
|
||||||
* @property mixed route_code
|
* @property mixed route_code
|
||||||
* @property mixed route_leg
|
* @property int route_leg
|
||||||
* @property Collection field_values
|
* @property Collection field_values
|
||||||
* @property Collection fares
|
* @property Collection fares
|
||||||
* @property Collection subfleets
|
* @property Collection subfleets
|
||||||
@@ -76,6 +76,7 @@ class Flight extends Model
|
|||||||
'end_date' => 'date',
|
'end_date' => 'date',
|
||||||
'has_bid' => 'boolean',
|
'has_bid' => 'boolean',
|
||||||
'active' => 'boolean',
|
'active' => 'boolean',
|
||||||
|
'route_leg' => 'integer'
|
||||||
];
|
];
|
||||||
|
|
||||||
public static $rules = [
|
public static $rules = [
|
||||||
|
|||||||
Reference in New Issue
Block a user