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;
    }