src/Neutrino/Database/Migrations/Migrator.php
public function reset($paths = [], array $options = [])
    {
        $this->notes = [];

        // Next, we will reverse the migration list so we can run them back in the
        // correct order for resetting this database. This will allow us to get
        // the database back into its "empty" state ready for the migrations.
        $migrations = array_reverse($this->storage->getRan());

        if (count($migrations) === 0) {
            $this->note(Decorate::info('Nothing to rollback.'));

            return [];
        } else {
            return $this->resetMigrations($migrations, $paths, $options);
        }
    }
public function reset($paths = [], array $options = [])
    {
        $this->notes = [];

        // Next, we will reverse the migration list so we can run them back in the
        // correct order for resetting this database. This will allow us to get
        // the database back into its "empty" state ready for the migrations.
        $migrations = array_reverse($this->storage->getRan());

        if (count($migrations) === 0) {
            $this->note(Decorate::info('Nothing to rollback.'));

            return [];
        } else {
            return $this->resetMigrations($migrations, $paths, $options);
        }
    }
Rolls all of the currently applied migrations back.

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

@return array
@throws \Exception