concrete/src/Updater/Migrations/Configuration.php
public function forceMaxInitialMigration()
    {
        $forcedInitialMigration = null;
        foreach (array_reverse($this->getMigrations()) as $migration) {
            /* @var \Doctrine\DBAL\Migrations\Version $migration */
            if ($migration->isMigrated() && !$migration->getMigration() instanceof RepeatableMigrationInterface) {
                break;
            }
            $forcedInitialMigration = $migration;
        }
        $this->forcedInitialMigration = $forcedInitialMigration;
    }
public function forceMaxInitialMigration()
    {
        $forcedInitialMigration = null;
        foreach (array_reverse($this->getMigrations()) as $migration) {
            /* @var \Doctrine\DBAL\Migrations\Version $migration */
            if ($migration->isMigrated() && !$migration->getMigration() instanceof RepeatableMigrationInterface) {
                break;
            }
            $forcedInitialMigration = $migration;
        }
        $this->forcedInitialMigration = $forcedInitialMigration;
    }
public function forceMaxInitialMigration ( ) { $ forcedInitialMigration = null ; foreach ( array_reverse ( $ this -> getMigrations ( ) ) as $ migration ) { /* @var \Doctrine\DBAL\Migrations\Version $migration */ if ( $ migration -> isMigrated ( ) && ! $ migration -> getMigration ( ) instanceof RepeatableMigrationInterface ) { break ; } $ forcedInitialMigration = $ migration ; } $ this -> forcedInitialMigration = $ forcedInitialMigration ; }
Force the initial migration to be the least recent repeatable one.
Force the initial migration to be the least recent repeatable one .