fix: delete event to deleting

This commit is contained in:
Andras Bacsai
2023-10-05 08:46:26 +02:00
parent 1c8f92d3b7
commit 91db1953ff
3 changed files with 3 additions and 3 deletions

View File

@@ -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}"],