mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 07:16:34 +00:00
feat(prisma): add JudgeResult model to store execution results
This commit is contained in:
parent
c40403a78f
commit
a4f377037b
@ -109,6 +109,14 @@ enum ExitCode {
|
|||||||
WA // Wrong Answer
|
WA // Wrong Answer
|
||||||
}
|
}
|
||||||
|
|
||||||
|
model JudgeResult {
|
||||||
|
id String @id @default(cuid())
|
||||||
|
output String
|
||||||
|
exitCode ExitCode
|
||||||
|
executionTime Int?
|
||||||
|
memoryUsage Int?
|
||||||
|
}
|
||||||
|
|
||||||
model Account {
|
model Account {
|
||||||
userId String
|
userId String
|
||||||
type String
|
type String
|
||||||
|
Loading…
Reference in New Issue
Block a user