diff --git a/Command/DatabaseCreateCommand.php b/Command/DatabaseCreateCommand.php index 19619137..154e85f1 100644 --- a/Command/DatabaseCreateCommand.php +++ b/Command/DatabaseCreateCommand.php @@ -61,7 +61,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int $serviceContainer = Propel::getServiceContainer(); $serviceContainer->setAdapterClass($connectionName, $config['adapter']); - $serviceContainer->setConnectionManager($connectionName, $manager); + $serviceContainer->setConnectionManager($manager); $connection = Propel::getConnection($connectionName); diff --git a/Command/DatabaseDropCommand.php b/Command/DatabaseDropCommand.php index 7d2788ed..4cd006fb 100644 --- a/Command/DatabaseDropCommand.php +++ b/Command/DatabaseDropCommand.php @@ -87,7 +87,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int $serviceContainer = Propel::getServiceContainer(); $serviceContainer->setAdapterClass($connectionName, $config['adapter']); - $serviceContainer->setConnectionManager($connectionName, $manager); + $serviceContainer->setConnectionManager($manager); $connection = Propel::getConnection($connectionName);