mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
perf: missing indices for swapping around root_id and mount_path_hash
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
09364c2e93
commit
6ac00044c8
1 changed files with 8 additions and 0 deletions
|
|
@ -223,5 +223,13 @@ class AddMissingIndicesListener implements IEventListener {
|
|||
['user', 'mountpoint'],
|
||||
['lengths' => [null, 128]]
|
||||
);
|
||||
|
||||
$event->replaceIndex(
|
||||
'mounts',
|
||||
['mounts_user_root_path_index'],
|
||||
'mounts_user_path_root_index',
|
||||
['user_id', 'mount_point_hash', 'root_id'],
|
||||
true,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue