Files
DarkflameServer/migrations/dlu/sqlite/25_chat_log.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

20 lines
811 B
SQL

/* Chat, for moderation and chat bridges. See the MySQL migration. */
CREATE TABLE IF NOT EXISTS chat_log (
id INTEGER PRIMARY KEY AUTOINCREMENT,
time BIGINT NOT NULL,
channel TEXT NOT NULL,
sender_id BIGINT NOT NULL DEFAULT 0,
sender_name TEXT NOT NULL DEFAULT '',
account_id INTEGER NOT NULL DEFAULT 0,
recipient_id BIGINT NOT NULL DEFAULT 0,
recipient_name TEXT NOT NULL DEFAULT '',
zone_id INTEGER NOT NULL DEFAULT 0,
instance_id INTEGER NOT NULL DEFAULT 0,
clone_id INTEGER NOT NULL DEFAULT 0,
message TEXT NOT NULL,
blocked INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX IF NOT EXISTS chat_log_time ON chat_log (time);
CREATE INDEX IF NOT EXISTS chat_log_sender ON chat_log (sender_id);
CREATE INDEX IF NOT EXISTS chat_log_account ON chat_log (account_id);