diff --git a/src/Appwrite/Platform/Workers/Deletes.php b/src/Appwrite/Platform/Workers/Deletes.php index dbe1882294..94b6490f8d 100644 --- a/src/Appwrite/Platform/Workers/Deletes.php +++ b/src/Appwrite/Platform/Workers/Deletes.php @@ -516,8 +516,13 @@ class Deletes extends Action $dsn = new DSN('mysql://' . $document->getAttribute('database', 'console')); } + /** + * @var $dbForProject Database + */ $dbForProject = $getProjectDB($document); + $dbForProject->disableValidation(); + $projectCollectionIds = [ ...\array_keys(Config::getParam('collections', [])['projects']), SQL::COLLECTION,