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 12:00:47 +0000 |
commit | 607ed31b357844b812d4d233b327c3a01432a6cd (patch) | |
tree | 137740becb53d09ca9f4006d0e7f27119edb8f1d | |
parent | 66f904dbb28e252799949f8d2a94eedeb14ed75a (diff) | |
download | nextcloud-server-607ed31b357844b812d4d233b327c3a01432a6cd.tar.gz nextcloud-server-607ed31b357844b812d4d233b327c3a01432a6cd.zip |
fix(db): no hardcoded table prefix is expected
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
-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>'); |