From e5160e0c1c96f74de59f71e4ea6380c6a60e63f7 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 13 Jul 2023 23:34:39 +0200 Subject: [PATCH] fix(db): no hardcoded table prefix is expected Signed-off-by: Arthur Schiwon --- core/Command/Db/AddMissingIndices.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/Command/Db/AddMissingIndices.php b/core/Command/Db/AddMissingIndices.php index 62109867913..10e59d298bb 100644 --- a/core/Command/Db/AddMissingIndices.php +++ b/core/Command/Db/AddMissingIndices.php @@ -473,8 +473,8 @@ class AddMissingIndices extends Command { } $output->writeln('Check indices of the oc_systemtag_object_mapping table.'); - if ($schema->hasTable('oc_systemtag_object_mapping')) { - $table = $schema->getTable('oc_systemtag_object_mapping'); + if ($schema->hasTable('systemtag_object_mapping')) { + $table = $schema->getTable('systemtag_object_mapping'); if (!$table->hasIndex('systag_by_tagid')) { $output->writeln('Adding systag_by_tagid index to the oc_systemtag_object_mapping table, this can take some time...'); -- 2.39.5