fix(db): no hardcoded table prefix is expected

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
pull/39380/head
Arthur Schiwon 3 years ago
parent d5ee076017
commit e5160e0c1c
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
  1. 4
      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>');

Loading…
Cancel
Save