Add guest profiles

This commit is contained in:
2023-03-23 15:15:11 +09:00
committed by Bluub
parent cf3c9b8c86
commit a0bf718e1d
8 changed files with 83 additions and 20 deletions
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "User" ADD COLUMN "isGuest" BOOLEAN NOT NULL DEFAULT false;
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "User" ADD COLUMN "partyPlayed" INTEGER NOT NULL DEFAULT 0;
+2
View File
@@ -14,6 +14,8 @@ model User {
username String @unique
password String
email String
isGuest Boolean @default(false)
partyPlayed Int @default(0)
LessonHistory LessonHistory[]
SongHistory SongHistory[]
searchHistory SearchHistory[]