fix: properly type the relation field for OAuth (#370)
Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>
This commit is contained in:
parent
3ff215366a
commit
7cbf828f3b
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ model OAuth {
|
||||||
id Int @id @default(autoincrement())
|
id Int @id @default(autoincrement())
|
||||||
provider OauthProviders
|
provider OauthProviders
|
||||||
user User @relation(fields: [userId], references: [uuid], onDelete: Cascade)
|
user User @relation(fields: [userId], references: [uuid], onDelete: Cascade)
|
||||||
userId String
|
userId String @db.Uuid
|
||||||
username String
|
username String
|
||||||
oauthId String?
|
oauthId String?
|
||||||
token String
|
token String
|
||||||
|
|
Loading…
Add table
Reference in a new issue