chore: remove Milestone module and update related schemas
- Deleted the MilestoneModule and its associated schema to streamline the codebase. - Updated QuizSchema to replace scheduleId with serviceId, enhancing the relationship structure. - Removed references to Milestone in ServiceSchema, improving clarity and focus on relevant entities. - Updated Prisma types to reflect the removal of Milestone, ensuring data integrity across the application.
This commit is contained in:
@@ -20,8 +20,8 @@ export class QuizSchema extends PothosSchema {
|
||||
return this.builder.prismaObject('Quiz', {
|
||||
fields: (t) => ({
|
||||
id: t.exposeID('id'),
|
||||
scheduleId: t.exposeID('scheduleId'),
|
||||
schedule: t.relation('schedule'),
|
||||
serviceId: t.exposeID('serviceId'),
|
||||
service: t.relation('service'),
|
||||
quizTitle: t.exposeString('quizTitle'),
|
||||
quizSynopsis: t.exposeString('quizSynopsis'),
|
||||
progressBarColor: t.exposeString('progressBarColor'),
|
||||
|
||||
Reference in New Issue
Block a user