aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2023-07-14 19:30:06 +0200
committerGitHub <noreply@github.com>2023-07-14 19:30:06 +0200
commit766e8e051908cc038104163fd386a546dc6cd707 (patch)
tree137740becb53d09ca9f4006d0e7f27119edb8f1d
parent66f904dbb28e252799949f8d2a94eedeb14ed75a (diff)
parent607ed31b357844b812d4d233b327c3a01432a6cd (diff)
downloadnextcloud-server-766e8e051908cc038104163fd386a546dc6cd707.tar.gz
nextcloud-server-766e8e051908cc038104163fd386a546dc6cd707.zip
Merge pull request #39394 from nextcloud/backport/39380/stable25
[stable25] fix(db): no hardcoded table prefix is expected
-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>');