src/Migrator.php
public function runMigrations()
    {
        $migrations = $this->getMigrationsToRun();
        $ran = [];

        if (empty($migrations)) {
            return $ran;
        }

        foreach ($migrations as $migration) {
            $this->runMigration($migration);
            $ran[] = $migration;
        }

        return $ran;
    }
public function runMigrations()
    {
        $migrations = $this->getMigrationsToRun();
        $ran = [];

        if (empty($migrations)) {
            return $ran;
        }

        foreach ($migrations as $migration) {
            $this->runMigration($migration);
            $ran[] = $migration;
        }

        return $ran;
    }
public function runMigrations ( ) { $ migrations = $ this -> getMigrationsToRun ( ) ; $ ran = [ ] ; if ( empty ( $ migrations ) ) { return $ ran ; } foreach ( $ migrations as $ migration ) { $ this -> runMigration ( $ migration ) ; $ ran [ ] = $ migration ; } return $ ran ; }
Run all migrations that were not run before.
Run all migrations that were not run before .