fix: fixed all issues raised in initial PR review

This commit is contained in:
Balu Babu
2023-01-30 18:55:53 +05:30
parent a8d50223aa
commit 3afc89db6b
21 changed files with 6640 additions and 152 deletions

View File

@@ -85,7 +85,7 @@ model User {
photoURL String?
isAdmin Boolean @default(false)
refreshToken String?
accounts Account[]
providerAccounts Account[]
PasswordlessVerification PasswordlessVerification[]
settings UserSettings?
UserHistory UserHistory[]
@@ -109,7 +109,7 @@ model Account {
@@unique(fields: [provider, providerAccountId], name: "verifyProviderAccount")
}
model PasswordlessVerification {
model VerificationToken {
deviceIdentifier String
token String @unique @default(cuid())
userUid String