noPassword(); parent::__construct($attributes); } // Have to re-define this here because Eloquent will try to 'guess' a foreign key of s_c_i_m_user_id // from SCIMUser public function groups() { return $this->belongsToMany(\App\Models\Group::class, 'users_groups', 'user_id', 'group_id'); } }