aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2023-07-13 23:34:39 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2023-07-13 23:34:39 +0200
commite5160e0c1c96f74de59f71e4ea6380c6a60e63f7 (patch)
tree04b3433b744cb4e354d23a1d083d46360de70e65 /core/Command
parentd5ee076017e4a0812b21bbaf6ea03b6392362945 (diff)
downloadnextcloud-server-e5160e0c1c96f74de59f71e4ea6380c6a60e63f7.tar.gz
nextcloud-server-e5160e0c1c96f74de59f71e4ea6380c6a60e63f7.zip
fix(db): no hardcoded table prefix is expected
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'core/Command')
-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 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('<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>');