]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove useless indexes with duplicated names on backup table 30667/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:43:46 +0000 (08:43 +0000)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
apps/user_ldap/lib/Migration/Version1130Date20211102154716.php

index 05c41760d6de2429d98032ec3367648ea2236ab6..8c92bf5c7bd64213e07cc2f89fec4a71c3a0bd0c 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;
                        }
                }