Exemplo n.º 1
0
 /**
  * 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;
 }
Exemplo n.º 2
0
 public function actionDown($args)
 {
     $this->_scopeAddModule = true;
     $exitCode = parent::actionDown($args);
     $this->_scopeAddModule = false;
     return $exitCode;
 }
Exemplo n.º 3
0
 public function actionDown($args)
 {
     $this->_scopeAddModule = true;
     parent::actionDown($args);
     $this->_scopeAddModule = false;
 }