mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Merge pull request #39394 from nextcloud/backport/39380/stable25
[stable25] fix(db): no hardcoded table prefix is expected
This commit is contained in:
commit
766e8e0519
1 changed files with 2 additions and 2 deletions
|
|
@ -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>');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue