fix: properly type the relation field for OAuth (#370)

Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>
This commit is contained in:
Jayvin Hernandez 2023-04-28 20:51:34 -07:00 committed by GitHub
parent 3ff215366a
commit 7cbf828f3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,7 +114,7 @@ model OAuth {
id Int @id @default(autoincrement())
provider OauthProviders
user User @relation(fields: [userId], references: [uuid], onDelete: Cascade)
userId String
userId String @db.Uuid
username String
oauthId String?
token String