/** * Returns the structure related change scripts list from * the filesystem * * This method may be called outside the * overall versioning process to simply * return a list of change scripts starting * with the @see $latest_db_version * * The returned array looks like this: * Array ( * [1.1.2] => /var/www/site/dbv/change_scripts/1.1.2.sql * [1.1.3] => /var/www/site/dbv/change_scripts/1.1.3.sql * ) * * @return array * */ public final function getChangeScripts() { return CodePax_DbVersioning_Files_Manager::getChangeScriptsByVersion($this->latest_db_version); }
/** * Returns the structure related change scripts list from * the filesystem * * This method may be called outside the * overall versioning process to simply * return a list of change scripts starting * with the @see $latest_db_version * * The returned array looks like this: * Array ( * [1.1.2] => /var/www/site/dbv/change_scripts/1.1.2.sql * [1.1.3] => /var/www/site/dbv/change_scripts/1.1.3.sql * ) * * @return array * */ public final function getChangeScripts() { $filesManager = new CodePax_DbVersioning_Files_Manager($this->configuration); return $filesManager->getChangeScriptsByVersion($this->latest_db_version); }