Some checks failed
Deploy to Production / test (push) Failing after 37s
Adds a React admin panel (panel/) with Discord OAuth2 login, live dashboard via WebSocket, and settings/management pages. Includes Docker build support, Vite proxy config for dev, game_settings migration, and open-redirect protection on auth callback. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
14 lines
454 B
SQL
14 lines
454 B
SQL
CREATE TABLE "game_settings" (
|
|
"id" text PRIMARY KEY DEFAULT 'default' NOT NULL,
|
|
"leveling" jsonb NOT NULL,
|
|
"economy" jsonb NOT NULL,
|
|
"inventory" jsonb NOT NULL,
|
|
"lootdrop" jsonb NOT NULL,
|
|
"trivia" jsonb NOT NULL,
|
|
"moderation" jsonb NOT NULL,
|
|
"commands" jsonb DEFAULT '{}'::jsonb,
|
|
"system" jsonb DEFAULT '{}'::jsonb,
|
|
"created_at" timestamp with time zone DEFAULT now() NOT NULL,
|
|
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
);
|