diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-09-03 21:16:16 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-09-03 21:16:16 -0700 |
| commit | c8bae6ab79a32da0fe745ebb9401e14f86c1f0d8 (patch) | |
| tree | c5647d3b8d575abaf6952d3d5a1294564c8b4dca /backend/schema.prisma | |
| parent | d0d4f579f53e4a9e19b825dd5a1bf84c7d9f89e4 (diff) | |
add admin role to user, return result in /me route
Diffstat (limited to 'backend/schema.prisma')
| -rw-r--r-- | backend/schema.prisma | 1 |
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 { |
