protected function runMigrationByPaths($migrationPaths, $command)
    {
        $app = $this->mockApplication();

        $this->validateMigrationPaths($migrationPaths);

        /* @todo: since version 2.0.12 you may also specify an array of migration paths. */
        foreach ($migrationPaths as $migrationPath) {
            $migrateController = $this->buildMigration($app);
            $migrateController->migrationPath = $migrationPath;

            $this->runMigration($migrateController, $command);
        }

        $this->destroyApplication();
    }
protected function runMigrationByPaths($migrationPaths, $command)
    {
        $app = $this->mockApplication();

        $this->validateMigrationPaths($migrationPaths);

        /* @todo: since version 2.0.12 you may also specify an array of migration paths. */
        foreach ($migrationPaths as $migrationPath) {
            $migrateController = $this->buildMigration($app);
            $migrateController->migrationPath = $migrationPath;

            $this->runMigration($migrateController, $command);
        }

        $this->destroyApplication();
    }
protected function runMigrationByPaths ( $ migrationPaths , $ command ) { $ app = $ this -> mockApplication ( ) ; $ this -> validateMigrationPaths ( $ migrationPaths ) ; /* @todo: since version 2.0.12 you may also specify an array of migration paths. */ foreach ( $ migrationPaths as $ migrationPath ) { $ migrateController = $ this -> buildMigration ( $ app ) ; $ migrateController -> migrationPath = $ migrationPath ; $ this -> runMigration ( $ migrateController , $ command ) ; } $ this -> destroyApplication ( ) ; }
Run migration by paths
@param array $migrationPaths
@param $command
@throws ExtensionException
Run migration by paths