summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-01-13 17:20:45 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2022-01-14 08:43:46 +0000
commit7ebbee52b7a3350d831c14464f2983b0d37d40f1 (patch)
tree6008bdb942b2fb569d751c4348e0dde597ceb07a
parentc49bb41ef9301fdff25633abcfabd31e13cdf017 (diff)
downloadnextcloud-server-7ebbee52b7a3350d831c14464f2983b0d37d40f1.tar.gz
nextcloud-server-7ebbee52b7a3350d831c14464f2983b0d37d40f1.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 05c41760d6d..8c92bf5c7bd 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;
}
}