src/Neutrino/Database/Cli/Tasks/RefreshTask.php
public function mainAction()
    {
        if (!$this->confirmToProceed()) {
            return;
        }

        $step = $this->getOption('step') ?: 0;

        if ($step > 0) {
            $this->runRollback();
        } else {
            $this->runReset();
        }

        $this->runMigrate();
    }
public function mainAction()
    {
        if (!$this->confirmToProceed()) {
            return;
        }

        $step = $this->getOption('step') ?: 0;

        if ($step > 0) {
            $this->runRollback();
        } else {
            $this->runReset();
        }

        $this->runMigrate();
    }
@description Reset and re-run all migrations.

@option      -f, --force : Force the operation to run when in production.
@option      --path : The path of migrations files to be executed.
@option      --step : The number of migrations to be reverted & re-run.
@option      --pretend : Dump the SQL queries that would be run.