diff options
author | Robin Appelman <robin@icewind.nl> | 2023-04-13 17:19:26 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2023-04-28 15:08:08 +0200 |
commit | db43d903877a8b90b78cafb404b1e7101bfb2c15 (patch) | |
tree | ca3d18310a9418cee5368550ad2e42085206fa9d /core/Migrations | |
parent | f5e2b0b22f51cdb67c06c368e921052d25aacc2e (diff) | |
download | nextcloud-server-db43d903877a8b90b78cafb404b1e7101bfb2c15.tar.gz nextcloud-server-db43d903877a8b90b78cafb404b1e7101bfb2c15.zip |
add new index in repair step instead of on-migrate
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'core/Migrations')
-rw-r--r-- | core/Migrations/Version27000Date20220613163520.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Migrations/Version27000Date20220613163520.php b/core/Migrations/Version27000Date20220613163520.php index 5f327e69c96..4217f3b3270 100644 --- a/core/Migrations/Version27000Date20220613163520.php +++ b/core/Migrations/Version27000Date20220613163520.php @@ -43,7 +43,7 @@ class Version27000Date20220613163520 extends SimpleMigrationStep { $table = $schema->getTable('mounts'); if ($table->hasIndex('mounts_user_root_index')) { $table->dropIndex('mounts_user_root_index'); - $table->addIndex(['user_id', 'root_id', 'mount_point'], 'mounts_user_root_path_index', [], ['lengths' => [null, null, 128]]); + // new index gets added with "add missing indexes" } return $schema; |