protected function need_update($name, $version){
        return !isset($this->option[$name]) || !$this->option[$name] || version_compare($this->option[$name], $version, '<');
    }
protected function need_update($name, $version){
        return !isset($this->option[$name]) || !$this->option[$name] || version_compare($this->option[$name], $version, '<');
    }
protected function need_update ( $ name , $ version ) { return ! isset ( $ this -> option [ $ name ] ) || ! $ this -> option [ $ name ] || version_compare ( $ this -> option [ $ name ] , $ version , '<' ) ; }
Detect if source version is greater than existing db

@param string $name
@param string $version
@return bool
Detect if source version is greater than existing db