예제 #1
0
 public function setup()
 {
     $this->_runner->getUtilHelper()->softUnlink($this->getIntegrationPath() . '/.kmig.phpmig.data');
     if (parent::setup() && KmsCi_Kmig_IntegrationHelper::getInstance($this)->setup()) {
         return true;
     } else {
         return false;
     }
 }
예제 #2
0
 public function setup()
 {
     if (parent::setup()) {
         if (!$this->_runner->isArg('migrations-self-test')) {
             // delete the migrations cache file - so it will start everything from scratch each time
             $this->_runner->getUtilHelper()->softUnlink($this->getIntegrationPath() . '/.kmig.phpmig.data');
         }
         return KmsCi_Kmig_IntegrationHelper::getInstance($this)->setup();
     } else {
         return false;
     }
 }