feat: update user and flight models and add comment and admin models
This commit is contained in:
@@ -146,9 +146,9 @@ class Flight extends Model
|
||||
{
|
||||
return $this->hasMany(Booking::class);
|
||||
}
|
||||
|
||||
public function tours()
|
||||
public function comments()
|
||||
{
|
||||
return $this->hasMany(Tour::class, 'file_id');
|
||||
return $this->hasMany(Comment::class, 'flight_id');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user