mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +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]),
|
Query::equal('projectInternalId', [$projectInternalId]),
|
||||||
], $dbForConsole);
|
], $dbForConsole);
|
||||||
|
|
||||||
|
// Delete Schedules
|
||||||
|
$this->deleteByGroup('schedules', [
|
||||||
|
Query::equal('projectInternalId', [$projectInternalId]),
|
||||||
|
], $dbForConsole);
|
||||||
|
|
||||||
// Delete metadata table
|
// Delete metadata table
|
||||||
if ($dsn->getHost() !== System::getEnv('_APP_DATABASE_SHARED_TABLES', '')) {
|
if ($dsn->getHost() !== System::getEnv('_APP_DATABASE_SHARED_TABLES', '')) {
|
||||||
$dbForProject->deleteCollection('_metadata');
|
$dbForProject->deleteCollection('_metadata');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue