@@ -43,6 +43,6 @@ class Patient extends BaseModel
return $text;
}
public function users(){
- return $this->hasOne(User::class,'id','user_id');
+ return $this->belongsTo(User::class,'id','user_id');