function ExecuteSql()
    {
        $versionCompare = version_compare($this->installedVersion, $this->manifest->Version());
       
        if ($versionCompare > 0)
        {
            $bundle = $this->manifest->BundleName();
            throw new \Exception("Error instaling bundle $bundle: Previously installed version is greater than curren code version. Please re-install the bundle.");
        }
        else if ($versionCompare === 0)
        {
            return;
        }
        $engineFolder = $this->FindEngineFolder();
        if (!$engineFolder)
        {
            return;
        }
        $this->ExecuteScripts($engineFolder);       
    }
function ExecuteSql()
    {
        $versionCompare = version_compare($this->installedVersion, $this->manifest->Version());
       
        if ($versionCompare > 0)
        {
            $bundle = $this->manifest->BundleName();
            throw new \Exception("Error instaling bundle $bundle: Previously installed version is greater than curren code version. Please re-install the bundle.");
        }
        else if ($versionCompare === 0)
        {
            return;
        }
        $engineFolder = $this->FindEngineFolder();
        if (!$engineFolder)
        {
            return;
        }
        $this->ExecuteScripts($engineFolder);       
    }
function ExecuteSql ( ) { $ versionCompare = version_compare ( $ this -> installedVersion , $ this -> manifest -> Version ( ) ) ; if ( $ versionCompare > 0 ) { $ bundle = $ this -> manifest -> BundleName ( ) ; throw new \ Exception ( "Error instaling bundle $bundle: Previously installed version is greater than curren code version. Please re-install the bundle." ) ; } else if ( $ versionCompare === 0 ) { return ; } $ engineFolder = $ this -> FindEngineFolder ( ) ; if ( ! $ engineFolder ) { return ; } $ this -> ExecuteScripts ( $ engineFolder ) ; }
Executes all necessary sql scripts
Executes all necessary sql scripts