leaderboard and ranked systems
This commit is contained in:
@@ -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")
|
||||
);
|
||||
Reference in New Issue
Block a user