aboutsummaryrefslogtreecommitdiffstats
path: root/backend/schema.prisma
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-09-03 21:16:16 -0700
committerPinapelz <yukais@pinapelz.com>2025-09-03 21:16:16 -0700
commitc8bae6ab79a32da0fe745ebb9401e14f86c1f0d8 (patch)
treec5647d3b8d575abaf6952d3d5a1294564c8b4dca /backend/schema.prisma
parentd0d4f579f53e4a9e19b825dd5a1bf84c7d9f89e4 (diff)
add admin role to user, return result in /me route
Diffstat (limited to 'backend/schema.prisma')
-rw-r--r--backend/schema.prisma1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/schema.prisma b/backend/schema.prisma
index f51093b..3dda29d 100644
--- a/backend/schema.prisma
+++ b/backend/schema.prisma
@@ -15,6 +15,7 @@ model User {
email String @unique
sessions Session[]
scores Score[]
+ isAdmin Boolean
}
model Session {
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage