Improve traffic sync diagnostics and fix accounts view

This commit is contained in:
kk K
2026-04-18 20:20:21 +08:00
parent 40ce7d13af
commit e8160cb967
4 changed files with 353 additions and 31 deletions

View File

@@ -208,6 +208,8 @@ class Database
$this->ensureColumn('accounts', 'os_name', "TEXT DEFAULT ''");
$this->ensureColumn('accounts', 'stopped_mode', "TEXT DEFAULT ''");
$this->ensureColumn('accounts', 'health_status', "TEXT DEFAULT 'Unknown'");
$this->ensureColumn('accounts', 'traffic_api_status', "TEXT DEFAULT 'ok'");
$this->ensureColumn('accounts', 'traffic_api_message', "TEXT DEFAULT ''");
$this->ensureColumn('ecs_create_tasks', 'public_ip_mode', "TEXT DEFAULT 'ecs_public_ip'");
$this->ensureColumn('ecs_create_tasks', 'eip_allocation_id', "TEXT DEFAULT ''");
$this->ensureColumn('ecs_create_tasks', 'eip_address', "TEXT DEFAULT ''");