mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 04:14:59 +00:00
fix: cleanup scheduled tasks
This commit is contained in:
1 parent
8f21ea9367
commit
1f18542960
5 files changed
+21
-3
No files matched your search
@@ -48,6 +48,9 @@ class Application extends BaseModel
|
||||
$application->persistentStorages()->delete();
|
||||
$application->environment_variables()->delete();
|
||||
$application->environment_variables_preview()->delete();
|
||||
foreach ($application->scheduled_tasks as $task) {
|
||||
$task->delete();
|
||||
}
|
||||
$application->tags()->detach();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user