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