Files
DarkflameServer/migrations/dlu/sqlite/35_setting_history.sql
Aaron Kimbrell e213a7aeff feat: web dashboard and playground work
The NexusDashboard-parity dashboard (dDashboardServer) and everything built on it on the experimental branch:
accounts, characters, properties and moderation tools, permissions shared with in-game slash commands, economy
reports, World 3D and property 3D views with client scenery, scheduled events (features, vanity changes, live
events, announcements, restarts), vanity files and events, the CDClient browser, the message inspector with saved
captures, chat filter tools, community challenges, live ops, the AI moderator helper, and the server-side changes
they need.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 22:30:43 -05:00

19 lines
754 B
SQL

/* Every change of a setting's web value. See the MySQL migration. */
CREATE TABLE IF NOT EXISTS server_config_history (
id INTEGER PRIMARY KEY AUTOINCREMENT,
file TEXT NOT NULL,
name TEXT NOT NULL,
old_value TEXT NULL DEFAULT NULL,
old_web_wins INTEGER NOT NULL DEFAULT 0,
new_value TEXT NULL DEFAULT NULL,
new_web_wins INTEGER NOT NULL DEFAULT 0,
file_value TEXT NULL DEFAULT NULL,
secret INTEGER NOT NULL DEFAULT 0,
removed INTEGER NOT NULL DEFAULT 0,
revert_of BIGINT NOT NULL DEFAULT 0,
changed_at BIGINT NOT NULL,
account_id INTEGER NOT NULL DEFAULT 0,
changed_by TEXT NOT NULL DEFAULT ''
);
CREATE INDEX IF NOT EXISTS server_config_history_setting ON server_config_history (file, name, id);