refactor(prisma): rename content field to description in Problem model

This commit is contained in:
cfngc4594 2025-03-08 20:00:23 +08:00
parent bddbc03f3a
commit bf6b5567b7

View File

@ -31,7 +31,7 @@ enum Difficulty {
model Problem {
id Int @id @default(autoincrement())
title String
content String
description String
difficulty Difficulty @default(EASY)
published Boolean @default(false)
authorId Int