public function run(Migration $migration, $executeQueries = false, $forcedRollback = false)
    {
        $this->migration = $migration;

        try {
            $this->playQueries($executeQueries);
            if ($forcedRollback) {
                $this->playRollbackQueries($executeQueries);
            }
        } catch (Exception $e) {
            $this->playRollbackQueries($executeQueries);

            throw $e;
        }
    }
public function run(Migration $migration, $executeQueries = false, $forcedRollback = false)
    {
        $this->migration = $migration;

        try {
            $this->playQueries($executeQueries);
            if ($forcedRollback) {
                $this->playRollbackQueries($executeQueries);
            }
        } catch (Exception $e) {
            $this->playRollbackQueries($executeQueries);

            throw $e;
        }
    }
public function run ( Migration $ migration , $ executeQueries = false , $ forcedRollback = false ) { $ this -> migration = $ migration ; try { $ this -> playQueries ( $ executeQueries ) ; if ( $ forcedRollback ) { $ this -> playRollbackQueries ( $ executeQueries ) ; } } catch ( Exception $ e ) { $ this -> playRollbackQueries ( $ executeQueries ) ; throw $ e ; } }
Run a migration

@param Migration $migration
@param bool $executeQueries
@param bool $forcedRollback

@throws \Exception
@throws Migration\Exception
@return void
Run a migration