src/Mongrate/Service/MigrationService.php
public function getMigrationsNotApplied()
    {
        $migrationsNotApplied = [];
        $migrations = $this->getAllMigrations();

        foreach ($migrations as $migration) {
            if (!$migration->isApplied()) {
                $migrationsNotApplied[] = $migration;
            }
        }

        return $migrationsNotApplied;
    }
public function getMigrationsNotApplied()
    {
        $migrationsNotApplied = [];
        $migrations = $this->getAllMigrations();

        foreach ($migrations as $migration) {
            if (!$migration->isApplied()) {
                $migrationsNotApplied[] = $migration;
            }
        }

        return $migrationsNotApplied;
    }
public function getMigrationsNotApplied ( ) { $ migrationsNotApplied = [ ] ; $ migrations = $ this -> getAllMigrations ( ) ; foreach ( $ migrations as $ migration ) { if ( ! $ migration -> isApplied ( ) ) { $ migrationsNotApplied [ ] = $ migration ; } } return $ migrationsNotApplied ; }
Return array with all migrations that were note applied.

@return Migration[]
Return array with all migrations that were note applied .