src/Itkg/Core/Command/DatabaseUpdate/Setup.php
private function createMigrations()
    {
        $scripts   = $this->locator->findScripts();
        $rollbacks = $this->locator->findRollbackScripts();

        $this->releaseChecker->checkScripts($scripts, $rollbacks);

        foreach ($scripts as $k => $script) {
            $this->createMigration($script, $rollbacks[$k]);
        }
    }
private function createMigrations()
    {
        $scripts   = $this->locator->findScripts();
        $rollbacks = $this->locator->findRollbackScripts();

        $this->releaseChecker->checkScripts($scripts, $rollbacks);

        foreach ($scripts as $k => $script) {
            $this->createMigration($script, $rollbacks[$k]);
        }
    }
private function createMigrations ( ) { $ scripts = $ this -> locator -> findScripts ( ) ; $ rollbacks = $ this -> locator -> findRollbackScripts ( ) ; $ this -> releaseChecker -> checkScripts ( $ scripts , $ rollbacks ) ; foreach ( $ scripts as $ k => $ script ) { $ this -> createMigration ( $ script , $ rollbacks [ $ k ] ) ; } }
Create migrations from scripts & rollback files

@return void

@throws \RuntimeException
@throws \LogicException
Create migrations from scripts & rollback files