feat(api): add moderation schema challengesAwarded field (#62490)

This commit is contained in:
Shaun Hamilton
2025-10-09 06:05:44 +02:00
committed by GitHub
parent 7c20027732
commit 082bff570b
+5 -2
View File
@@ -234,10 +234,13 @@ model ExamEnvironmentExamModeration {
moderatorId String? @db.ObjectId
/// Date the exam attempt expired
submissionDate DateTime @default(now()) @db.Date
submissionDate DateTime @default(now()) @db.Date
/// Whether the `challengeId` for the `ExamEnvironmentChallenge` has been awarded to the user
challengesAwarded Boolean @default(false)
/// Version of the record
/// The default must be incremented by 1, if anything in the schema changes
version Int @default(2)
version Int @default(2)
// Relations
examAttempt ExamEnvironmentExamAttempt @relation(fields: [examAttemptId], references: [id], onDelete: Cascade)