mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 02:14:36 +00:00
fix: delete environment variables on app/db delete
This commit is contained in:
1 parent
69c0b7240a
commit
145af41c82
2 files changed
+3
No files matched your search
@@ -20,6 +20,8 @@ class Application extends BaseModel
|
||||
static::deleting(function ($application) {
|
||||
$application->settings()->delete();
|
||||
$application->persistentStorages()->delete();
|
||||
$application->environment_variables()->delete();
|
||||
$application->environment_variables_preview()->delete();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user