Files
DarkflameServer/migrations/dlu/sqlite/16_log_retention.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

5 lines
304 B
SQL

/* Lets old command log rows be pruned by age. Rows written before this have time 0 and are kept. */
ALTER TABLE command_log ADD COLUMN time BIGINT NOT NULL DEFAULT 0;
CREATE INDEX IF NOT EXISTS command_log_time ON command_log (time);
CREATE INDEX IF NOT EXISTS activity_log_time ON activity_log (time);