Skip to content

Commit

Permalink
feat: hashedPassword is nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftpsh committed Jul 12, 2024
1 parent 5af00fc commit be39ffa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE `User` MODIFY `hashedPassword` VARCHAR(191) NULL;
2 changes: 1 addition & 1 deletion prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit be39ffa

Please sign in to comment.