I have a project where I have changed the User model primary key from \"id\" to \"MemberX\" using the following command in my User.php model file:
protected $primaryKey
Add this code to your User model
User model
{ return $this->hasMany(Passport::clientModel(), 'user_id', 'MemberID'); }