mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 07:12:33 +00:00
Refactor restart tracking and add missing model casts
- Consolidate duplicate restart tracking logic in GetContainersStatus - Add last_restart_type string cast to all 8 standalone database models 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6d47d24169
commit
d04d0ab499
9 files changed
+17
-18
No files matched your search
@@ -21,6 +21,7 @@ class StandaloneMysql extends BaseModel
|
||||
'mysql_root_password' => 'encrypted',
|
||||
'restart_count' => 'integer',
|
||||
'last_restart_at' => 'datetime',
|
||||
'last_restart_type' => 'string',
|
||||
];
|
||||
|
||||
protected static function booted()
|
||||
|
||||
Reference in new issue
Block a user