update
This commit is contained in:
@ -45,4 +45,8 @@ class User extends Authenticatable
|
||||
'email_verified_at' => 'datetime',
|
||||
'password' => 'hashed',
|
||||
];
|
||||
|
||||
public function comments(){
|
||||
return $this->hasMany(Comments::class,'users_id','id');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user