Cleaning up database fields, fix types and columns

This commit is contained in:
Nabeel Shahzad
2017-12-12 13:26:08 -06:00
parent e05976a982
commit d634778ed2
13 changed files with 78 additions and 83 deletions

View File

@@ -28,15 +28,9 @@ class Subfleet extends Model
protected $casts = [
'airline_id' => 'integer',
'fuel_type' => 'integer',
];
/**
* Validation rules
*
* @var array
*/
public static $rules = [
'cargo_capacity' => 'double',
'fuel_capacity' => 'double',
'gross_weight' => 'double',
];
public function airline()