]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove useless indexes with duplicated names on backup table 30666/head
authorCôme Chilliet <come.chilliet@nextcloud.com>
Thu, 13 Jan 2022 16:20:45 +0000 (17:20 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Fri, 14 Jan 2022 08:40:56 +0000 (08:40 +0000)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
apps/user_ldap/lib/Migration/Version1130Date20211102154716.php

index b359f9fd3571bdf613ba71ec53fbf76c00ce23b9..8695f90ca65bafbb8237bf26e1c4a0ce19a22d76 100644 (file)
@@ -114,8 +114,6 @@ class Version1130Date20211102154716 extends SimpleMigrationStep {
                                        'length' => 64,
                                ]);
                                $table2->setPrimaryKey(['owncloud_name'], 'lgm_backup_primary');
-                               $table2->addUniqueIndex(['ldap_dn_hash'], 'ldap_group_dn_hashes');
-                               $table2->addUniqueIndex(['directory_uuid'], 'ldap_group_directory_uuid');
                                $changeSchema = true;
                        }
                }