feat: update user and flight models and add comment and admin models
This commit is contained in:
@@ -104,4 +104,8 @@ class User extends Authenticate
|
||||
{
|
||||
return $this->hasMany(Passenger::class);
|
||||
}
|
||||
public function comments()
|
||||
{
|
||||
return $this->hasMany(Comment::class, 'user_id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user