mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 16:14:42 +00:00
fix: delete event to deleting
This commit is contained in:
1 parent
1c8f92d3b7
commit
91db1953ff
3 files changed
+3
-3
No files matched your search
@@ -28,7 +28,7 @@ class StandalonePostgresql extends BaseModel
|
||||
'is_readonly' => true
|
||||
]);
|
||||
});
|
||||
static::deleted(function ($database) {
|
||||
static::deleting(function ($database) {
|
||||
// Stop Container
|
||||
instant_remote_process(
|
||||
["docker rm -f {$database->uuid}"],
|
||||
|
||||
Reference in new issue
Block a user