I have the following relationship on a test system I'm doing.
:: MODEL EMPLOYEE
public function users(){
return $this->hasMany('lbo\User');
}
:: MODEL USER
public function employees(){
return $this->belongsTo('lbo\Employee');
}
In the users table I have employee_id . I need to recover employees who do not yet have created users.
What is the best way to get the consultation done?