Delete collection document from internal collections table

This commit is contained in:
kodumbeats
2021-09-15 14:02:18 -04:00
parent b4ad95747a
commit bfdf6de15f
+2
View File
@@ -112,6 +112,8 @@ class DeletesV1 extends Worker
$this->deleteByGroup('indexes', [
new Query('collectionId', Query::TYPE_EQUAL, [$collectionId])
], $dbForInternal);
$dbForInternal->deleteDocument('collections', $collectionId);
}
/**