/** * Returns the data 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/data_change_scripts/1.1.2.sql * [1.1.3] => /var/www/site/dbv/data_change_scripts/1.1.3.sql * ) * * @return array * */ public final function getDataChangeScripts() { return CodePax_DbVersioning_Files_Manager::getDataChangeScriptsByVersion($this->latest_data_db_version); }
/** * Returns the data 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/data_change_scripts/1.1.2.sql * [1.1.3] => /var/www/site/dbv/data_change_scripts/1.1.3.sql * ) * * @return array * */ public final function getDataChangeScripts() { $filesManager = new CodePax_DbVersioning_Files_Manager($this->configuration); return $filesManager->getDataChangeScriptsByVersion($this->latest_data_db_version); }