public function migrationStatusCommand(bool $showMigrations = false, bool $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->getFormattedMigrationStatus($showMigrations, $showDescriptions));
    }
public function migrationStatusCommand(bool $showMigrations = false, bool $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->getFormattedMigrationStatus($showMigrations, $showDescriptions));
    }
public function migrationStatusCommand ( bool $ showMigrations = false , bool $ 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 -> getFormattedMigrationStatus ( $ showMigrations , $ showDescriptions ) ) ; }
Show the current migration status

Displays the migration configuration as well as the number of
available, executed and pending migrations.

@param boolean $showMigrations Output a list of all migrations and their status
@param boolean $showDescriptions Show descriptions for the migrations (enables versions display)
@return void
@see neos.flow:doctrine:migrate
@see neos.flow:doctrine:migrationexecute
@see neos.flow:doctrine:migrationgenerate
@see neos.flow:doctrine:migrationversion
@throws StopActionException
Show the current migration status