From: Côme Chilliet Date: Thu, 13 Jan 2022 16:20:45 +0000 (+0100) Subject: Remove useless indexes with duplicated names on backup table X-Git-Tag: v22.2.4rc2~13^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=089377bd0dfcdf17891d44f15b8e29e3597af63f;p=nextcloud-server.git Remove useless indexes with duplicated names on backup table Signed-off-by: Côme Chilliet --- diff --git a/apps/user_ldap/lib/Migration/Version1130Date20211102154716.php b/apps/user_ldap/lib/Migration/Version1130Date20211102154716.php index b359f9fd357..8695f90ca65 100644 --- a/apps/user_ldap/lib/Migration/Version1130Date20211102154716.php +++ b/apps/user_ldap/lib/Migration/Version1130Date20211102154716.php @@ -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; } }