rename flight subfleet join table

This commit is contained in:
Nabeel Shahzad
2018-03-20 16:11:24 -05:00
parent 9e43955fbb
commit 5d5565e5a8
4 changed files with 13 additions and 11 deletions

View File

@@ -8,6 +8,7 @@ use App\Models\Traits\ExpensableTrait;
/**
* Class Subfleet
* @property int id
* @property string type
* @property string ground_handling_multiplier
* @package App\Models
@@ -81,7 +82,7 @@ class Subfleet extends Model
public function flights()
{
return $this->belongsToMany(Flight::class, 'subfleet_flight');
return $this->belongsToMany(Flight::class, 'flight_subfleet');
}
public function ranks()