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:
Robin Appelman 2026-04-22 18:02:37 +02:00
parent 09364c2e93
commit 6ac00044c8
No known key found for this signature in database
GPG key ID: 42B69D8A64526EFB

View file

@ -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,
);
}
}