src/Core/Migration/MigrationHandler.php
protected function _goUp(AbstractQuery $oQuery, outputInterface $oOutput = null)
    {
        if ($this->isExecuted($oQuery)) {
            return false;
        }

        if ($oOutput) {
            $oOutput->writeLn(
                sprintf(
                    '[DEBUG] Migrating up %s %s',
                    $oQuery->getTimestamp(),
                    $oQuery->getClassName()
                )
            );
        }

        $oQuery->up();
        $this->setExecuted($oQuery);

        return true;
    }
protected function _goUp(AbstractQuery $oQuery, outputInterface $oOutput = null)
    {
        if ($this->isExecuted($oQuery)) {
            return false;
        }

        if ($oOutput) {
            $oOutput->writeLn(
                sprintf(
                    '[DEBUG] Migrating up %s %s',
                    $oQuery->getTimestamp(),
                    $oQuery->getClassName()
                )
            );
        }

        $oQuery->up();
        $this->setExecuted($oQuery);

        return true;
    }
protected function _goUp ( AbstractQuery $ oQuery , outputInterface $ oOutput = null ) { if ( $ this -> isExecuted ( $ oQuery ) ) { return false ; } if ( $ oOutput ) { $ oOutput -> writeLn ( sprintf ( '[DEBUG] Migrating up %s %s' , $ oQuery -> getTimestamp ( ) , $ oQuery -> getClassName ( ) ) ) ; } $ oQuery -> up ( ) ; $ this -> setExecuted ( $ oQuery ) ; return true ; }
Executes an UP Migration

@param AbstractQuery    $oQuery  The query object that is being executed
@param OutputInterface  $oOutput The output handler for the console output that might be generated

@return bool
Executes an UP Migration