summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-01-13 17:20:45 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-01-13 17:21:26 +0100
commit843b20c4e8da3af0708f25f1863a6f42cebf7ab2 (patch)
tree86f114228c4bcd5ff6fc44a079850cf34d615dcb
parent61c261b1e7576fe7c64c62d2cd728541de57a491 (diff)
downloadnextcloud-server-843b20c4e8da3af0708f25f1863a6f42cebf7ab2.tar.gz
nextcloud-server-843b20c4e8da3af0708f25f1863a6f42cebf7ab2.zip
Remove useless indexes with duplicated names on backup table
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-rw-r--r--apps/user_ldap/lib/Migration/Version1130Date20211102154716.php2
1 files changed, 0 insertions, 2 deletions
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;
}
}