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 {
|
model Problem {
|
||||||
id String @id @default(cuid())
|
id String @id @default(cuid())
|
||||||
|
displayId Int @unique
|
||||||
title String
|
title String
|
||||||
description String
|
description String
|
||||||
solution String
|
solution String
|
||||||
|
Loading…
Reference in New Issue
Block a user