mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 07:16:34 +00:00
fix(prisma): rename Submission relations to submissions for consistency
This commit is contained in:
parent
8809dbdb1a
commit
fd50e72518
@ -32,7 +32,7 @@ model User {
|
|||||||
|
|
||||||
role Role @default(GUEST)
|
role Role @default(GUEST)
|
||||||
problems Problem[]
|
problems Problem[]
|
||||||
Submission Submission[]
|
submissions Submission[]
|
||||||
|
|
||||||
createdAt DateTime @default(now())
|
createdAt DateTime @default(now())
|
||||||
updatedAt DateTime @updatedAt
|
updatedAt DateTime @updatedAt
|
||||||
@ -58,7 +58,7 @@ model Problem {
|
|||||||
memoryLimit Int @default(128)
|
memoryLimit Int @default(128)
|
||||||
templates Template[]
|
templates Template[]
|
||||||
testcases Testcase[]
|
testcases Testcase[]
|
||||||
Submission Submission[]
|
submissions Submission[]
|
||||||
|
|
||||||
@@index([userId])
|
@@index([userId])
|
||||||
@@index([difficulty])
|
@@index([difficulty])
|
||||||
|
Loading…
Reference in New Issue
Block a user