mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 07:16:34 +00:00
feat(prisma): add unique displayId field to Problem model
This commit is contained in:
parent
452174a946
commit
89ebfc0c3a
@ -39,6 +39,7 @@ enum Difficulty {
|
||||
|
||||
model Problem {
|
||||
id String @id @default(cuid())
|
||||
displayId Int @unique
|
||||
title String
|
||||
description String
|
||||
solution String
|
||||
@ -102,14 +103,14 @@ model Template {
|
||||
}
|
||||
|
||||
enum ExitCode {
|
||||
SE // System Error
|
||||
CS // Compilation Success
|
||||
CE // Compilation Error
|
||||
SE // System Error
|
||||
CS // Compilation Success
|
||||
CE // Compilation Error
|
||||
TLE // Time Limit Exceeded
|
||||
MLE // Memory Limit Exceeded
|
||||
RE // Runtime Error
|
||||
AC // Accepted
|
||||
WA // Wrong Answer
|
||||
RE // Runtime Error
|
||||
AC // Accepted
|
||||
WA // Wrong Answer
|
||||
}
|
||||
|
||||
model JudgeResult {
|
||||
|
Loading…
Reference in New Issue
Block a user