Database schema optimization - part 13 (fixes #1882 fixes #2415)

This commit is contained in:
mdecimus
2025-11-25 12:14:51 +01:00
parent c7fc16d9a2
commit 2b614aa536
62 changed files with 1661 additions and 2264 deletions

View File

@@ -829,11 +829,6 @@ impl ManageDirectory for Store {
}
// SPDX-SnippetEnd
// Unlink all principal's blobs
self.blob_hash_unlink_account(principal_id)
.await
.caused_by(trc::location!())?;
// Revoke ACLs, obtain all changed principals
let mut changed_principals = ChangedPrincipals::default();
@@ -849,11 +844,6 @@ impl ManageDirectory for Store {
);
}
// Delete principal data
self.danger_destroy_account(principal_id)
.await
.caused_by(trc::location!())?;
// Delete principal
batch
.with_document(principal_id)