src/Migration/Migrator.php
protected function rollbackMigrations(array $migrations): void
    {
        // A blank line before top output.
        $this->notify->note('');

        foreach ($this->getMigrationFiles(M::TYPE_DOWN) as $file) {
            if (in_array($name = $this->getMigrationName($file), $migrations, true)) {
                $this->runDown($file);
                continue;
            }

            $this->notify->note("<fg=red>Migrate not found (in database table):</> {$name}");
        }
    }
protected function rollbackMigrations(array $migrations): void
    {
        // A blank line before top output.
        $this->notify->note('');

        foreach ($this->getMigrationFiles(M::TYPE_DOWN) as $file) {
            if (in_array($name = $this->getMigrationName($file), $migrations, true)) {
                $this->runDown($file);
                continue;
            }

            $this->notify->note("<fg=red>Migrate not found (in database table):</> {$name}");
        }
    }
Rollback the given migrations.

@param  array  $migrations
@return void