protected function getUnassignedAbilitiesQuery()
    {
        $model = Models::ability();

        return $model->whereNotIn($model->getKeyName(), function ($query) {
            $query->from(Models::table('permissions'))->select('ability_id');
        });
    }