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

@@ -175,6 +175,6 @@ class Flight extends Model
public function subfleets()
{
return $this->belongsToMany(Subfleet::class, 'subfleet_flight');
return $this->belongsToMany(Subfleet::class, 'flight_subfleet');
}
}