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
parent 61c261b1e7
commit 843b20c4e8
No known key found for this signature in database
GPG key ID: A3E2F658B28C760A

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