mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 16:38:32 +00:00
Dbg $projectCollectionIds
This commit is contained in:
parent
3228ccb4f9
commit
0ace58f00b
1 changed files with 6 additions and 0 deletions
|
|
@ -507,7 +507,13 @@ class Deletes extends Action
|
|||
var_dump($collection->getId());
|
||||
|
||||
if ($dsn->getHost() !== System::getEnv('_APP_DATABASE_SHARED_TABLES', '') || !\in_array($collection->getId(), $projectCollectionIds)) {
|
||||
var_dump('start ' . $collection->getId());
|
||||
|
||||
$dbForProject->deleteCollection($collection->getId());
|
||||
|
||||
var_dump('finish ' . $collection->getId());
|
||||
var_dump('');
|
||||
|
||||
} else {
|
||||
$this->deleteByGroup($collection->getId(), [], database: $dbForProject);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue