mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 04:46:18 +00:00
fix: new way to update container statuses
This commit is contained in:
1 parent
2eab9296cf
commit
ca7c214775
23 files changed
+602
-35
No files matched your search
@@ -38,6 +38,11 @@ class StandaloneClickhouse extends BaseModel
|
||||
$database->environment_variables()->delete();
|
||||
$database->tags()->detach();
|
||||
});
|
||||
static::saving(function ($database) {
|
||||
if ($database->isDirty('status')) {
|
||||
$database->forceFill(['last_online_at' => now()]);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
protected function serverStatus(): Attribute
|
||||
|
||||
Reference in new issue
Block a user