diff --git a/redaxo/src/core/lib/console/application.php b/redaxo/src/core/lib/console/application.php index efd058a468..812c0c7d5d 100644 --- a/redaxo/src/core/lib/console/application.php +++ b/redaxo/src/core/lib/console/application.php @@ -59,12 +59,15 @@ private function loadPackages(rex_console_command $command) } if ('ydeploy:migrate' === $command->getName()) { + // boot only the ydeploy package, which provides the migrate command $command->getPackage()->boot(); return; } if (!rex::isSetup()) { + // boot all known packages in the defined order + // which reflects dependencies before consumers foreach (rex::getConfig('package-order') as $packageId) { rex_package::get($packageId)->boot(); }