From 7cbf828f3b69897811fbb39638ad9fc462a2c449 Mon Sep 17 00:00:00 2001 From: Jayvin Hernandez Date: Fri, 28 Apr 2023 20:51:34 -0700 Subject: [PATCH] fix: properly type the relation field for OAuth (#370) Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com> --- prisma/schema.prisma | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 49789b5..91269bf 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -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