Skip to content

Commit 41410ac

Browse files
committed
Add db-prefix from env conf
1 parent 9c14af7 commit 41410ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup/src/Magento/Setup/Model/Installer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,6 +1010,7 @@ private function installOrderIncrementPrefix($orderIncrementPrefix)
10101010
public function installAdminUser($data)
10111011
{
10121012
$this->assertDbConfigExists();
1013+
$data += ['db-prefix' => $this->deploymentConfig->get(ConfigOptionsListConstants::CONFIG_PATH_DB_PREFIX)];
10131014
$setup = $this->setupFactory->create($this->context->getResources());
10141015
$adminAccount = $this->adminAccountFactory->create($setup->getConnection(), (array)$data);
10151016
$adminAccount->save();

0 commit comments

Comments
 (0)