mirror of
https://github.com/appwrite/appwrite
synced 2026-05-16 13:38:27 +00:00
Deletes schedules
This commit is contained in:
parent
a42a669d6e
commit
71ffe2bf52
1 changed files with 5 additions and 0 deletions
|
|
@ -557,6 +557,11 @@ class Deletes extends Action
|
|||
Query::equal('projectInternalId', [$projectInternalId]),
|
||||
], $dbForConsole);
|
||||
|
||||
// Delete Schedules
|
||||
$this->deleteByGroup('schedules', [
|
||||
Query::equal('projectInternalId', [$projectInternalId]),
|
||||
], $dbForConsole);
|
||||
|
||||
// Delete metadata table
|
||||
if ($dsn->getHost() !== System::getEnv('_APP_DATABASE_SHARED_TABLES', '')) {
|
||||
$dbForProject->deleteCollection('_metadata');
|
||||
|
|
|
|||
Loading…
Reference in a new issue