/** * Migrate down. * * @param int $amount Number of reverted migrations. * * @return static * @since 0.1.0 */ public function revertMigrations($amount = 1) { $this->_mute(); $this->_command->actionDown(array($amount)); $this->_unmute(); return $this; }
public function actionDown($args) { $this->_scopeAddModule = true; $exitCode = parent::actionDown($args); $this->_scopeAddModule = false; return $exitCode; }
public function actionDown($args) { $this->_scopeAddModule = true; parent::actionDown($args); $this->_scopeAddModule = false; }