mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 01:18:37 +00:00
Merge remote-tracking branch 'origin/1.6.x' into feat-batch-usage-dump
This commit is contained in:
commit
b56fda0029
1 changed files with 2 additions and 2 deletions
|
|
@ -535,6 +535,8 @@ class Databases extends Action
|
|||
$databaseId = $database->getId();
|
||||
$databaseInternalId = $database->getInternalId();
|
||||
|
||||
$dbForProject->deleteCollection('database_' . $databaseInternalId . '_collection_' . $collection->getInternalId());
|
||||
|
||||
/**
|
||||
* Related collections relating to current collection
|
||||
*/
|
||||
|
|
@ -553,8 +555,6 @@ class Databases extends Action
|
|||
}
|
||||
);
|
||||
|
||||
$dbForProject->deleteCollection('database_' . $databaseInternalId . '_collection_' . $collection->getInternalId());
|
||||
|
||||
$this->deleteByGroup('attributes', [
|
||||
Query::equal('databaseInternalId', [$databaseInternalId]),
|
||||
Query::equal('collectionInternalId', [$collectionInternalId])
|
||||
|
|
|
|||
Loading…
Reference in a new issue