mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-05-18 15:26:36 +00:00
feat(prisma): allow nullable email/name and add password field in User model
This commit is contained in:
parent
60aef705d5
commit
eac20c8882
@ -16,8 +16,9 @@ enum Role {
|
||||
|
||||
model User {
|
||||
id String @id @default(cuid())
|
||||
name String
|
||||
email String @unique
|
||||
name String?
|
||||
email String? @unique
|
||||
password String?
|
||||
emailVerified DateTime?
|
||||
image String?
|
||||
accounts Account[]
|
||||
|
Loading…
Reference in New Issue
Block a user