mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 01:18:37 +00:00
try disableValidation
This commit is contained in:
parent
59b41c4b52
commit
14347d86a8
1 changed files with 5 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue