mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-17 20:49:32 +00:00
delete application + init confirm modal
This commit is contained in:
@@ -14,6 +14,10 @@ class Application extends BaseModel
|
||||
'application_id' => $application->id,
|
||||
]);
|
||||
});
|
||||
static::deleting(function ($application) {
|
||||
$application->settings()->delete();
|
||||
$application->persistentStorages()->delete();
|
||||
});
|
||||
}
|
||||
|
||||
protected $fillable = [
|
||||
|
||||
Reference in New Issue
Block a user