From bfc5bfe973ae4bd61f584743ef6ce018ac7b6df3 Mon Sep 17 00:00:00 2001 From: ankitsridhar16 Date: Thu, 8 Dec 2022 20:26:22 +0530 Subject: [PATCH] chore: added user model in prisma schema --- packages/hoppscotch-backend/prisma/schema.prisma | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/hoppscotch-backend/prisma/schema.prisma b/packages/hoppscotch-backend/prisma/schema.prisma index fb9f2eb22..947d158a8 100644 --- a/packages/hoppscotch-backend/prisma/schema.prisma +++ b/packages/hoppscotch-backend/prisma/schema.prisma @@ -78,6 +78,13 @@ model TeamEnvironment { variables Json } +model User { + uid String @id @default(cuid()) + displayName String? + email String? + photoURL String? +} + enum TeamMemberRole { OWNER VIEWER