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:
2024-12-07 15:33:28 +07:00
parent 4af2e848b8
commit 429c6f9073
7 changed files with 16 additions and 114 deletions

View File

@@ -102,9 +102,6 @@ export class ServiceSchema extends PothosSchema {
workshop: t.relation('workshop', {
description: 'The workshop for the service.',
}),
milestone: t.relation('milestone', {
description: 'The milestone for the service.',
}),
serviceAndCategory: t.relation('serviceAndCategory', {
description: 'The service and category for the service.',
}),