diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2023-07-13 23:34:39 +0200 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2023-07-14 11:29:17 +0000 |
commit | 95c8e5c47b9a0651bd108cffe300c2b6c9abba9f (patch) | |
tree | dc3f1117417d34afc31a1c600ffef4486afa8719 /core | |
parent | 2a18283b824a4b9271d3903c5d5432786846051e (diff) | |
download | nextcloud-server-95c8e5c47b9a0651bd108cffe300c2b6c9abba9f.tar.gz nextcloud-server-95c8e5c47b9a0651bd108cffe300c2b6c9abba9f.zip |
fix(db): no hardcoded table prefix is expected
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'core')
-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>'); |