Files
DarkflameServer/migrations/dlu/mysql/85_server_health_ugc.sql
Aaron Kimbrell e669a4fa7e feat(dashboard): track the UGC server like auth and chat
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>
2026-09-28 22:31:05 -05:00

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;