Chapter 4, Authentication complete.

This commit is contained in:
Colin Diem
2022-04-21 22:03:30 -04:00
parent 11919b6b5f
commit a8777abc2f
15 changed files with 812 additions and 49 deletions

View File

@@ -22,3 +22,13 @@ model Contact {
message String
createdAt DateTime @default(now())
}
model User {
id Int @id @default(autoincrement())
name String?
email String @unique
hashedPassword String
salt String
resetToken String?
resetTokenExpiresAt DateTime?
}