public function getSequence()
    {
        if( preg_match( "/^nextval\\('([^']+)'::regclass\\)$/", $this->default, $matches ) ) {
            return $this->catalog->pgClasses->findOneByName($matches[1]);
        }
        return null;
    }