4cc6456151
refactor(prisma): simplify schema and remove zod-prisma-types
...
- Reorganized Prisma schema structure with simplified models and relations
- Removed zod-prisma-types generator as it's no longer needed
- Consolidated problem content types into a single ProblemLocalization model
- Simplified testcase and template structures
- Removed unused prisma types file
2025-05-12 19:41:28 +08:00
15b3f630d5
refactor(prisma): simplify schema and remove zod-prisma-types
...
- Reorganized Prisma schema structure with simplified models and relations
- Removed zod-prisma-types generator as it's no longer needed
- Consolidated problem content types into a single ProblemLocalization model
- Simplified testcase and template structures
- Removed unused prisma types file
2025-05-12 18:32:46 +08:00
cfbbdbf821
feat(prisma/schema): add multilingual support for problem descriptions and solutions
...
BREAKING CHANGE:
- Removed `description` and `solution` fields from Problem model
- Added new models `ProblemDescription` and `ProblemSolution` with language support (EN/ZH)
- Updated seed data structure to support multilingual content
- Requires database migration and data migration from old structure
2025-05-07 21:04:46 +08:00
81f89f7b16
refactor(schema): rename TestcaseResult fields to camelCase
2025-04-14 11:33:19 +08:00
fd50e72518
fix(prisma): rename Submission relations to submissions for consistency
2025-04-13 11:13:18 +08:00
1c0612372b
feat(prisma): add TestcaseResult model and relations to Submission and Testcase
2025-04-11 15:53:56 +08:00
7dbf06b99f
feat(prisma): add user and problem relations to Submission model
2025-04-10 22:24:40 +08:00
feee3a2580
feat(prisma): move timeLimit and memoryLimit from DockerConfig to Problem model
2025-04-10 21:54:30 +08:00
11fac9b3d6
feat(prisma): add expectedOutput field to Testcase model
2025-04-10 10:16:05 +08:00
521a185d7c
feat(prisma): add Testcase and TestcaseData models with relation to Problem
2025-04-09 19:28:00 +08:00
042db54185
chore(prisma): add zod generator and update output paths in schema
2025-04-01 01:57:15 +08:00
89ebfc0c3a
feat(prisma): add unique displayId field to Problem model
2025-03-30 18:39:53 +08:00
190431ece6
chore(prisma): remove TEACHER and STUDENT roles
2025-03-21 11:11:24 +08:00
adc195d4bf
feat(schema): add LanguageServerProtocol enum and update protocol field type in LanguageServerConfig
2025-03-18 11:43:54 +08:00
a4f377037b
feat(prisma): add JudgeResult model to store execution results
2025-03-16 19:05:16 +08:00
2e7f9540fe
feat(prisma): add ExitCode enum for handling problem outcomes
2025-03-16 17:11:29 +08:00
aa34320295
feat(prisma): add DockerConfig model and update EditorLanguageConfig for Docker integration
2025-03-16 16:44:55 +08:00
eb7943ab7e
feat(prisma): refactor Prisma schema to remove circular relation and simplify EditorLanguageConfig and LanguageServerConfig models
2025-03-16 14:37:25 +08:00
1bfa119b52
feat(prisma): remove id field from EditorLanguageConfig model and set language as unique
2025-03-16 14:09:34 +08:00
ae97115d24
feat(prisma): add model to store language configurations
2025-03-16 13:46:09 +08:00
eac20c8882
feat(prisma): allow nullable email/name and add password field in User model
2025-03-14 00:17:29 +08:00
a3900d7c9c
feat(prisma): refactor schema to support authentication and relational data
2025-03-12 15:09:01 +08:00
c0f72a21dd
feat(prisma): add solution
field to Problem
model
2025-03-10 20:44:32 +08:00
3863d63dee
refactor(prisma): rename Template
field to templates
in Problem
model
2025-03-08 22:21:14 +08:00
4f6a37df17
fix(prisma): update enum values for EditorLanguage to lowercase ('c' and 'cpp')
2025-03-08 21:03:32 +08:00
8c159e2717
feat(prisma): add Template model and EditorLanguage enum to support problem templates and code language options
2025-03-08 20:42:01 +08:00
bf6b5567b7
refactor(prisma): rename content
field to description
in Problem model
2025-03-08 20:00:35 +08:00
3f34d9505b
feat(prisma): add schema with User and Problem models
2025-03-08 18:02:19 +08:00