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

@@ -14,7 +14,6 @@ import { GraphQLModule } from '@nestjs/graphql'
import { GraphqlService } from './graphql.service'
import { ManagedServiceModule } from '../ManagedService/managedservice.module'
import { MessageModule } from '../Message/message.module'
import { MilestoneModule } from '../Milestone/milestone.module'
import { OrderModule } from '../Order/order.module'
import { PaymentModule } from '../Payment/payment.module'
import { PothosApolloDriver } from '@smatch-corp/nestjs-pothos-apollo-driver'
@@ -72,7 +71,6 @@ import { PubSubService } from '../PubSub/pubsub.service'
ServiceAndCategoryModule,
CategoryModule,
ServiceFeedbackModule,
MilestoneModule,
ScheduleModule,
MessageModule,
CollaborationSessionModule,