src/Neutrino/Database/Migrations/Migrator.php
protected function rollbackMigrations(array $migrations, $paths, array $options)
    {
        $rolledBack = [];

        $pretend = Arr::get($options, 'pretend', false);

        $this->requireFiles($files = $this->getMigrationFiles($paths));

        // Next we will run through all of the migrations and call the "down" method
        // which will reverse each migration in order. This getLast method on the
        // repository already returns these migration's names in reverse order.
        foreach ($migrations as $migration) {
            $migration = (object)$migration;

            if (!$file = Arr::get($files, $migration->migration)) {
                continue;
            }

            $rolledBack[] = $file;

            $this->runDown($file, $migration, $pretend);
        }

        return $rolledBack;
    }
protected function rollbackMigrations(array $migrations, $paths, array $options)
    {
        $rolledBack = [];

        $pretend = Arr::get($options, 'pretend', false);

        $this->requireFiles($files = $this->getMigrationFiles($paths));

        // Next we will run through all of the migrations and call the "down" method
        // which will reverse each migration in order. This getLast method on the
        // repository already returns these migration's names in reverse order.
        foreach ($migrations as $migration) {
            $migration = (object)$migration;

            if (!$file = Arr::get($files, $migration->migration)) {
                continue;
            }

            $rolledBack[] = $file;

            $this->runDown($file, $migration, $pretend);
        }

        return $rolledBack;
    }
Rollback the given migrations.

@param array        $migrations
@param array|string $paths
@param array         $options

@return array
@throws \Exception