Add user setup to installer

This commit is contained in:
Nabeel Shahzad
2017-12-29 16:56:46 -06:00
parent 50da3a9e54
commit 7cd4bf5ffb
24 changed files with 28377 additions and 41 deletions

View File

@@ -10,17 +10,12 @@ class Airline extends BaseModel
{
public $table = 'airlines';
protected $dates = ['deleted_at'];
public $fillable = [
'icao',
'iata',
'name',
'logo',
'country',
'fuel_100ll_cost',
'fuel_jeta_cost',
'fuel_mogas_cost',
'active',
];
@@ -30,10 +25,7 @@ class Airline extends BaseModel
* @var array
*/
protected $casts = [
'fuel_100ll_cost' => 'double',
'fuel_jeta_cost' => 'double',
'fuel_mogas_cost' => 'double',
'active' => 'integer',
'active' => 'boolean',
];
/**