diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2023-07-14 19:29:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-14 19:29:21 +0200 |
commit | 1ab5cd1db9d77887fd6f766d1bcc5f4a89c06823 (patch) | |
tree | dc3f1117417d34afc31a1c600ffef4486afa8719 | |
parent | 2a18283b824a4b9271d3903c5d5432786846051e (diff) | |
parent | 95c8e5c47b9a0651bd108cffe300c2b6c9abba9f (diff) | |
download | nextcloud-server-1ab5cd1db9d77887fd6f766d1bcc5f4a89c06823.tar.gz nextcloud-server-1ab5cd1db9d77887fd6f766d1bcc5f4a89c06823.zip |
Merge pull request #39392 from nextcloud/backport/39380/stable27
[stable27] fix(db): no hardcoded table prefix is expected
-rw-r--r-- | core/Command/Db/AddMissingIndices.php | 4 |
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>'); |