diff --git a/prisma/migrations/20240712133129_hashed_password_nullable/migration.sql b/prisma/migrations/20240712133129_hashed_password_nullable/migration.sql new file mode 100644 index 0000000..f4ceaea --- /dev/null +++ b/prisma/migrations/20240712133129_hashed_password_nullable/migration.sql @@ -0,0 +1,2 @@ +-- AlterTable +ALTER TABLE `User` MODIFY `hashedPassword` VARCHAR(191) NULL; diff --git a/prisma/schema.prisma b/prisma/schema.prisma index d0c2d73..8bafc85 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -43,7 +43,7 @@ model User { userId Int @id @default(autoincrement()) loginId String @unique displayName String - hashedPassword String + hashedPassword String? isHost Boolean @default(false) firstGameAt DateTime? createdAt DateTime @default(now())