#21 PIREP scaffolding

This commit is contained in:
Nabeel Shahzad
2017-06-28 19:56:10 -05:00
parent cd5f58b0a1
commit fc1220178b
8 changed files with 95 additions and 3 deletions

View File

@@ -53,6 +53,7 @@ class Aircraft extends Model
/**
* foreign keys
*/
public function airport()
{
return $this->belongsTo('App\Models\Airport', 'airport_id');