mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-05 20:33:44 +00:00
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>
13 lines
511 B
SQL
13 lines
511 B
SQL
/* Moderation history per account, and temporary bans with a reason. */
|
|
ALTER TABLE accounts ADD COLUMN ban_expires BIGINT NOT NULL DEFAULT 0;
|
|
ALTER TABLE accounts ADD COLUMN ban_reason TEXT NULL;
|
|
CREATE TABLE IF NOT EXISTS account_notes (
|
|
id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
|
account_id INT NOT NULL,
|
|
kind VARCHAR(16) NOT NULL,
|
|
text TEXT NOT NULL,
|
|
actor VARCHAR(64) NOT NULL DEFAULT '',
|
|
created_at BIGINT NOT NULL,
|
|
INDEX account_notes_account (account_id, id)
|
|
);
|