summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/Command/Db/AddMissingIndices.php4
1 files changed, 2 insertions, 2 deletions
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('<info>Check indices of the oc_systemtag_object_mapping table.</info>');
- 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('<info>Adding systag_by_tagid index to the oc_systemtag_object_mapping table, this can take some time...</info>');