public function filterByHistory($history = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($history)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $history)) {
                $history = str_replace('*', '%', $history);
                $comparison = Criteria::LIKE;
            }
        }

        return $this->addUsingAlias(SkillTableMap::COL_HISTORY, $history, $comparison);
    }