Remove useless indexes with duplicated names on backup table

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet 2022-01-13 17:20:45 +01:00 committed by backportbot[bot]
parent 8d107d9ce1
commit 089377bd0d

View 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;
}
}