Skip to content

Commit 77d940e

Browse files
authored
Merge pull request #1313 from dmorbitzer/bugfix/table-name
Use getTable from ModuleDataSetupInterface to get table name with prefix
2 parents 9d0cb77 + a1ade63 commit 77d940e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Setup/Patch/Schema/AutocompleteConfigPatch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function apply()
3737
];
3838
$this->moduleDataSetup->getConnection()->startSetup();
3939
$connection = $this->moduleDataSetup->getConnection();
40-
$table = $connection->getTableName('core_config_data');
40+
$table = $this->moduleDataSetup->getTable('core_config_data');
4141
foreach ($movedConfigDirectives as $from => $to) {
4242
try {
4343
$connection->query('UPDATE ' . $table . ' SET path = "' . $to . '" WHERE path = "' . $from . '"');

0 commit comments

Comments
 (0)