From 95c8e5c47b9a0651bd108cffe300c2b6c9abba9f Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 13 Jul 2023 23:34:39 +0200 Subject: 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(-) (limited to 'core') diff --git a/core/Command/Db/AddMissingIndices.php b/core/Command/Db/AddMissingIndices.php index 452bcbad5dc..f0b4c14e15c 100644 --- a/core/Command/Db/AddMissingIndices.php +++ b/core/Command/Db/AddMissingIndices.php @@ -476,8 +476,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...'); -- cgit v1.2.3