[BUGFIX] Check for required migrations in silentCacheFrameworkTableSchemaMigration
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Classes / Controller / Action / Tool / UpgradeWizard.php
index fc8fd6c..fc6b254 100644 (file)
@@ -410,7 +410,9 @@ class UpgradeWizard extends Action\AbstractAction
             $cachingFrameworkDatabaseSchemaService->getCachingFrameworkRequiredDatabaseSchema()
         );
 
-        $schemaMigrationService = GeneralUtility::makeInstance(SchemaMigrator::class);
-        $schemaMigrationService->install($createTableStatements);
+        if (!empty($createTableStatements)) {
+            $schemaMigrationService = GeneralUtility::makeInstance(SchemaMigrator::class);
+            $schemaMigrationService->install($createTableStatements);
+        }
     }
 }