Neos\Flow\Command\DoctrineCommandController::migrationStatusCommand PHP Метод

migrationStatusCommand() публичный Метод

Displays the migration configuration as well as the number of available, executed and pending migrations.
public migrationStatusCommand ( boolean $showMigrations = false, boolean $showDescriptions = false ) : void
$showMigrations boolean Output a list of all migrations and their status
$showDescriptions boolean Show descriptions for the migrations (enables versions display)
Результат void
    public function migrationStatusCommand($showMigrations = false, $showDescriptions = false)
    {
        if (!$this->isDatabaseConfigured()) {
            $this->outputLine('Doctrine migration status not available, the driver and host backend options are not set in /Configuration/Settings.yaml.');
            $this->quit(1);
        }
        if ($showDescriptions) {
            $showMigrations = true;
        }
        $this->outputLine($this->doctrineService->getMigrationStatus($showMigrations, $showDescriptions));
    }