Add User model

This commit is contained in:
Rob Cameron
2022-02-08 15:12:35 -08:00
parent 82cc078d74
commit 7a03d6f343
3 changed files with 24 additions and 0 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?
}