mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
perf: swap around root_id and mount_path_hash in index for old migration
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
4b7a94343e
commit
09364c2e93
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ class Version33000Date20251209123503 extends SimpleMigrationStep {
|
|||
if ($table->hasIndex('mounts_user_root_path_index')) {
|
||||
$table->dropIndex('mounts_user_root_path_index');
|
||||
}
|
||||
$table->addUniqueIndex(['user_id', 'root_id', 'mount_point_hash'], 'mounts_user_root_path_index');
|
||||
$table->addUniqueIndex(['user_id', 'mount_point_hash', 'root_id'], 'mounts_user_path_root_index');
|
||||
return $schema;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue