mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 10:53:44 +00:00
Online state with the time it came up, down/up alerts, a UGC column in the health history, /api/servers (every server with its process memory and CPU) and /api/servers/ugc, and UGC gauges for Prometheus. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 lines
303 B
SQL
4 lines
303 B
SQL
/* The UGC server in the health history: whether master was set to start it (enable_ugc_server) and whether it was up. */
|
|
ALTER TABLE server_health ADD COLUMN IF NOT EXISTS ugc_enabled TINYINT NOT NULL DEFAULT 0;
|
|
ALTER TABLE server_health ADD COLUMN IF NOT EXISTS ugc_online TINYINT NOT NULL DEFAULT 0;
|