diff --git a/prisma/schema.prisma b/prisma/schema.prisma
index 43c5e35..3d2df33 100644
--- a/prisma/schema.prisma
+++ b/prisma/schema.prisma
@@ -80,8 +80,6 @@ model Prize {
judgeAssignments JudgePrizeAssignment[]
judgingInstances JudgingInstance[]
judgments ProjectComparisonResult[]
- Project Project? @relation(fields: [projectId], references: [id])
- projectId String?
}
// Projects are compared against each other by judges
@@ -97,8 +95,7 @@ model Project {
teamName String
teamMembers User[]
- prizes Prize[]
- leadingPrizes JudgePrizeAssignment[]
+ prizes JudgePrizeAssignment[]
incomingJudges Judge[]
judgingInstances JudgingInstance[]
ignores IgnoreProjects[]
diff --git a/src/components/UserTable.tsx b/src/components/UserTable.tsx
index d98a322..5dcb3a2 100644
--- a/src/components/UserTable.tsx
+++ b/src/components/UserTable.tsx
@@ -40,11 +40,16 @@ export default function UserTable() {
}
if (users && users.length === 0) {
- return
{!user.isAdmin && ( |