leaderboard and ranked systems

This commit is contained in:
2026-07-11 11:13:28 -04:00
commit 02ac5f9593
44 changed files with 12318 additions and 0 deletions
@@ -0,0 +1,12 @@
-- CreateTable
CREATE TABLE "LeaderboardScore" (
"id" TEXT NOT NULL,
"playerName" TEXT NOT NULL,
"grade" "Grade" NOT NULL,
"score" INTEGER NOT NULL,
"totalQuestions" INTEGER NOT NULL,
"timeSeconds" INTEGER NOT NULL,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
CONSTRAINT "LeaderboardScore_pkey" PRIMARY KEY ("id")
);